summaryrefslogtreecommitdiffstats
path: root/packages/PrintSpooler/res/layout/print_activity_controls.xml
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2014-08-27 18:37:16 -0700
committerSvetoslav <svetoslavganov@google.com>2014-08-27 18:46:23 -0700
commitc404cacd3a480776dd625fb300810ffccc5f51b0 (patch)
tree4e7fd2370f334a9106bec45094a84930699d547f /packages/PrintSpooler/res/layout/print_activity_controls.xml
parentf88c2569e94bc0fd2c88470a5d48e140eedf3fca (diff)
downloadframeworks_base-c404cacd3a480776dd625fb300810ffccc5f51b0.zip
frameworks_base-c404cacd3a480776dd625fb300810ffccc5f51b0.tar.gz
frameworks_base-c404cacd3a480776dd625fb300810ffccc5f51b0.tar.bz2
Print UI polish.
1. Fixed an issue where input focus is given to the copies edit text every other time we expand the options UI. We want focus there only if the user touches the control. bug:16966145 2. Fixed the all printers list view to have item dividers reaching the left and right ends of the list view. bug:17288761 3. Fixed an issue where the user can deselect all pages which is not only an invalid state but also causes a crash. bug:17286198 4. Tweaked the minimal size of the preview in landscape on phone to better accomodate the page. bug:17288904 5. Fixed a regression introduced by a change from the UI folks. Change-Id: Ida7dad7eea413295a840028060810b2619c616e8
Diffstat (limited to 'packages/PrintSpooler/res/layout/print_activity_controls.xml')
-rw-r--r--packages/PrintSpooler/res/layout/print_activity_controls.xml10
1 files changed, 4 insertions, 6 deletions
diff --git a/packages/PrintSpooler/res/layout/print_activity_controls.xml b/packages/PrintSpooler/res/layout/print_activity_controls.xml
index 0629481..c2a0da9 100644
--- a/packages/PrintSpooler/res/layout/print_activity_controls.xml
+++ b/packages/PrintSpooler/res/layout/print_activity_controls.xml
@@ -55,8 +55,7 @@
android:text="@string/label_copies">
</TextView>
- <view
- class="com.android.printspooler.widget.FirstFocusableEditText"
+ <EditText
android:id="@+id/copies_edittext"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
@@ -64,7 +63,7 @@
android:singleLine="true"
android:ellipsize="end"
android:inputType="numberDecimal">
- </view>
+ </EditText>
</LinearLayout>
@@ -198,8 +197,7 @@
android:visibility="visible">
</TextView>
- <view
- class="com.android.printspooler.widget.FirstFocusableEditText"
+ <EditText
android:id="@+id/page_range_edittext"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
@@ -208,7 +206,7 @@
android:ellipsize="end"
android:visibility="visible"
android:inputType="textNoSuggestions">
- </view>
+ </EditText>
</LinearLayout>