diff options
author | Svetoslav Ganov <svetoslavganov@google.com> | 2013-10-05 12:58:17 -0700 |
---|---|---|
committer | Svetoslav Ganov <svetoslavganov@google.com> | 2013-10-05 12:58:22 -0700 |
commit | 264c566a7f7d829de48131ac6d811b3db6f520bc (patch) | |
tree | a08dff28fc4fd0add1e53942557c713b374f4c37 /packages/PrintSpooler/res | |
parent | 0ea7d1e869ad618a7c8c2bbbb7f96729e7d84ed3 (diff) | |
download | frameworks_base-264c566a7f7d829de48131ac6d811b3db6f520bc.zip frameworks_base-264c566a7f7d829de48131ac6d811b3db6f520bc.tar.gz frameworks_base-264c566a7f7d829de48131ac6d811b3db6f520bc.tar.bz2 |
Update the empty state for the "all printers activity"
The empty state is now showing searching for printers hint if
the user is not searching, otherwise the empty state's hint is
a searching for printers message.
bug:10983508
Change-Id: I3df79c167546998c8055d9ff85efa8b460a15e48
Diffstat (limited to 'packages/PrintSpooler/res')
-rw-r--r-- | packages/PrintSpooler/res/layout/select_printer_activity.xml | 2 | ||||
-rw-r--r-- | packages/PrintSpooler/res/values/strings.xml | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/packages/PrintSpooler/res/layout/select_printer_activity.xml b/packages/PrintSpooler/res/layout/select_printer_activity.xml index 2792dcf..6fc77df 100644 --- a/packages/PrintSpooler/res/layout/select_printer_activity.xml +++ b/packages/PrintSpooler/res/layout/select_printer_activity.xml @@ -48,6 +48,7 @@ </ImageView> <TextView + android:id="@+id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textAppearance="?android:attr/textAppearanceLarge" @@ -56,6 +57,7 @@ </TextView> <ProgressBar + android:id="@+id/progress_bar" android:layout_width="fill_parent" android:layout_height="wrap_content" android:indeterminate="true" diff --git a/packages/PrintSpooler/res/values/strings.xml b/packages/PrintSpooler/res/values/strings.xml index 3a888a8..7e1708e 100644 --- a/packages/PrintSpooler/res/values/strings.xml +++ b/packages/PrintSpooler/res/values/strings.xml @@ -83,9 +83,12 @@ <!-- Title for the alert dialog for selecting a print service. [CHAR LIMIT=50] --> <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] --> + <!-- Title for the prompt shown as a placeholder if no printers are found while not searching. [CHAR LIMIT=50] --> <string name="print_searching_for_printers">Searching for printers</string> + <!-- Title for the prompt shown as a placeholder if there are no printers while searching. [CHAR LIMIT=50] --> + <string name="print_no_printers">No printers found</string> + <!-- Notifications --> <!-- Template for the notificaiton label for a printing print job. [CHAR LIMIT=25] --> |