summaryrefslogtreecommitdiffstats
path: root/res/values/dimensions.xml
diff options
context:
space:
mode:
authorOwen Lin <owenlin@google.com>2011-08-17 22:07:43 +0800
committerOwen Lin <owenlin@google.com>2011-08-18 13:33:50 +0800
commita85c80227a56f3b7f917464096cd33877093616f (patch)
tree79a46705c0fed9ac4bb66d94f905134b5a8bbdcb /res/values/dimensions.xml
parenta053a3179cfee3d2bb666eff5f4f03a96b092e04 (diff)
downloadandroid_packages_apps_Snap-a85c80227a56f3b7f917464096cd33877093616f.tar.gz
android_packages_apps_Snap-a85c80227a56f3b7f917464096cd33877093616f.tar.bz2
android_packages_apps_Snap-a85c80227a56f3b7f917464096cd33877093616f.zip
Initial code for Gallery2.
fix: 5176434 Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c
Diffstat (limited to 'res/values/dimensions.xml')
-rw-r--r--res/values/dimensions.xml52
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>