Why is my Android RadioButton text truncated at the beginning?

I have a very strange layout problem ... basically the first button in this RadioGroup loses its first letter, as in this screenshot (it should say "Booked Off", not "ooked Off"):

mangled RadioButton text screenshot

The XML snippet is pretty simple (and I have nothing funny in the external style or anything else):

<LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent">
    <RadioGroup android:orientation="vertical"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content">
        <RadioButton android:id="@+shift_edit/bookoff"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="Booked Off" />
        <RadioButton android:id="@+shift_edit/ado"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="ADO" />
        <RadioButton android:id="@+shift_edit/working"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="Working" />
    </RadioGroup>
</LinearLayout>

Does anyone know a problem here and can offer a solution? I use 1.6 if that matters because the device I'm aiming for has only 1.6 ROMs.

+3
source share
2 answers

, (Android 1.6) , , . . , user432209, , , . , , ; , . , , .

+3

. 2.1, 2.2 2.3 11 .

/ . , , .. ..

+2

Source: https://habr.com/ru/post/1791864/


All Articles