1

I have a group layout with an EditText and a RadioButton.

enter image description here

<EditText
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:id="@+id/editText"
    android:layout_weight="1"
    android:focusable="true"
    android:layout_marginLeft="50dp"/>

<RadioButton
    android:layout_width="60dp"
    android:layout_height="wrap_content"
    android:id="@+id/radioButton"
    android:checked="false"
    android:layout_weight="1"
    android:focusable="false"/>

My List has the attribute android:descendantFocusability="beforeDescendants"

The problem is, I can either let the EditText have focus or the list item itself which inflates the group, but not both together.

I´ve tried to add android:windowSoftInputMode="adjustPan" to the manifest without having any effect.

My Child Views are all fine, all EditText´s are working and so on.

Can you please help me?

Marian Klühspies
  • 15,824
  • 16
  • 93
  • 136

0 Answers0