Problem with Checkbox text on Sony Xperia device
<p>I am displaying a Checkbox on a layout xml.</p>

<p>The Checkbox text contain around 10 characters. </p>

<p>The problem is specific to Sony Xperia where the the Checkbox text is coming to the second line , specifically last 2 characters of the text on the second line.</p>

<pre><code>&lt;CheckBox android:id="@+id/roundCheck" android:paddingLeft="25dip"
            android:button="@drawable/ic_uncheck_rect" android:layout_height="wrap_content"
            android:layout_width="wrap_content" 
            android:layout_marginLeft="20dip" android:text="abcdefghij"
            android:textSize="16sp"
            android:textColor="@color/white" android:typeface="serif"
            android:singleLine="true" android:checked="false"
            android:layout_centerVertical="true"&gt;&lt;/CheckBox&gt;
</code></pre>

<p>I have tested the mobile application on HTC Hero , Google Nexus One , Motorola Droid ,etc , but its working fine without any problem.</p>

<p>The problem is not getting reflected on the Sony Xperia emulator too.</p>

<p>Is adding the code, <strong>android:singleLine="true"</strong> , solve the issue , if it means that after a certain no of characters "..." will be added but the text will be in a single line ?</p>

<p>I don't have a mobile device to currently test.</p>

<p>Thanks in advance.</p>

<p>Warm Regards,</p>

<p>CB</p>
