I have a simple application. The screen is build inside a RelativeLayout. I have more LinearLayout(s), one of them shows the 2 RadioButton(s), like this:
I solved this by setting the paddingLeft
of the RadioButton
to some value that made it look proper. I've only tested this on my Samsung device and not any other devices so I'm not sure what that will look like on your devices that "worked".
I was experiencing the same problem. I have solved this by NOT setting paddingLeft
on RadioButtons and CheckBoxes - leaving default value. paddingLeft
was counted from the drawable on all phones and from left corner on Galaxy S3. Also setting background
was causing the same bug on Galaxy S3. After leaving default values it's now usable everywhere.
This might be too late, but i had the same problem and it was solved by specifying a android:drawableRight
or android:drawableLeft
, instead of android:button
which is set by default
Testing on a Rugby Pro and a GS5, I found that if you want to set the background color, you have to do it in the java, rather than in the XML. If you do it in XML, Samsung devices have an issue and cause the overlap.