diff options
author | Mark Wei <markwei@google.com> | 2012-10-22 14:43:22 -0700 |
---|---|---|
committer | Mark Wei <markwei@google.com> | 2012-10-22 14:43:22 -0700 |
commit | b56530ac021c4c50389de0354934d5df2703adf0 (patch) | |
tree | 68a738623b7df307a8572067f6d489c5bbc8d87f /res/values-sw600dp-land | |
parent | b27834972f7f437c6de30931ae0610b67e2dbae3 (diff) | |
download | android_packages_apps_UnifiedEmail-b56530ac021c4c50389de0354934d5df2703adf0.tar.gz android_packages_apps_UnifiedEmail-b56530ac021c4c50389de0354934d5df2703adf0.tar.bz2 android_packages_apps_UnifiedEmail-b56530ac021c4c50389de0354934d5df2703adf0.zip |
Refactor res/values resources to use -land qualifier instead of -port qualifier.
Functional changes: compose.xml layout uses the ComposeArea style which causes
all portrait tablet orientations to have no margin and 80dip padding. This is
desirable.
Bug: 7382467
Change-Id: I45af05211b57d03b51b11895a098828d60f5df7b
Diffstat (limited to 'res/values-sw600dp-land')
-rw-r--r-- | res/values-sw600dp-land/constants.xml | 8 | ||||
-rw-r--r-- | res/values-sw600dp-land/dimen.xml | 24 | ||||
-rw-r--r-- | res/values-sw600dp-land/styles.xml | 29 | ||||
-rw-r--r-- | res/values-sw600dp-land/two_pane_dimen.xml | 21 |
4 files changed, 82 insertions, 0 deletions
diff --git a/res/values-sw600dp-land/constants.xml b/res/values-sw600dp-land/constants.xml index e694129f8..66d7f7256 100644 --- a/res/values-sw600dp-land/constants.xml +++ b/res/values-sw600dp-land/constants.xml @@ -15,10 +15,18 @@ limitations under the License. --> <resources> + <integer name="conversation_list_weight">3</integer> + <integer name="conversation_view_weight">5</integer> <!-- Whether to show conversation subject in conversation view --> <bool name="show_conversation_subject">false</bool> + <dimen name="undo_bar_width_list">718dp</dimen> <dimen name="undo_bar_width_conv">600dp</dimen> <dimen name="undo_bar_width_conv_list">360dp</dimen> <dimen name="undo_bar_width_search_list">380dp</dimen> + + <!-- Whether the list is collapsed in conversation view mode --> + <bool name="list_collapsed">false</bool> + <!-- Whether to show single or 2 pane search results --> + <bool name="show_two_pane_search_results">true</bool> </resources> diff --git a/res/values-sw600dp-land/dimen.xml b/res/values-sw600dp-land/dimen.xml new file mode 100644 index 000000000..6471b1c50 --- /dev/null +++ b/res/values-sw600dp-land/dimen.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2012 Google Inc. + Licensed to 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> + <dimen name="compose_scrollview_width">800dip</dimen> + <dimen name="compose_area_left_padding">100dip</dimen> + <dimen name="compose_area_right_padding">100dip</dimen> + <dimen name="search_view_width">500dip</dimen> + <dimen name="spinner_frame_width">196dp</dimen> +</resources> diff --git a/res/values-sw600dp-land/styles.xml b/res/values-sw600dp-land/styles.xml new file mode 100644 index 000000000..8fb3298cf --- /dev/null +++ b/res/values-sw600dp-land/styles.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2012 Google Inc. + Licensed to 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> + <style name="unreadCountActionBarTablet" parent="@style/UnreadCountActionBar"> + <item name="android:layout_marginLeft">26dp</item> + <item name="android:layout_width">wrap_content</item> + </style> + <style name="AccountSwitchSpinnerItem" parent="@style/PlainSpinnerDropdown"> + <item name="android:layout_width">312dp</item> + </style> + <style name="ComposeArea"> + <item name="android:layout_width">@dimen/compose_scrollview_width</item> + </style> +</resources> diff --git a/res/values-sw600dp-land/two_pane_dimen.xml b/res/values-sw600dp-land/two_pane_dimen.xml new file mode 100644 index 000000000..7922107f4 --- /dev/null +++ b/res/values-sw600dp-land/two_pane_dimen.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2012 Google Inc. + Licensed to 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> + <dimen name="folder_list_pane_width">240dip</dimen> +</resources> |