summaryrefslogtreecommitdiffstats
path: root/packages/PrintSpooler/res/layout
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2013-08-14 17:31:04 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2013-08-19 13:24:11 -0700
commit269403b032f965ff3847eb982c2f697229dc5a92 (patch)
tree96ef6d8d99f7cbd56d78c63bf5e4da78a42831c1 /packages/PrintSpooler/res/layout
parentb93489270d41bbaf513f0018164ab8b6d6ca9519 (diff)
downloadframeworks_base-269403b032f965ff3847eb982c2f697229dc5a92.zip
frameworks_base-269403b032f965ff3847eb982c2f697229dc5a92.tar.gz
frameworks_base-269403b032f965ff3847eb982c2f697229dc5a92.tar.bz2
Implemented advanced printer selection and API refactoring.
1. Added past printer history tracking and merging favorite printers with discovered printers. 2. Added save as PDF support. 3. Added all printers activity with search capability and optional add printers chooser (if any print service provides add printers activity) 4. Refactored the printer discovery session APIs. Now one session can have multiple window discovery windows and the session stores the printers found during past discovery periods. 5. Merged the print spooler and the print spooler service - much simpler and easier to maintain. Change-Id: I4830b0eb6367e1c748b768a5ea9ea11baf36cfad
Diffstat (limited to 'packages/PrintSpooler/res/layout')
-rw-r--r--packages/PrintSpooler/res/layout/print_job_config_activity_container.xml5
-rw-r--r--packages/PrintSpooler/res/layout/select_printer_activity.xml (renamed from packages/PrintSpooler/res/layout/choose_printer_activity.xml)18
-rw-r--r--packages/PrintSpooler/res/layout/spinner_dropdown_item.xml2
3 files changed, 13 insertions, 12 deletions
diff --git a/packages/PrintSpooler/res/layout/print_job_config_activity_container.xml b/packages/PrintSpooler/res/layout/print_job_config_activity_container.xml
index a0c111b..7817094 100644
--- a/packages/PrintSpooler/res/layout/print_job_config_activity_container.xml
+++ b/packages/PrintSpooler/res/layout/print_job_config_activity_container.xml
@@ -20,9 +20,4 @@
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="@color/container_background">
-
- <include
- layout="@layout/print_job_config_activity_content_editing">
- </include>
-
</FrameLayout>
diff --git a/packages/PrintSpooler/res/layout/choose_printer_activity.xml b/packages/PrintSpooler/res/layout/select_printer_activity.xml
index c34a108..f4e1853 100644
--- a/packages/PrintSpooler/res/layout/choose_printer_activity.xml
+++ b/packages/PrintSpooler/res/layout/select_printer_activity.xml
@@ -5,7 +5,7 @@
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+ http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
@@ -14,10 +14,16 @@
limitations under the License.
-->
-<ListView xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/list_view"
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:orientation="vertical">
-</ListView>
+ android:layout_height="wrap_content">
+ <fragment
+ android:name="com.android.printspooler.SelectPrinterFragment"
+ android:id="@+id/select_printer_fragment"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+ </fragment>
+
+</FrameLayout> \ No newline at end of file
diff --git a/packages/PrintSpooler/res/layout/spinner_dropdown_item.xml b/packages/PrintSpooler/res/layout/spinner_dropdown_item.xml
index 002cc14..d14c064 100644
--- a/packages/PrintSpooler/res/layout/spinner_dropdown_item.xml
+++ b/packages/PrintSpooler/res/layout/spinner_dropdown_item.xml
@@ -15,7 +15,7 @@
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
+ android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingStart="8dip"
android:paddingEnd="8dip"