summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-05-07 00:09:20 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-05-07 00:09:20 -0700
commitd4134ea4af9389f80b82c1dec14e31ac7f78f8ad (patch)
tree6c9d33d630dbe3c259195282f16a8c33c6f7553d /res
parentb7cc6cf54085a84e494962094b9df6d8e4917943 (diff)
parent83817df9b28943c0587388ea30b440f4b0744313 (diff)
downloadpackages_apps_Browser-d4134ea4af9389f80b82c1dec14e31ac7f78f8ad.zip
packages_apps_Browser-d4134ea4af9389f80b82c1dec14e31ac7f78f8ad.tar.gz
packages_apps_Browser-d4134ea4af9389f80b82c1dec14e31ac7f78f8ad.tar.bz2
Merge change 646
* changes: Use ViewStub for setEmptyView (bug 1803058)
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>