Fix bug 2513041
Set layout_height to match_parent
Change-Id: I390f10bf48e08f1e999e766438e50f36f4c73b99
diff --git a/res/layout/compute_sizes.xml b/res/layout/compute_sizes.xml
index 88dbfd1..4ba5b3e 100755
--- a/res/layout/compute_sizes.xml
+++ b/res/layout/compute_sizes.xml
@@ -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" />