diff options
author | Mihai Preda <preda@google.com> | 2009-04-28 14:24:47 +0200 |
---|---|---|
committer | Mihai Preda <preda@google.com> | 2009-04-29 11:06:20 +0200 |
commit | 83817df9b28943c0587388ea30b440f4b0744313 (patch) | |
tree | 5217ac9e23d2addc775ed040bd5f97051e2651bd /res | |
parent | 33424c9f544f0993c801e65c7cc88781cb5de562 (diff) | |
download | packages_apps_Browser-83817df9b28943c0587388ea30b440f4b0744313.zip packages_apps_Browser-83817df9b28943c0587388ea30b440f4b0744313.tar.gz packages_apps_Browser-83817df9b28943c0587388ea30b440f4b0744313.tar.bz2 |
Use ViewStub for setEmptyView (bug 1803058)
and use <merge> instead of FrameLayout
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/browser_downloads_page.xml | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/res/layout/browser_downloads_page.xml b/res/layout/browser_downloads_page.xml index c83a727..1d4d4e6 100644 --- a/res/layout/browser_downloads_page.xml +++ b/res/layout/browser_downloads_page.xml @@ -18,8 +18,14 @@ ** limitations under the License. */ --> - -<ListView xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/list" - android:layout_width="fill_parent" - android:layout_height="fill_parent"/> +<merge xmlns:android="http://schemas.android.com/apk/res/android"> + <ListView + android:id="@+id/list" + android:layout_width="fill_parent" + android:layout_height="fill_parent"/> + <ViewStub + android:id="@+id/empty" + android:layout="@layout/no_downloads" + android:layout_width="fill_parent" + android:layout_height="fill_parent"/> +</merge> |