summaryrefslogtreecommitdiffstats
path: root/packages/PrintSpooler/res/layout
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2014-09-10 22:59:49 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-09-10 22:59:50 +0000
commitc65510a7bc0a1519c5633940bce52d7f2334b640 (patch)
tree71fae3cae1f15f7f26f7ba2e4bab5c3496040567 /packages/PrintSpooler/res/layout
parent2e52871211769e452079386a1fd5a767694bd4a2 (diff)
parente652b02d45bbda11c9cb8f663fa7f25903b90225 (diff)
downloadframeworks_base-c65510a7bc0a1519c5633940bce52d7f2334b640.zip
frameworks_base-c65510a7bc0a1519c5633940bce52d7f2334b640.tar.gz
frameworks_base-c65510a7bc0a1519c5633940bce52d7f2334b640.tar.bz2
Merge "Accessibilty support for the print UI." into lmp-dev
Diffstat (limited to 'packages/PrintSpooler/res/layout')
-rw-r--r--packages/PrintSpooler/res/layout/preview_page.xml10
1 files changed, 6 insertions, 4 deletions
diff --git a/packages/PrintSpooler/res/layout/preview_page.xml b/packages/PrintSpooler/res/layout/preview_page.xml
index df9848b..edce289 100644
--- a/packages/PrintSpooler/res/layout/preview_page.xml
+++ b/packages/PrintSpooler/res/layout/preview_page.xml
@@ -14,7 +14,7 @@
limitations under the License.
-->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<com.android.printspooler.widget.PreviewPageFrame xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/preview_page"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -33,7 +33,8 @@
android:layout_width="fill_parent"
android:layout_height="@dimen/preview_page_footer_height"
android:background="@color/material_grey_500"
- android:orientation="horizontal">
+ android:orientation="horizontal"
+ android:duplicateParentState="true">
<TextView
android:id="@+id/page_number"
@@ -51,9 +52,10 @@
android:layout_marginRight="8dip"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
- android:background="@drawable/page_selector_background">
+ android:background="@drawable/page_selector_background"
+ android:duplicateParentState="true">
</ImageView>
</RelativeLayout>
-</LinearLayout>
+</com.android.printspooler.widget.PreviewPageFrame>