summaryrefslogtreecommitdiffstats
path: root/packages/PrintSpooler/res/layout
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2013-10-07 22:17:30 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2013-10-08 09:08:19 -0700
commit69b91e0ecb8cef95c030f5076779e07d363a45f2 (patch)
tree230c7df684d84a8f5679c3bb8b662017df48ec38 /packages/PrintSpooler/res/layout
parentbe5ba9a255e258e03925bb651e5563625ddf6d59 (diff)
downloadframeworks_base-69b91e0ecb8cef95c030f5076779e07d363a45f2.zip
frameworks_base-69b91e0ecb8cef95c030f5076779e07d363a45f2.tar.gz
frameworks_base-69b91e0ecb8cef95c030f5076779e07d363a45f2.tar.bz2
Show unavailable printers disabled and grayed out.
1. If a printer is not available it has to disabled and grayed out. 2. Cancle a print job if the app does not provide the requested pages. 3. Fix current printer selection flicker when the print dialog is showing up. Often the current printer is initially set to the user's favorite and then it is changed back to the PDF one. bug:10983508 Change-Id: I8d53eb992cf1c92675ec09f61b2ec272b962fa68
Diffstat (limited to 'packages/PrintSpooler/res/layout')
-rw-r--r--packages/PrintSpooler/res/layout/printer_dropdown_item.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/PrintSpooler/res/layout/printer_dropdown_item.xml b/packages/PrintSpooler/res/layout/printer_dropdown_item.xml
index 6439b49..2749aa6 100644
--- a/packages/PrintSpooler/res/layout/printer_dropdown_item.xml
+++ b/packages/PrintSpooler/res/layout/printer_dropdown_item.xml
@@ -37,7 +37,8 @@
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:orientation="vertical">
+ android:orientation="vertical"
+ android:duplicateParentState="true">
<TextView
android:id="@+id/title"