diff options
author | Owen Lin <owenlin@google.com> | 2011-08-17 22:07:43 +0800 |
---|---|---|
committer | Owen Lin <owenlin@google.com> | 2011-08-18 13:33:50 +0800 |
commit | f9a0a4306d589b4a4e20554fed512a603426bfa1 (patch) | |
tree | df0d55b351d5addf3c4149ce942292593b30d700 /res/values/dimensions.xml | |
parent | a053a3179cfee3d2bb666eff5f4f03a96b092e04 (diff) | |
download | android_packages_apps_Gallery2-f9a0a4306d589b4a4e20554fed512a603426bfa1.tar.gz android_packages_apps_Gallery2-f9a0a4306d589b4a4e20554fed512a603426bfa1.tar.bz2 android_packages_apps_Gallery2-f9a0a4306d589b4a4e20554fed512a603426bfa1.zip |
Initial code for Gallery2.
fix: 5176434
Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c
Diffstat (limited to 'res/values/dimensions.xml')
-rw-r--r-- | res/values/dimensions.xml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/res/values/dimensions.xml b/res/values/dimensions.xml new file mode 100644 index 000000000..90c3064d7 --- /dev/null +++ b/res/values/dimensions.xml @@ -0,0 +1,52 @@ +<?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="appwidget_width">146dp</dimen> + <dimen name="appwidget_height">146dp</dimen> + <dimen name="stack_photo_width">140dp</dimen> + <dimen name="stack_photo_height">110dp</dimen> + + <!-- configuration for album set page --> + <dimen name="albumset_display_item_size">80dp</dimen> + <dimen name="albumset_slot_width">135dp</dimen> + <dimen name="albumset_slot_height">135dp</dimen> + <dimen name="albumset_label_font_size">11dp</dimen> + <dimen name="albumset_label_offset_y">70dp</dimen> + <dimen name="albumset_label_margin">10dp</dimen> + + <!-- configuration for album page --> + <dimen name="album_display_item_size">108dp</dimen> + <dimen name="album_slot_width">122dp</dimen> + <dimen name="album_slot_height">122dp</dimen> + + <!-- configuration for manage page --> + <dimen name="cache_bar_height">32dp</dimen> + <dimen name="cache_bar_pin_left_margin">10dp</dimen> + <dimen name="cache_bar_pin_right_margin">6dp</dimen> + <dimen name="cache_bar_button_right_margin">6dp</dimen> + <dimen name="cache_bar_font_size">12dp</dimen> + + <!-- configuration for film strip in photo page --> + <dimen name="filmstrip_top_margin">12dp</dimen> + <dimen name="filmstrip_mid_margin">0dp</dimen> + <dimen name="filmstrip_bottom_margin">2dp</dimen> + <dimen name="filmstrip_thumb_size">48dp</dimen> + <dimen name="filmstrip_content_size">56dp</dimen> + <dimen name="filmstrip_grip_size">10dp</dimen> + <dimen name="filmstrip_bar_size">10dp</dimen> + <dimen name="filmstrip_grip_width">96dp</dimen> + +</resources> |