I published the application on google play, and I encountered an error that only occurs on Samsung Galaxy Tab 2 10.1 with Android 4.1. (you can imagine that I do not have this device)
I have an error report
java.lang.RuntimeException: Unable to start activity ComponentInfo{xxx}: android.view.InflateException: Binary XML file line
...
Caused by: java.lang.NumberFormatException: Invalid int: "5.0dip"
at java.lang.Integer.invalidInt(Integer.java:138)
You can imagine that it’s difficult to debug when we don’t have a device, but I think I found the same problem .
In most cases, I use paddingStart and paddingEnd:
android:paddingLeft="5dp"
android:paddingRight="5dp"
android:paddingStart="5dp"
android:paddingEnd="5dp"
Each time paddingleft = paddingstart (and paddingRight = paddingEnd), and most of the time 4 attributes have the same value.
Does anyone know the behavior if I
- remove all paddingStart and paddingEnd
- activate RTL support
paddingLeft paddingRight? , . , LTR?
? Samsung Galaxy tab 2 10.1 Android 4.1. - , , .