OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2014 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2014 The Chromium Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. --> | 4 found in the LICENSE file. --> |
5 | 5 |
6 <resources xmlns:tools="http://schemas.android.com/tools"> | 6 <resources xmlns:tools="http://schemas.android.com/tools"> |
7 <!-- Q: Why put style resources under values-v17/ ? | 7 <!-- Q: Why put style resources under values-v17/ ? |
8 A: Problem: | 8 A: Problem: |
9 1. paddingStart causes a crash on Galaxy Tab&Note b/8351339. | 9 1. paddingStart causes a crash on Galaxy Tab&Note b/8351339. |
10 2. So we wrote a build script(generate_v14_compatible_resources.py)
to convert | 10 2. So we wrote a build script(generate_v14_compatible_resources.py)
to convert |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 <item name="android:textAppearance">@style/PreferenceTextAppearanceMediu
m</item> | 159 <item name="android:textAppearance">@style/PreferenceTextAppearanceMediu
m</item> |
160 </style> | 160 </style> |
161 <style name="PreferenceSpinnerUnderlineView"> | 161 <style name="PreferenceSpinnerUnderlineView"> |
162 <item name="android:layout_width">match_parent</item> | 162 <item name="android:layout_width">match_parent</item> |
163 <item name="android:layout_height">1dp</item> | 163 <item name="android:layout_height">1dp</item> |
164 <item name="android:layout_marginTop">2dp</item> | 164 <item name="android:layout_marginTop">2dp</item> |
165 <item name="android:background">@color/google_grey_600</item> | 165 <item name="android:background">@color/google_grey_600</item> |
166 </style> | 166 </style> |
167 <style name="Divider"> | 167 <style name="Divider"> |
168 <item name="android:layout_width">match_parent</item> | 168 <item name="android:layout_width">match_parent</item> |
169 <item name="android:layout_height">1dp</item> | 169 <item name="android:layout_height">@dimen/divider_height</item> |
170 <item name="android:background">@color/google_grey_300</item> | 170 <item name="android:background">@color/google_grey_300</item> |
171 </style> | 171 </style> |
172 | 172 |
173 <style name="ThemeWithActionBar" parent="Theme.AppCompat.Light.DarkActionBar
"> | 173 <style name="ThemeWithActionBar" parent="Theme.AppCompat.Light.DarkActionBar
"> |
174 <item name="android:windowBackground">@drawable/action_bar_activity_bg</
item> | 174 <item name="android:windowBackground">@drawable/action_bar_activity_bg</
item> |
175 <!-- Action bar color --> | 175 <!-- Action bar color --> |
176 <item name="colorPrimary">@color/dark_action_bar_color</item> | 176 <item name="colorPrimary">@color/dark_action_bar_color</item> |
177 <!-- Status bar color --> | 177 <!-- Status bar color --> |
178 <item name="colorPrimaryDark">#161e21</item> | 178 <item name="colorPrimaryDark">#161e21</item> |
179 <!-- Color of checkboxes, switches, buttons, etc. --> | 179 <!-- Color of checkboxes, switches, buttons, etc. --> |
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
666 <item name="android:contentDescription">@null</item> | 666 <item name="android:contentDescription">@null</item> |
667 <item name="android:scaleType">center</item> | 667 <item name="android:scaleType">center</item> |
668 <item name="android:background">@color/light_active_color</item> | 668 <item name="android:background">@color/light_active_color</item> |
669 </style> | 669 </style> |
670 | 670 |
671 <!-- Miscellaneous --> | 671 <!-- Miscellaneous --> |
672 <style name="BottomSheetContentTitle" parent="TextAppearance.Widget.AppCompa
t.Toolbar.Title"> | 672 <style name="BottomSheetContentTitle" parent="TextAppearance.Widget.AppCompa
t.Toolbar.Title"> |
673 <item name="android:textSize">20sp</item> | 673 <item name="android:textSize">20sp</item> |
674 </style> | 674 </style> |
675 </resources> | 675 </resources> |
OLD | NEW |