Bug 1253654 - Part 1 - Update home panels section header styling. r=liuche
authorJan Henning <jh+bugzilla@buttercookie.de>
Sat, 09 Jul 2016 15:38:23 +0200
changeset 330368 1557fb4540f2bfa0f167c284318002e2b38f0332
parent 330367 1442e984869f09c10d09c60727411bdf0f2369a8
child 330369 23bdc280b66e339a0fe8d5c2e9bfdfc601b01d54
push id9858
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 14:37:10 +0000
treeherdermozilla-aurora@203106ef6cb6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersliuche
bugs1253654
milestone50.0a1
Bug 1253654 - Part 1 - Update home panels section header styling. r=liuche MozReview-Commit-ID: EflkRCg0Xby
mobile/android/base/resources/values/styles.xml
--- a/mobile/android/base/resources/values/styles.xml
+++ b/mobile/android/base/resources/values/styles.xml
@@ -224,23 +224,26 @@
     <style name="Widget.TopSitesListView" parent="Widget.BookmarksListView"/>
 
     <style name="Widget.HomeBanner"/>
 
     <style name="Widget.Home" />
 
     <style name="Widget.Home.HeaderItem">
         <item name="android:layout_width">match_parent</item>
-        <item name="android:layout_height">32dp</item>
+        <item name="android:layout_height">36dp</item>
         <item name="android:textAppearance">@style/TextAppearance.Widget.Home.Header</item>
-        <item name="android:background">@color/about_page_header_grey</item>
+        <item name="android:background">@android:color/white</item>
         <item name="android:focusable">false</item>
         <item name="android:gravity">center|left</item>
-        <item name="android:paddingLeft">10dip</item>
-        <item name="android:paddingRight">10dip</item>
+        <item name="android:paddingLeft">16dp</item>
+        <item name="android:paddingRight">16dp</item>
+        <item name="android:paddingTop">11dp</item>
+        <item name="android:paddingBottom">11dp</item>
+        <item name="android:includeFontPadding">false</item>
     </style>
 
     <style name="Widget.Home.ActionButton">
         <item name="android:layout_width">match_parent</item>
         <item name="android:layout_height">48dp</item>
         <item name="android:textColor">@color/text_and_tabs_tray_grey</item>
         <item name="android:textSize">14sp</item>
         <item name="android:background">@drawable/home_history_clear_button_bg</item>
@@ -379,17 +382,18 @@
     <style name="TextAppearance.Widget.HomePagerTabMenuStrip" parent="TextAppearance.Small">
         <item name="android:textColor">?android:attr/textColorHint</item>
         <item name="android:textSize">14sp</item>
     </style>
 
     <style name="TextAppearance.Widget.Home" />
 
     <style name="TextAppearance.Widget.Home.Header" parent="TextAppearance.Small">
-        <item name="android:textColor">?android:attr/textColorPrimary</item>
+        <item name="android:textColor">@color/disabled_grey</item>
+        <item name="android:textSize">12sp</item>
     </style>
 
     <style name="TextAppearance.Widget.Home.ItemTitle" parent="TextAppearance">
         <item name="android:textSize">16dp</item>
     </style>
 
     <style name="TextAppearance.Widget.Home.ItemDescription" parent="TextAppearance.Micro">
         <item name="android:textColor">@color/tabs_tray_icon_grey</item>