summaryrefslogtreecommitdiffstats
path: root/packages/PrintSpooler/res/layout/print_activity_controls.xml
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2015-02-02 19:47:04 -0800
committerSvetoslav Ganov <svetoslavganov@google.com>2015-02-04 05:48:48 +0000
commit948c9a6393e0995a4d988d5d164998aa0e12b25d (patch)
tree8ff11da699702a25b697074c2ce7e181cb2593b6 /packages/PrintSpooler/res/layout/print_activity_controls.xml
parentd7596cff0b61a58e089f76bee3c626486bcbaec7 (diff)
downloadframeworks_base-948c9a6393e0995a4d988d5d164998aa0e12b25d.zip
frameworks_base-948c9a6393e0995a4d988d5d164998aa0e12b25d.tar.gz
frameworks_base-948c9a6393e0995a4d988d5d164998aa0e12b25d.tar.bz2
Add duplex mode support.
This change adds support for duplex printing. The print UI now has a duplex option which allows the user to choose one of the supported duplex options by the currently selected printer. The chosen duplex mode is propaged to the print service that manages this printer. Change-Id: I807ba9da2723531535c0e1e33f2f4e1b503a54b0
Diffstat (limited to 'packages/PrintSpooler/res/layout/print_activity_controls.xml')
-rw-r--r--packages/PrintSpooler/res/layout/print_activity_controls.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/PrintSpooler/res/layout/print_activity_controls.xml b/packages/PrintSpooler/res/layout/print_activity_controls.xml
index 0bf64aa..a87afe0 100644
--- a/packages/PrintSpooler/res/layout/print_activity_controls.xml
+++ b/packages/PrintSpooler/res/layout/print_activity_controls.xml
@@ -159,6 +159,34 @@
android:layout_marginEnd="16dip"
android:orientation="vertical">
+ <!-- Duplex -->
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="8dip"
+ android:layout_marginStart="12dip"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:labelFor="@+id/duplex_spinner"
+ android:text="@string/label_duplex">
+ </TextView>
+
+ <Spinner
+ android:id="@+id/duplex_spinner"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="4dip">
+ </Spinner>
+
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="16dip"
+ android:layout_marginEnd="16dip"
+ android:orientation="vertical">
+
<!-- Range options -->
<TextView