diff options
author | Daisuke Miyakawa <> | 2009-04-01 19:14:59 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-04-01 19:14:59 -0700 |
commit | 196677cf8caf9830760c4ea1e2d3afc42b09cf36 (patch) | |
tree | 012e1884bbda9f30e147318879f9f49203616f79 /core/res | |
parent | de810e407c98808194c04dd16a9cabdd7cec02d1 (diff) | |
download | frameworks_base-196677cf8caf9830760c4ea1e2d3afc42b09cf36.zip frameworks_base-196677cf8caf9830760c4ea1e2d3afc42b09cf36.tar.gz frameworks_base-196677cf8caf9830760c4ea1e2d3afc42b09cf36.tar.bz2 |
AI 144181: Modify ProgressDialog class and its xml so that it follows the
Android's UI guide line. This modification is based on leland's mock.
See http://b/issue?id=1748136 for more information.
Put ProgressNumber left side, next to ProgressPercentage.
Make ProgressPercentage Bold.
Put ProgressNumber and ProgressPercentage near to the ProgressBar
above. This is same as the design of Market application.
Enable ProgressDialog change the ProgressNumber format. This is hidden
since the interface is premature.
BUG=1748136,1612476
Automated import of CL 144181
Diffstat (limited to 'core/res')
-rw-r--r-- | core/res/res/layout/alert_dialog_progress.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/res/res/layout/alert_dialog_progress.xml b/core/res/res/layout/alert_dialog_progress.xml index 9279eff..d2bb691 100644 --- a/core/res/res/layout/alert_dialog_progress.xml +++ b/core/res/res/layout/alert_dialog_progress.xml @@ -21,7 +21,7 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="12dip" - android:layout_marginBottom="12dip" + android:layout_marginBottom="1dip" android:layout_marginLeft="10dip" android:layout_marginRight="10dip" android:layout_centerHorizontal="true" /> @@ -30,7 +30,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingBottom="12dip" - android:layout_marginLeft="15dip" + android:layout_marginLeft="10dip" android:layout_marginRight="10dip" android:layout_alignParentLeft="true" android:layout_below="@id/progress" @@ -40,9 +40,9 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingBottom="12dip" - android:layout_marginLeft="10dip" + android:layout_marginLeft="50dip" android:layout_marginRight="15dip" - android:layout_alignParentRight="true" + android:layout_alignParentLeft="true" android:layout_below="@id/progress" /> </RelativeLayout> |