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

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: whoops, forgot files Created 4 years, 7 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 <!-- Manage Space Activity -->
156 <style name="ManageSpaceActivityButton">
157 <item name="android:layout_width">wrap_content</item>
158 <item name="android:layout_height">wrap_content</item>
159 <item name="android:layout_gravity">end</item>
160 <item name="android:layout_marginTop">8dp</item>
161 <item name="android:paddingStart">32dp</item>
162 <item name="android:paddingEnd">32dp</item>
163 </style>
164 <style name="ManageSpaceActivityExplanationTextView">
165 <item name="android:textAppearance">?android:attr/textAppearanceMedium</it em>
166 <item name="android:layout_width">match_parent</item>
167 <item name="android:layout_height">wrap_content</item>
168 <item name="android:paddingTop">6dp</item>
169 </style>
170 <style name="ManageSpaceActivitySizeTextView">
171 <item name="android:textAppearance">?android:attr/textAppearanceMedium</it em>
172 <item name="android:layout_width">wrap_content</item>
173 <item name="android:layout_height">wrap_content</item>
174 <item name="android:paddingTop">6dp</item>
175 <item name="android:maxLines">1</item>
176 </style>
177
155 <!-- Alert dialogs --> 178 <!-- Alert dialogs -->
156 <style name="AlertDialogContent"> 179 <style name="AlertDialogContent">
157 <item name="android:layout_width">match_parent</item> 180 <item name="android:layout_width">match_parent</item>
158 <item name="android:layout_height">wrap_content</item> 181 <item name="android:layout_height">wrap_content</item>
159 <item name="android:paddingStart">@dimen/dialog_padding_sides</item> 182 <item name="android:paddingStart">@dimen/dialog_padding_sides</item>
160 <item name="android:paddingEnd">@dimen/dialog_padding_sides</item> 183 <item name="android:paddingEnd">@dimen/dialog_padding_sides</item>
161 <item name="android:paddingTop">@dimen/dialog_padding_top</item> 184 <item name="android:paddingTop">@dimen/dialog_padding_top</item>
162 </style> 185 </style>
163 <style name="AlertDialogSummaryViewItem" parent="@android:style/TextAppearan ce.Small"> 186 <style name="AlertDialogSummaryViewItem" parent="@android:style/TextAppearan ce.Small">
164 <item name="android:layout_width">match_parent</item> 187 <item name="android:layout_width">match_parent</item>
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton"> 507 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton">
485 <item name="android:layout_width">43dp</item> 508 <item name="android:layout_width">43dp</item>
486 <item name="android:paddingEnd">3.5dp</item> 509 <item name="android:paddingEnd">3.5dp</item>
487 </style> 510 </style>
488 <style name="AppMenuItem"> 511 <style name="AppMenuItem">
489 <item name="android:paddingStart">16dp</item> 512 <item name="android:paddingStart">16dp</item>
490 <item name="android:paddingEnd">16dp</item> 513 <item name="android:paddingEnd">16dp</item>
491 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite m> 514 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite m>
492 </style> 515 </style>
493 </resources> 516 </resources>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698