summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorMihai Preda <preda@google.com>2009-04-28 14:24:47 +0200
committerMihai Preda <preda@google.com>2009-04-29 11:06:20 +0200
commit83817df9b28943c0587388ea30b440f4b0744313 (patch)
tree5217ac9e23d2addc775ed040bd5f97051e2651bd /res
parent33424c9f544f0993c801e65c7cc88781cb5de562 (diff)
downloadpackages_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.xml16
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>