summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-05-09 16:00:53 -0700
committerWinson Chung <winsonc@google.com>2011-05-12 10:40:25 -0700
commit46af2e89164b391b7a0049c6ce9048a2b7a7f644 (patch)
treeb9b241e12baf8cda73cb0e636c750d9dcf8f4f53 /res/values
parent95963d614eac0dd67fd70e774c4c83b7eb676b3b (diff)
downloadandroid_packages_apps_Trebuchet-46af2e89164b391b7a0049c6ce9048a2b7a7f644.tar.gz
android_packages_apps_Trebuchet-46af2e89164b391b7a0049c6ce9048a2b7a7f644.tar.bz2
android_packages_apps_Trebuchet-46af2e89164b391b7a0049c6ce9048a2b7a7f644.zip
Adding Wallpapers tab.
Change-Id: Ic42bec30a4a3a4f8745bd1b5b164f33cc9a6c96f
Diffstat (limited to 'res/values')
-rw-r--r--res/values/attrs.xml6
-rw-r--r--res/values/styles.xml6
2 files changed, 8 insertions, 4 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
index 2323358c6..75b93bf0d 100644
--- a/res/values/attrs.xml
+++ b/res/values/attrs.xml
@@ -112,7 +112,7 @@
<!-- AppsCustomizePagedView specific attributes. These attributes are used to
customize an AppsCustomizePagedView in xml files. -->
<declare-styleable name="AppsCustomizePagedView">
- <!-- Horizontal spacing between widgets -->
+ <!-- Horizontal spacing between widgets and wallpapers -->
<attr name="widgetCellWidthGap" format="dimension" />
<!-- Vertical spacing between widgets -->
<attr name="widgetCellHeightGap" format="dimension" />
@@ -120,6 +120,10 @@
<attr name="widgetCountX" format="integer" />
<!-- Number of widgets vertically -->
<attr name="widgetCountY" format="integer" />
+ <!-- Number of wallpaper pickers horizontally -->
+ <attr name="wallpaperCountX" format="integer" />
+ <!-- Number of wallpaper pickers vertically -->
+ <attr name="wallpaperCountY" format="integer" />
</declare-styleable>
<!-- CustomizePagedView specific attributes. These attributes are used to customize
diff --git a/res/values/styles.xml b/res/values/styles.xml
index ac7d4df73..abe6ac4c6 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -72,13 +72,13 @@
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">match_parent</item>
<item name="android:gravity">center</item>
- <item name="android:paddingLeft">30dp</item>
- <item name="android:paddingRight">30dp</item>
+ <item name="android:paddingLeft">15dp</item>
+ <item name="android:paddingRight">15dp</item>
<item name="android:paddingTop">10dp</item>
<item name="android:paddingBottom">15dp</item>
<item name="android:background">@drawable/tab_widget_indicator_selector</item>
<item name="android:textColor">@color/tab_widget_indicator_color</item>
- <item name="android:textSize">20sp</item>
+ <item name="android:textSize">16sp</item>
<item name="android:shadowColor">#393939</item>
<item name="android:shadowDx">0.0</item>
<item name="android:shadowDy">1.0</item>