Fix layout width for list children

This commit is contained in:
Mathieu Maret 2012-10-02 13:29:03 +02:00
parent be02add3be
commit 6100d8a757
4 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:orientation="vertical">
<ListView android:id="@+id/android:list" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:choiceMode="singleChoice" />
android:layout_height="wrap_content" android:choiceMode="singleChoice" android:fillViewport="true" />
<TextView android:id="@+id/android:empty"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:text="@string/nodelivery" />

View File

@ -5,7 +5,7 @@
<ListView android:id="@+id/android:list"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:choiceMode="singleChoice" />
android:choiceMode="singleChoice" android:fillViewport="true" />
<TextView android:id="@+id/android:empty"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:text="@string/nodelivery" />

View File

@ -3,7 +3,7 @@
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:orientation="vertical">
<ListView android:id="@+id/android:list" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:choiceMode="multipleChoice" />
android:layout_height="wrap_content" android:choiceMode="multipleChoice" android:fillViewport="true" />
<TextView android:id="@+id/android:empty"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:text="@string/nogroups" />

View File

@ -3,8 +3,8 @@
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:orientation="vertical">
<Button android:text="@string/ok" android:id="@+id/okContacts" android:layout_width="fill_parent" android:layout_height="wrap_content"></Button>
<ListView android:id="@+id/android:list" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:choiceMode="multipleChoice" />
<ListView android:id="@+id/android:list" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:choiceMode="multipleChoice" android:fillViewport="true" />
<TextView android:id="@+id/android:empty"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:text="@string/nocontacts" />