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

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

Issue 2114493002: [Payments] Update autofill/payments spacings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@payments_ongoing
Patch Set: Appcompat spinners Created 4 years, 5 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 <!-- Preferences --> 86 <!-- Preferences -->
87 <style name="PreferencesTheme" parent="ThemeWithActionBar"> 87 <style name="PreferencesTheme" parent="ThemeWithActionBar">
88 <item name="android:textColorLink">@color/pref_accent_color</item> 88 <item name="android:textColorLink">@color/pref_accent_color</item>
89 <item name="android:textAppearanceMedium">@style/PreferenceTextAppearanc eMedium</item> 89 <item name="android:textAppearanceMedium">@style/PreferenceTextAppearanc eMedium</item>
90 <item name="android:preferenceCategoryStyle">@style/PreferenceCategory</ item> 90 <item name="android:preferenceCategoryStyle">@style/PreferenceCategory</ item>
91 <item name="android:spinnerItemStyle">@style/PreferenceSpinnerItem</item > 91 <item name="android:spinnerItemStyle">@style/PreferenceSpinnerItem</item >
92 <item name="floatLabelTextAppearance">@style/PreferenceFloatLabelTextApp earance</item> 92 <item name="floatLabelTextAppearance">@style/PreferenceFloatLabelTextApp earance</item>
93 <item name="floatLabelPaddingLeft">@dimen/pref_autofill_field_horizontal _padding</item> 93 <item name="floatLabelPaddingLeft">@dimen/pref_autofill_field_horizontal _padding</item>
94 <item name="floatLabelPaddingRight">@dimen/pref_autofill_field_horizonta l_padding</item> 94 <item name="floatLabelPaddingRight">@dimen/pref_autofill_field_horizonta l_padding</item>
95 <item name="floatLabelPaddingTop">@dimen/pref_autofill_field_top_padding </item> 95 <item name="floatLabelPaddingTop">@dimen/pref_autofill_field_top_margin< /item>
96 </style> 96 </style>
97 <style name="PreferenceTextAppearanceMedium"> 97 <style name="PreferenceTextAppearanceMedium">
98 <item name="android:textSize">18sp</item> 98 <item name="android:textSize">18sp</item>
99 <item name="android:textColor">?android:attr/textColorPrimary</item> 99 <item name="android:textColor">?android:attr/textColorPrimary</item>
100 </style> 100 </style>
101 <style name="PreferenceCategory"> 101 <style name="PreferenceCategory">
102 <item name="android:layout">@layout/preference_category</item> 102 <item name="android:layout">@layout/preference_category</item>
103 <item name="android:shouldDisableView">false</item> 103 <item name="android:shouldDisableView">false</item>
104 <item name="android:selectable">false</item> 104 <item name="android:selectable">false</item>
105 </style> 105 </style>
(...skipping 15 matching lines...) Expand all
121 </style> 121 </style>
122 <style name="PreferenceSummary"> 122 <style name="PreferenceSummary">
123 <item name="android:textAppearance">?android:attr/textAppearanceSmall</i tem> 123 <item name="android:textAppearance">?android:attr/textAppearanceSmall</i tem>
124 <item name="android:textColor">?android:attr/textColorSecondary</item> 124 <item name="android:textColor">?android:attr/textColorSecondary</item>
125 </style> 125 </style>
126 <style name="PreferenceScreenLayout"> 126 <style name="PreferenceScreenLayout">
127 <item name="android:paddingTop">16dp</item> 127 <item name="android:paddingTop">16dp</item>
128 128
129 <!-- Additional padding is applied to each of the controls inside the la yout, making this 129 <!-- Additional padding is applied to each of the controls inside the la yout, making this
130 a 16dp padding overall. --> 130 a 16dp padding overall. -->
131 <item name="android:paddingStart">@dimen/pref_autofill_content_padding</ item> 131 <item name="android:paddingStart">@dimen/pref_autofill_content_spacing</ item>
132 <item name="android:paddingEnd">@dimen/pref_autofill_content_padding</it em> 132 <item name="android:paddingEnd">@dimen/pref_autofill_content_spacing</it em>
133 </style> 133 </style>
134 <style name="PreferenceLayoutBase"> 134 <style name="PreferenceLayoutBase">
135 <item name="android:background">?android:attr/activatedBackgroundIndicat or</item> 135 <item name="android:background">?android:attr/activatedBackgroundIndicat or</item>
136 <item name="android:minHeight">?android:attr/listPreferredItemHeight</it em> 136 <item name="android:minHeight">?android:attr/listPreferredItemHeight</it em>
137 <item name="android:paddingTop">6dp</item> 137 <item name="android:paddingTop">6dp</item>
138 <item name="android:paddingBottom">6dp</item> 138 <item name="android:paddingBottom">6dp</item>
139 <item name="android:paddingStart">8dp</item> 139 <item name="android:paddingStart">8dp</item>
140 <item name="android:paddingEnd">8dp</item> 140 <item name="android:paddingEnd">8dp</item>
141 </style> 141 </style>
142 <style name="PreferenceLayout" parent="PreferenceLayoutBase" /> 142 <style name="PreferenceLayout" parent="PreferenceLayoutBase" />
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton"> 542 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton">
543 <item name="android:layout_width">43dp</item> 543 <item name="android:layout_width">43dp</item>
544 <item name="android:paddingEnd">3.5dp</item> 544 <item name="android:paddingEnd">3.5dp</item>
545 </style> 545 </style>
546 <style name="AppMenuItem"> 546 <style name="AppMenuItem">
547 <item name="android:paddingStart">16dp</item> 547 <item name="android:paddingStart">16dp</item>
548 <item name="android:paddingEnd">16dp</item> 548 <item name="android:paddingEnd">16dp</item>
549 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite m> 549 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite m>
550 </style> 550 </style>
551 </resources> 551 </resources>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698