CheckBox button property strange result for 2.3.3 android
android, android-checkbox
Solution
Try Toggle Button instead.
<ToggleButton
android:id="@+id/toggleButton1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:background="@drawable/your_selector_xml"
android:textOn=""
android:textOff="" />
Problem
Question: Why there is extra space in 2.3.3? This is a strange behaviour that is why i thought i should ask. I got a checkbox in my xml and i have a background to set on it. so i put the background in its button property. like `android:button="@drawable/back_checkbox"` where back_checkbox is just a selector having checked/unchecked state Now in 2.3.3: And in 4.2: