summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorChris Wren <cwren@android.com>2012-10-05 11:31:18 -0400
committerChris Wren <cwren@android.com>2012-10-05 17:35:47 -0400
commit146ce64b748e2393e80174240624c2e9f2b61c41 (patch)
treee58614f5548035885152f8a57c8a709852f2e3df /res
parent012590f122eb38b4a50b4f9735d1a009d4053c14 (diff)
downloadandroid_packages_screensavers_PhotoTable-146ce64b748e2393e80174240624c2e9f2b61c41.tar.gz
android_packages_screensavers_PhotoTable-146ce64b748e2393e80174240624c2e9f2b61c41.tar.bz2
android_packages_screensavers_PhotoTable-146ce64b748e2393e80174240624c2e9f2b61c41.zip
handle some edge cases: many albums, deleted albums, and slow network.
Bug: 7258024 Change-Id: If9ab2ecf6bc12881854df83a637dc1fdb685552c
Diffstat (limited to 'res')
-rw-r--r--res/layout/settingslist.xml24
1 files changed, 17 insertions, 7 deletions
diff --git a/res/layout/settingslist.xml b/res/layout/settingslist.xml
index 2d82b99..114a789 100644
--- a/res/layout/settingslist.xml
+++ b/res/layout/settingslist.xml
@@ -13,10 +13,20 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
- <ListView xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@android:id/list"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:paddingLeft="16dp"
- android:paddingRight="16dp"
- />
+ <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <ListView android:id="@android:id/list"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingLeft="16dp"
+ android:paddingRight="16dp"
+ />
+
+ <ProgressBar android:id="@android:id/empty"
+ style="?android:attr/progressBarStyleLarge"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ />
+
+</FrameLayout>