What means .0 dp in android?
-
03-07-2021 - |
Pregunta
For example textview with size 33.0 dp in xml. It means double number or it has other features?
Solución
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.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow