summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMihai Preda <preda@google.com>2009-05-18 15:05:01 +0200
committerMihai Preda <preda@google.com>2009-05-19 15:23:54 +0200
commitaacf80261c54befde21e710ec9e1c2898bdf1ae4 (patch)
tree7c77f112d1dcbe6073f0f24d71a1900818b64382 /core
parentc3320dbe1c7acf040a3ec895129d8aae09c570ea (diff)
downloadframeworks_base-aacf80261c54befde21e710ec9e1c2898bdf1ae4.zip
frameworks_base-aacf80261c54befde21e710ec9e1c2898bdf1ae4.tar.gz
frameworks_base-aacf80261c54befde21e710ec9e1c2898bdf1ae4.tar.bz2
Center the progress message for GoogleWebContentHelper (bug #1548858).
Diffstat (limited to 'core')
-rw-r--r--core/res/res/layout/google_web_content_helper_layout.xml26
1 files changed, 22 insertions, 4 deletions
diff --git a/core/res/res/layout/google_web_content_helper_layout.xml b/core/res/res/layout/google_web_content_helper_layout.xml
index 40f84bf..546c458 100644
--- a/core/res/res/layout/google_web_content_helper_layout.xml
+++ b/core/res/res/layout/google_web_content_helper_layout.xml
@@ -18,10 +18,28 @@
android:foregroundGravity="center"
android:measureAllChildren="false">
- <!-- Include the indeterminate progress dialog's layout. -->
- <include
- android:id="@+id/progressContainer"
- layout="@android:layout/progress_dialog" />
+ <LinearLayout android:id="@+id/progressContainer"
+ android:orientation="horizontal"
+ android:layout_gravity="center"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:baselineAligned="false"
+ android:paddingLeft="8dip"
+ android:paddingTop="10dip"
+ android:paddingRight="8dip"
+ android:paddingBottom="10dip">
+
+ <ProgressBar android:id="@android:id/progress"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:max="10000"
+ android:layout_marginRight="12dip" />
+
+ <TextView android:id="@+id/message"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical" />
+ </LinearLayout>
<WebView
android:id="@+id/web"