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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 </style> | 134 </style> |
135 <style name="PreferenceSpinnerItem"> | 135 <style name="PreferenceSpinnerItem"> |
136 <item name="android:textAppearance">@style/PreferenceTextAppearanceMediu
m</item> | 136 <item name="android:textAppearance">@style/PreferenceTextAppearanceMediu
m</item> |
137 </style> | 137 </style> |
138 <style name="PreferenceSpinnerUnderlineView"> | 138 <style name="PreferenceSpinnerUnderlineView"> |
139 <item name="android:layout_width">match_parent</item> | 139 <item name="android:layout_width">match_parent</item> |
140 <item name="android:layout_height">1dp</item> | 140 <item name="android:layout_height">1dp</item> |
141 <item name="android:layout_marginTop">2dp</item> | 141 <item name="android:layout_marginTop">2dp</item> |
142 <item name="android:background">@color/input_underline_color</item> | 142 <item name="android:background">@color/input_underline_color</item> |
143 </style> | 143 </style> |
| 144 <style name="ConfirmImportantSitesListTextAppearance"> |
| 145 <item name="android:textSize">16sp</item> |
| 146 </style> |
144 | 147 |
145 <style name="ThemeWithActionBar" parent="Theme.AppCompat.Light.DarkActionBar
"> | 148 <style name="ThemeWithActionBar" parent="Theme.AppCompat.Light.DarkActionBar
"> |
146 <item name="android:windowBackground">@drawable/action_bar_activity_bg</
item> | 149 <item name="android:windowBackground">@drawable/action_bar_activity_bg</
item> |
147 <!-- Action bar color --> | 150 <!-- Action bar color --> |
148 <item name="colorPrimary">@color/dark_action_bar_color</item> | 151 <item name="colorPrimary">@color/dark_action_bar_color</item> |
149 <!-- Status bar color --> | 152 <!-- Status bar color --> |
150 <item name="colorPrimaryDark">#161e21</item> | 153 <item name="colorPrimaryDark">#161e21</item> |
151 <!-- Color of checkboxes, switches, buttons, etc. --> | 154 <!-- Color of checkboxes, switches, buttons, etc. --> |
152 <item name="colorAccent">@color/pref_accent_color</item> | 155 <item name="colorAccent">@color/pref_accent_color</item> |
153 </style> | 156 </style> |
154 | 157 |
| 158 <style name="FlushFooterButton"> |
| 159 <item name="android:textColor">@color/light_normal_color</item> |
| 160 <item name="android:background">@drawable/flush_footer_button</item> |
| 161 </style> |
| 162 |
| 163 <!-- Manage Space Activity --> |
| 164 <style name="ManageSpaceActivityButton"> |
| 165 <item name="android:layout_width">wrap_content</item> |
| 166 <item name="android:layout_height">wrap_content</item> |
| 167 <item name="android:layout_gravity">end</item> |
| 168 <item name="android:layout_marginTop">8dp</item> |
| 169 <item name="android:paddingStart">32dp</item> |
| 170 <item name="android:paddingEnd">32dp</item> |
| 171 </style> |
| 172 <style name="ManageSpaceActivityExplanationTextView"> |
| 173 <item name="android:textAppearance">?android:attr/textAppearanceMedium</it
em> |
| 174 <item name="android:layout_width">match_parent</item> |
| 175 <item name="android:layout_height">wrap_content</item> |
| 176 <item name="android:paddingTop">6dp</item> |
| 177 </style> |
| 178 <style name="ManageSpaceActivitySizeTextView"> |
| 179 <item name="android:textAppearance">?android:attr/textAppearanceMedium</it
em> |
| 180 <item name="android:layout_width">wrap_content</item> |
| 181 <item name="android:layout_height">wrap_content</item> |
| 182 <item name="android:paddingTop">6dp</item> |
| 183 <item name="android:maxLines">1</item> |
| 184 </style> |
| 185 |
155 <!-- Alert dialogs --> | 186 <!-- Alert dialogs --> |
156 <style name="AlertDialogContent"> | 187 <style name="AlertDialogContent"> |
157 <item name="android:layout_width">match_parent</item> | 188 <item name="android:layout_width">match_parent</item> |
158 <item name="android:layout_height">wrap_content</item> | 189 <item name="android:layout_height">wrap_content</item> |
159 <item name="android:paddingStart">@dimen/dialog_padding_sides</item> | 190 <item name="android:paddingStart">@dimen/dialog_padding_sides</item> |
160 <item name="android:paddingEnd">@dimen/dialog_padding_sides</item> | 191 <item name="android:paddingEnd">@dimen/dialog_padding_sides</item> |
161 <item name="android:paddingTop">@dimen/dialog_padding_top</item> | 192 <item name="android:paddingTop">@dimen/dialog_padding_top</item> |
162 </style> | 193 </style> |
163 <style name="AlertDialogSummaryViewItem" parent="@android:style/TextAppearan
ce.Small"> | 194 <style name="AlertDialogSummaryViewItem" parent="@android:style/TextAppearan
ce.Small"> |
164 <item name="android:layout_width">match_parent</item> | 195 <item name="android:layout_width">match_parent</item> |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton"> | 515 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton"> |
485 <item name="android:layout_width">43dp</item> | 516 <item name="android:layout_width">43dp</item> |
486 <item name="android:paddingEnd">3.5dp</item> | 517 <item name="android:paddingEnd">3.5dp</item> |
487 </style> | 518 </style> |
488 <style name="AppMenuItem"> | 519 <style name="AppMenuItem"> |
489 <item name="android:paddingStart">16dp</item> | 520 <item name="android:paddingStart">16dp</item> |
490 <item name="android:paddingEnd">16dp</item> | 521 <item name="android:paddingEnd">16dp</item> |
491 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite
m> | 522 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite
m> |
492 </style> | 523 </style> |
493 </resources> | 524 </resources> |
OLD | NEW |