diff options
author | Chris Wren <cwren@android.com> | 2012-10-12 15:32:46 -0400 |
---|---|---|
committer | Chris Wren <cwren@android.com> | 2012-10-15 17:11:12 -0400 |
commit | 5006d4093ad1455ee98c157a71f57e9ea42b4dae (patch) | |
tree | 35da5d8ccdaefc11f8070e03d9c67ee6e7351e16 /res/layout | |
parent | e8f4d55d6895e1f2bc298ef8978e1aef43ff57c5 (diff) | |
download | android_packages_screensavers_PhotoTable-5006d4093ad1455ee98c157a71f57e9ea42b4dae.tar.gz android_packages_screensavers_PhotoTable-5006d4093ad1455ee98c157a71f57e9ea42b4dae.tar.bz2 android_packages_screensavers_PhotoTable-5006d4093ad1455ee98c157a71f57e9ea42b4dae.zip |
Better handling for network lag and large images.
Bug: 7339488
Change-Id: I3a26b30f766fc240e73e19c14a5ee14288bd4fb1
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/carousel.xml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/res/layout/carousel.xml b/res/layout/carousel.xml index 99ed269..fddc78d 100644 --- a/res/layout/carousel.xml +++ b/res/layout/carousel.xml @@ -18,17 +18,26 @@ android:id="@+id/carousel" android:layout_width="match_parent" android:layout_height="match_parent" > - <ImageView xmlns:android="http://schemas.android.com/apk/res/android" + <ImageView android:id="@+id/front" android:layout_width="match_parent" android:layout_height="match_parent" android:scaleType="centerInside" /> - <ImageView xmlns:android="http://schemas.android.com/apk/res/android" + <ImageView android:id="@+id/back" android:layout_width="match_parent" android:layout_height="match_parent" android:scaleType="centerInside" android:alpha="0" /> + <ProgressBar + android:id="@+id/spinner" + style="?android:attr/progressBarStyle" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginRight="40dp" + android:layout_marginBottom="40dp" + android:layout_gravity="bottom|right" + /> </com.android.dreams.phototable.PhotoCarousel> |