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

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

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

Powered by Google App Engine
This is Rietveld 408576698