summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2012-10-25 10:08:37 -0700
committerJohn Reck <jreck@google.com>2012-10-25 17:42:21 -0700
commit16cdb44a82a22ac2a28bc06b4b09dbf9c80bd14e (patch)
treec55aeae1f6586e3b98084d6ae887cf9bc8b59e71 /res
parentb62e40f77f7c2acf5ada4013a5556f9c7c4c0518 (diff)
downloadandroid_packages_apps_Snap-16cdb44a82a22ac2a28bc06b4b09dbf9c80bd14e.tar.gz
android_packages_apps_Snap-16cdb44a82a22ac2a28bc06b4b09dbf9c80bd14e.tar.bz2
android_packages_apps_Snap-16cdb44a82a22ac2a28bc06b4b09dbf9c80bd14e.zip
Add loading spinner
Bug: 7408575 Change-Id: Ia737b36abb88d75381f41c25474e3cc03448dbb9
Diffstat (limited to 'res')
-rw-r--r--res/layout/filtershow_activity.xml13
1 files changed, 11 insertions, 2 deletions
diff --git a/res/layout/filtershow_activity.xml b/res/layout/filtershow_activity.xml
index 00f0b8f10..1d0ddf3cd 100644
--- a/res/layout/filtershow_activity.xml
+++ b/res/layout/filtershow_activity.xml
@@ -141,11 +141,21 @@
android:visibility="gone" />
</com.android.gallery3d.filtershow.CenteredLinearLayout>
+
+ <ProgressBar
+ android:id="@+id/loading"
+ style="@android:style/Widget.Holo.ProgressBar.Large"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:indeterminate="true"
+ android:indeterminateOnly="true" />
+
</FrameLayout>
<com.android.gallery3d.filtershow.CenteredLinearLayout
xmlns:custom="http://schemas.android.com/apk/res/com.android.gallery3d"
- android:id="@+id/mainPanel"
+ android:id="@+id/filtersPanel"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
@@ -380,7 +390,6 @@
<com.android.gallery3d.filtershow.CenteredLinearLayout
xmlns:custom="http://schemas.android.com/apk/res/com.android.gallery3d"
- android:id="@+id/mainPanel"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"