| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 <!-- Overriding AppCompat values --> | 86 <!-- Overriding AppCompat values --> |
| 87 <item name="colorAccent">@color/light_active_color</item> | 87 <item name="colorAccent">@color/light_active_color</item> |
| 88 <item name="colorControlActivated">@color/light_active_color</item> | 88 <item name="colorControlActivated">@color/light_active_color</item> |
| 89 <item name="colorControlNormal">@color/light_normal_color</item> | 89 <item name="colorControlNormal">@color/light_normal_color</item> |
| 90 <item name="colorPrimary">@color/light_active_color</item> | 90 <item name="colorPrimary">@color/light_active_color</item> |
| 91 | 91 |
| 92 <!-- Default TintedImageButton tint --> | 92 <!-- Default TintedImageButton tint --> |
| 93 <item name="tint">@color/dark_mode_tint</item> | 93 <item name="tint">@color/dark_mode_tint</item> |
| 94 </style> | 94 </style> |
| 95 | 95 |
| 96 <style name="LightweightFreDialog" parent="AlertDialogTheme"> | 96 <style name="SimpleDialog" parent="AlertDialogTheme"> |
| 97 <item name="windowNoTitle">true</item> | 97 <item name="windowNoTitle">true</item> |
| 98 <item name="windowActionBar">false</item> | 98 <item name="windowActionBar">false</item> |
| 99 </style> | 99 </style> |
| 100 | 100 |
| 101 <!-- Preferences --> | 101 <!-- Preferences --> |
| 102 <style name="PreferencesTheme" parent="ThemeWithActionBar"> | 102 <style name="PreferencesTheme" parent="ThemeWithActionBar"> |
| 103 <item name="android:textColorLink">@color/pref_accent_color</item> | 103 <item name="android:textColorLink">@color/pref_accent_color</item> |
| 104 <item name="android:textAppearanceMedium">@style/PreferenceTextAppearanc
eMedium</item> | 104 <item name="android:textAppearanceMedium">@style/PreferenceTextAppearanc
eMedium</item> |
| 105 <item name="android:preferenceCategoryStyle">@style/PreferenceCategory</
item> | 105 <item name="android:preferenceCategoryStyle">@style/PreferenceCategory</
item> |
| 106 <item name="android:spinnerItemStyle">@style/PreferenceSpinnerItem</item
> | 106 <item name="android:spinnerItemStyle">@style/PreferenceSpinnerItem</item
> |
| (...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 582 </style> | 582 </style> |
| 583 <style name="MaterialProgressBar" parent="Widget.AppCompat.ProgressBar.Horiz
ontal"> | 583 <style name="MaterialProgressBar" parent="Widget.AppCompat.ProgressBar.Horiz
ontal"> |
| 584 <item name="android:progressDrawable">@drawable/material_progressbar</it
em> | 584 <item name="android:progressDrawable">@drawable/material_progressbar</it
em> |
| 585 </style> | 585 </style> |
| 586 | 586 |
| 587 <!-- New tab page RecyclerView overscroll color --> | 587 <!-- New tab page RecyclerView overscroll color --> |
| 588 <style name="NewTabPageRecyclerView"> | 588 <style name="NewTabPageRecyclerView"> |
| 589 <item name="android:colorEdgeEffect">@color/google_grey_300</item> | 589 <item name="android:colorEdgeEffect">@color/google_grey_300</item> |
| 590 </style> | 590 </style> |
| 591 </resources> | 591 </resources> |
| OLD | NEW |