Question

For example textview with size 33.0 dp in xml. It means double number or it has other features?

Was it helpful?

Solution

I assume you're referring to either layout_width or layout_height; in this case these numbers are always floating point. The ".0" on the end has no particular significance.

See http://developer.android.com/reference/android/R.attr.html#layout_width for more information.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top