summaryrefslogtreecommitdiffstats
path: root/res/values/styles.xml
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2016-10-11 15:49:42 -0700
committerSunny Goyal <sunnygoyal@google.com>2016-10-11 15:51:29 -0700
commit3f0a53fa448fc077a1e3ca547bdd0f3bd408372f (patch)
tree6b9fd49bd4610b25bb11517d6fe96d4d1baec8a7 /res/values/styles.xml
parentf8fa9e4124bccea8faa73726598cdf1f2dd78720 (diff)
downloadandroid_packages_apps_Trebuchet-3f0a53fa448fc077a1e3ca547bdd0f3bd408372f.tar.gz
android_packages_apps_Trebuchet-3f0a53fa448fc077a1e3ca547bdd0f3bd408372f.tar.bz2
android_packages_apps_Trebuchet-3f0a53fa448fc077a1e3ca547bdd0f3bd408372f.zip
Making the width of the fast scroller popup as wrap_content
Adding minWidth and width=wrap_content, so that the popup can grow for wider characters. Change-Id: I6e0c4087df51e37f696c47f20f146f32d41e8bc8
Diffstat (limited to 'res/values/styles.xml')
-rw-r--r--res/values/styles.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index cd06b7560..90338ae44 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -30,6 +30,20 @@
<style name="Theme" parent="@style/LauncherTheme"></style>
+ <style name="FastScrollerPopup" >
+ <item name="android:background">@drawable/container_fastscroll_popup_bg</item>
+ <item name="android:layout_width">wrap_content</item>
+ <item name="android:minWidth">@dimen/container_fastscroll_popup_size</item>
+ <item name="android:layout_height">@dimen/container_fastscroll_popup_size</item>
+ <item name="android:textSize">@dimen/container_fastscroll_popup_text_size</item>
+ <item name="android:gravity">center</item>
+ <item name="android:alpha">0</item>
+ <item name="android:elevation">3dp</item>
+ <item name="android:saveEnabled">false</item>
+ <item name="android:textColor">@android:color/white</item>
+ <item name="android:includeFontPadding">false</item>
+ </style>
+
<!-- Theme for the widget container. Overridden on API 25. -->
<style name="WidgetContainerTheme" parent="@android:style/Theme.DeviceDefault.Settings">
<item name="colorSecondary">@color/fallback_secondary_color</item>