diff options
author | Svetoslav <svetoslavganov@google.com> | 2013-10-02 19:30:32 -0700 |
---|---|---|
committer | Svetoslav <svetoslavganov@google.com> | 2013-10-02 19:30:43 -0700 |
commit | 39e71de6b49d1cb67ce30b411cede8d4f40dc765 (patch) | |
tree | 9d760b1d7ead2ba0030b4501ce5c67049f7fb6d1 /packages/PrintSpooler/res | |
parent | 9907a109ced54cffc7b4f5e9e81365c78df1f1a9 (diff) | |
download | frameworks_base-39e71de6b49d1cb67ce30b411cede8d4f40dc765.zip frameworks_base-39e71de6b49d1cb67ce30b411cede8d4f40dc765.tar.gz frameworks_base-39e71de6b49d1cb67ce30b411cede8d4f40dc765.tar.bz2 |
Print UI tweaks as per UX request.
1. Limit the width of the dropdown of the printers list.
2. Add icons the the list in the all pritners activity.
3. Update the empty state view for the all printers activity.
bug:10983508
Change-Id: I19effcf32770fdda278009a060b5170a3f29988e
Diffstat (limited to 'packages/PrintSpooler/res')
-rw-r--r-- | packages/PrintSpooler/res/layout/select_printer_activity.xml | 15 | ||||
-rw-r--r-- | packages/PrintSpooler/res/values/strings.xml | 2 |
2 files changed, 11 insertions, 6 deletions
diff --git a/packages/PrintSpooler/res/layout/select_printer_activity.xml b/packages/PrintSpooler/res/layout/select_printer_activity.xml index e86e9aa..2792dcf 100644 --- a/packages/PrintSpooler/res/layout/select_printer_activity.xml +++ b/packages/PrintSpooler/res/layout/select_printer_activity.xml @@ -38,25 +38,30 @@ android:layout_gravity="center" android:gravity="center" android:orientation="vertical"> - + <ImageView - android:id="@+id/icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="12dip" android:src="@*android:drawable/ic_grayedout_printer" - android:contentDescription="@string/print_no_printers_found"> + android:contentDescription="@string/print_searching_for_printers"> </ImageView> <TextView - android:id="@+id/message" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textAppearance="?android:attr/textAppearanceLarge" android:textColor="?android:attr/textColorSecondary" - android:text="@string/print_no_printers_found"> + android:text="@string/print_searching_for_printers"> </TextView> + <ProgressBar + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:indeterminate="true" + style="@android:style/Widget.Holo.ProgressBar.Horizontal"> + </ProgressBar> + </LinearLayout> </FrameLayout> diff --git a/packages/PrintSpooler/res/values/strings.xml b/packages/PrintSpooler/res/values/strings.xml index 41775a1..5b947ba 100644 --- a/packages/PrintSpooler/res/values/strings.xml +++ b/packages/PrintSpooler/res/values/strings.xml @@ -84,7 +84,7 @@ <string name="choose_print_service">Choose print service</string> <!-- Title for the prompt shown as a placeholder if no printers are found while searching. [CHAR LIMIT=50] --> - <string name="print_no_printers_found">No printers found</string> + <string name="print_searching_for_printers">Searching for printers</string> <!-- Notifications --> |