Chromium Code Reviews| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 66 <item name="colorControlActivated">@color/light_active_color</item> | 66 <item name="colorControlActivated">@color/light_active_color</item> |
| 67 <item name="colorControlNormal">@color/light_normal_color</item> | 67 <item name="colorControlNormal">@color/light_normal_color</item> |
| 68 <item name="colorPrimary">@color/light_active_color</item> | 68 <item name="colorPrimary">@color/light_active_color</item> |
| 69 | 69 |
| 70 <!-- Default TintedImageButton tint --> | 70 <!-- Default TintedImageButton tint --> |
| 71 <item name="tint">@color/dark_mode_tint</item> | 71 <item name="tint">@color/dark_mode_tint</item> |
| 72 </style> | 72 </style> |
| 73 | 73 |
| 74 <!-- Preferences --> | 74 <!-- Preferences --> |
| 75 <style name="PreferencesTheme" parent="ThemeWithActionBar"> | 75 <style name="PreferencesTheme" parent="ThemeWithActionBar"> |
| 76 <item name="android:divider">@null</item> | |
|
newt (away)
2016/02/12 22:03:49
Does this remove the dividers all throughout prefe
May
2016/02/16 17:32:06
It was supposed to, but when I check on it now, th
newt (away)
2016/02/16 23:05:01
Strange. Once we switch to using the support libra
| |
| 76 <item name="android:textColorLink">@color/pref_accent_color</item> | 77 <item name="android:textColorLink">@color/pref_accent_color</item> |
| 77 <item name="android:textAppearanceMedium">@style/PreferenceTextAppearanc eMedium</item> | 78 <item name="android:textAppearanceMedium">@style/PreferenceTextAppearanc eMedium</item> |
| 78 <item name="android:preferenceCategoryStyle">@style/PreferenceCategory</ item> | 79 <item name="android:preferenceCategoryStyle">@style/PreferenceCategory</ item> |
| 79 <item name="android:spinnerItemStyle">@style/PreferenceSpinnerItem</item > | 80 <item name="android:spinnerItemStyle">@style/PreferenceSpinnerItem</item > |
| 80 <item name="floatLabelTextAppearance">@style/PreferenceFloatLabelTextApp earance</item> | 81 <item name="floatLabelTextAppearance">@style/PreferenceFloatLabelTextApp earance</item> |
| 81 <item name="floatLabelPaddingLeft">@dimen/pref_autofill_field_horizontal _padding</item> | 82 <item name="floatLabelPaddingLeft">@dimen/pref_autofill_field_horizontal _padding</item> |
| 82 <item name="floatLabelPaddingRight">@dimen/pref_autofill_field_horizonta l_padding</item> | 83 <item name="floatLabelPaddingRight">@dimen/pref_autofill_field_horizonta l_padding</item> |
| 83 <item name="floatLabelPaddingTop">@dimen/pref_autofill_field_top_padding </item> | 84 <item name="floatLabelPaddingTop">@dimen/pref_autofill_field_top_padding </item> |
| 84 </style> | 85 </style> |
| 85 <style name="PreferenceTextAppearanceMedium"> | 86 <style name="PreferenceTextAppearanceMedium"> |
| (...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 449 <style name="UpdateMenuBadge"> | 450 <style name="UpdateMenuBadge"> |
| 450 <item name="android:layout_height">@dimen/menu_badge_size</item> | 451 <item name="android:layout_height">@dimen/menu_badge_size</item> |
| 451 <item name="android:layout_width">@dimen/menu_badge_size</item> | 452 <item name="android:layout_width">@dimen/menu_badge_size</item> |
| 452 <item name="android:layout_gravity">end|bottom</item> | 453 <item name="android:layout_gravity">end|bottom</item> |
| 453 <item name="android:layout_marginBottom">14dp</item> | 454 <item name="android:layout_marginBottom">14dp</item> |
| 454 <item name="android:focusable">false</item> | 455 <item name="android:focusable">false</item> |
| 455 <item name="android:importantForAccessibility">no</item> | 456 <item name="android:importantForAccessibility">no</item> |
| 456 <item name="android:visibility">invisible</item> | 457 <item name="android:visibility">invisible</item> |
| 457 </style> | 458 </style> |
| 458 </resources> | 459 </resources> |
| OLD | NEW |