1. We were using the layout for the printer drop down from the print dialog as the list item in the all printers activity. This layout was not high enough. Now we have a separate layout for the drop down and for the list. Note that they are almost identical but this is better that writing java code to lookup the height from the theme and change it programatically since the java code is almost half the size of the layout and leads to spreading the logic in both the layout file and the java code. 2. The padding of the printers list was not correct. Now it mimics the bahavior in settings where we change the padding based on orientation. bug:11261157 Change-Id: I8507c4ee86e9196fe1777cf9577f1886ccfbb1ad
33 lines
1.2 KiB
XML
33 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2013 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
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
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<resources>
|
|
|
|
<integer name="page_option_value_all">0</integer>
|
|
<integer name="page_option_value_page_range">1</integer>
|
|
|
|
<integer-array name="page_options_values" translatable="false">
|
|
<item>@integer/page_option_value_all</item>
|
|
<item>@integer/page_option_value_page_range</item>
|
|
</integer-array>
|
|
|
|
<dimen name="print_dialog_frame_max_width_dip">400dip</dimen>
|
|
|
|
<dimen name="printer_list_view_padding_start">16dip</dimen>
|
|
<dimen name="printer_list_view_padding_end">16dip</dimen>
|
|
|
|
</resources>
|