diff options
author | Andrew Flynn <flynn@google.com> | 2012-04-23 15:15:53 -0700 |
---|---|---|
committer | Andrew Flynn <flynn@google.com> | 2012-04-23 15:43:36 -0700 |
commit | 1d7cc561fb921f1ce1cebb8a1593a7d1c92e4ebd (patch) | |
tree | b0fce79c1e7b28024f354ef6a4366e80d616c239 /res/values-w960dp-h527dp/dimens.xml | |
parent | a1542517a5531459d35ebdefe5815bb2f35ba79e (diff) | |
download | android_packages_apps_Calendar-1d7cc561fb921f1ce1cebb8a1593a7d1c92e4ebd.tar.gz android_packages_apps_Calendar-1d7cc561fb921f1ce1cebb8a1593a7d1c92e4ebd.tar.bz2 android_packages_apps_Calendar-1d7cc561fb921f1ce1cebb8a1593a7d1c92e4ebd.zip |
Lower dip-barries for using tablet layouts.
7" tablets now default to haveing a split status bar, so lower the
values needed to trigger tablet layout.
port - 912dp (~5.7 in.) now is 879dp (~5.5 in.)
land - 552dp (~3.5 in.) now is 527dp (~3.3 in.)
Calculations were made using the following:
Orientation: Total height - nav bar height - status bar height
Portrait : 960 - 56 - 25 = 879
Landscape : 600 - 48 - 25 = 527
Bug: 6382404
Change-Id: Ib2dfa6c9d57a953e614af3a9a22fcdff64fe886f
Diffstat (limited to 'res/values-w960dp-h527dp/dimens.xml')
-rw-r--r-- | res/values-w960dp-h527dp/dimens.xml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/res/values-w960dp-h527dp/dimens.xml b/res/values-w960dp-h527dp/dimens.xml new file mode 100644 index 00000000..dd8d4405 --- /dev/null +++ b/res/values-w960dp-h527dp/dimens.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 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="day_label_text_size">14sp</dimen> + <dimen name="all_day_bottom_margin">10dip</dimen> + <dimen name="one_day_header_height">0dip</dimen> + <dimen name="day_header_bottom_margin">6dip</dimen> + <dimen name="date_header_text_size">18sp</dimen> + <dimen name="hours_text_size">16sp</dimen> + <dimen name="allday_text_size">14sp</dimen> + <dimen name="ampm_text_size">12sp</dimen> + <dimen name="day_view_event_text_size">14sp</dimen> + <dimen name="week_view_event_text_size">12sp</dimen> + <dimen name="event_text_vertical_margin">4dp</dimen> + <dimen name="event_text_horizontal_margin">6dp</dimen> + <dimen name="event_min_height">30dip</dimen> + <!-- minimum size of hours column in day/week view --> + <dimen name="min_hours_width">32dip</dimen> + <!-- margins size of hours column in day/week view --> + <dimen name="hours_left_margin">28dip</dimen> + <dimen name="hours_right_margin">4dip</dimen> + <!-- size of day header in day and week views --> + <dimen name="day_header_height">24sp</dimen> + <dimen name="widget_day_num_size">42sp</dimen> + <dimen name="widget_day_num_top_padding">-8dip</dimen> + <dimen name="new_event_hint_text_size">14sp</dimen> +</resources> |