Fix bug 2513041

Set layout_height to match_parent

Change-Id: I390f10bf48e08f1e999e766438e50f36f4c73b99
This commit is contained in:
Adam Powell
2010-03-16 15:16:19 -07:00
parent a2b7927e0c
commit 9077c6dc69

View File

@@ -14,23 +14,9 @@
limitations under the License.
-->
<LinearLayout
<ListView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/list"
android:drawSelectorOnTop="false"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ListView
android:id="@android:id/list"
android:drawSelectorOnTop="false"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<TextView android:id="@android:id/empty"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="20dip"
android:paddingTop="5dip"
android:text="@string/empty_list_msg"
android:gravity="center"
android:textAppearance="?android:attr/textAppearanceMedium" />
</LinearLayout>
android:layout_height="match_parent" />