Correct some layout for list

This commit is contained in:
Mathieu Maret 2010-01-05 10:42:40 +01:00
parent d7231e2609
commit b03884c987
2 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_width="fill_parent" android:layout_height="wrap_content"
android:orientation="vertical"> android:orientation="vertical">
<ListView android:id="@+id/android:list" android:layout_width="wrap_content" <ListView android:id="@+id/android:list" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:choiceMode="multipleChoice" /> android:layout_height="wrap_content" android:choiceMode="multipleChoice" />
<TextView android:id="@+id/android:empty" <TextView android:id="@+id/android:empty"
android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_width="fill_parent" android:layout_height="wrap_content"
android:text="@string/nogroups" /> android:text="@string/nogroups" />

View File

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_width="fill_parent" android:layout_height="wrap_content"
android:orientation="vertical"> android:orientation="vertical">
<Button android:text="@string/ok" android:id="@+id/okContacts" android:layout_width="fill_parent" android:layout_height="wrap_content"></Button> <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" <ListView android:id="@+id/android:list" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:choiceMode="multipleChoice" /> android:layout_height="wrap_content" android:choiceMode="multipleChoice" />
<TextView android:id="@+id/android:empty" <TextView android:id="@+id/android:empty"
android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_width="fill_parent" android:layout_height="wrap_content"
android:text="@string/nocontacts" /> android:text="@string/nocontacts" />