Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: chrome/android/java/res/values-v17/styles.xml

Issue 1465363002: [Storage] Android - ManageSpace UI, Important Origins, and CBD Dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 <style name="ThemeWithActionBar" parent="Theme.AppCompat.Light.DarkActionBar "> 145 <style name="ThemeWithActionBar" parent="Theme.AppCompat.Light.DarkActionBar ">
146 <item name="android:windowBackground">@drawable/action_bar_activity_bg</ item> 146 <item name="android:windowBackground">@drawable/action_bar_activity_bg</ item>
147 <!-- Action bar color --> 147 <!-- Action bar color -->
148 <item name="colorPrimary">@color/dark_action_bar_color</item> 148 <item name="colorPrimary">@color/dark_action_bar_color</item>
149 <!-- Status bar color --> 149 <!-- Status bar color -->
150 <item name="colorPrimaryDark">#161e21</item> 150 <item name="colorPrimaryDark">#161e21</item>
151 <!-- Color of checkboxes, switches, buttons, etc. --> 151 <!-- Color of checkboxes, switches, buttons, etc. -->
152 <item name="colorAccent">@color/pref_accent_color</item> 152 <item name="colorAccent">@color/pref_accent_color</item>
153 </style> 153 </style>
154 154
155 <style name="FlushFooterButton">
156 <item name="android:textColor">@color/light_normal_color</item>
157 <item name="android:background">@drawable/flush_footer_button</item>
158 </style>
159
160 <!-- Manage Space Activity -->
161 <style name="ManageSpaceActivityButton">
162 <item name="android:layout_width">wrap_content</item>
163 <item name="android:layout_height">wrap_content</item>
164 <item name="android:layout_gravity">end</item>
165 <item name="android:layout_marginTop">8dp</item>
166 <item name="android:paddingStart">32dp</item>
167 <item name="android:paddingEnd">32dp</item>
168 </style>
169 <style name="ManageSpaceActivityExplanationTextView">
170 <item name="android:textAppearance">?android:attr/textAppearanceMedium</it em>
171 <item name="android:layout_width">match_parent</item>
172 <item name="android:layout_height">wrap_content</item>
173 <item name="android:paddingTop">6dp</item>
174 </style>
175 <style name="ManageSpaceActivitySizeTextView">
176 <item name="android:textAppearance">?android:attr/textAppearanceMedium</it em>
177 <item name="android:layout_width">wrap_content</item>
178 <item name="android:layout_height">wrap_content</item>
179 <item name="android:paddingTop">6dp</item>
180 <item name="android:maxLines">1</item>
181 </style>
182
155 <!-- Alert dialogs --> 183 <!-- Alert dialogs -->
156 <style name="AlertDialogContent"> 184 <style name="AlertDialogContent">
157 <item name="android:layout_width">match_parent</item> 185 <item name="android:layout_width">match_parent</item>
158 <item name="android:layout_height">wrap_content</item> 186 <item name="android:layout_height">wrap_content</item>
159 <item name="android:paddingStart">@dimen/dialog_padding_sides</item> 187 <item name="android:paddingStart">@dimen/dialog_padding_sides</item>
160 <item name="android:paddingEnd">@dimen/dialog_padding_sides</item> 188 <item name="android:paddingEnd">@dimen/dialog_padding_sides</item>
161 <item name="android:paddingTop">@dimen/dialog_padding_top</item> 189 <item name="android:paddingTop">@dimen/dialog_padding_top</item>
162 </style> 190 </style>
163 <style name="AlertDialogSummaryViewItem" parent="@android:style/TextAppearan ce.Small"> 191 <style name="AlertDialogSummaryViewItem" parent="@android:style/TextAppearan ce.Small">
164 <item name="android:layout_width">match_parent</item> 192 <item name="android:layout_width">match_parent</item>
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton"> 519 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton">
492 <item name="android:layout_width">43dp</item> 520 <item name="android:layout_width">43dp</item>
493 <item name="android:paddingEnd">3.5dp</item> 521 <item name="android:paddingEnd">3.5dp</item>
494 </style> 522 </style>
495 <style name="AppMenuItem"> 523 <style name="AppMenuItem">
496 <item name="android:paddingStart">16dp</item> 524 <item name="android:paddingStart">16dp</item>
497 <item name="android:paddingEnd">16dp</item> 525 <item name="android:paddingEnd">16dp</item>
498 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite m> 526 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite m>
499 </style> 527 </style>
500 </resources> 528 </resources>
OLDNEW
« no previous file with comments | « chrome/android/java/res/layout/storage_preferences.xml ('k') | chrome/android/java/res/values-v19/values.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698