jeudi 26 mars 2015

Android Checkbox text merge into checkbox

I am using checkbox in my app, in some devices like Redmi 1S,micromax Yureka, sony xperia L etc it works fine but for micromax Canvas 4 and other small screen size mobiles of samsung the checkbox text enters or merge into the checkbox. Is their any solution...



<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1.0"

android:orientation="vertical" >

<requestFocus />

<requestFocus />

<CheckBox
android:id="@+id/checkBox1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0.46"
android:button="@drawable/selecter"
android:layout_marginLeft="20dp"
android:textSize="@dimen/question_size"

android:paddingLeft="10dp"
android:textColor="#fff"
android:textStyle="bold"
android:layout_alignParentRight="true"

/>
<CheckBox
android:id="@+id/checkBox2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0.46"
android:textSize="@dimen/question_size"

android:layout_marginLeft="20dp"
android:paddingLeft="10dp"
android:layout_alignParentRight="true"
android:button="@drawable/selecter"
android:textColor="#fff"
android:textStyle="bold"
/>
<CheckBox
android:id="@+id/checkBox3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0.46"
android:textSize="@dimen/question_size"
android:layout_marginLeft="20dp"
android:button="@drawable/selecter"
android:textColor="#fff"
android:paddingLeft="10dp"
android:textStyle="bold"
/>
<CheckBox
android:id="@+id/checkBox4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0.46"
android:textSize="@dimen/question_size"
android:layout_marginLeft="20dp"
android:button="@drawable/selecter"
android:textColor="#fff"
android:paddingLeft="10dp"
android:textStyle="bold"
/>
</LinearLayout>


Micromax Canvas 4 enter image description here





Aucun commentaire:

Enregistrer un commentaire