| 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 <item name="android:textAlignment">viewStart</item> | 214 <item name="android:textAlignment">viewStart</item> |
| 215 <item name="android:paddingTop">10dp</item> | 215 <item name="android:paddingTop">10dp</item> |
| 216 </style> | 216 </style> |
| 217 | 217 |
| 218 <style name="OverflowMenuTheme" parent="Theme.AppCompat.Light"> | 218 <style name="OverflowMenuTheme" parent="Theme.AppCompat.Light"> |
| 219 <item name="android:popupBackground">@null</item> | 219 <item name="android:popupBackground">@null</item> |
| 220 <item name="android:listDivider">@null</item> | 220 <item name="android:listDivider">@null</item> |
| 221 <item name="android:listPreferredItemHeightSmall">48dp</item> | 221 <item name="android:listPreferredItemHeightSmall">48dp</item> |
| 222 <item name="android:textSize">16sp</item> | 222 <item name="android:textSize">16sp</item> |
| 223 </style> | 223 </style> |
| 224 <style name="OverflowMenuButton"> |
| 225 <item name="android:layout_width">0dp</item> |
| 226 <item name="android:layout_height">match_parent</item> |
| 227 <item name="android:layout_weight">1</item> |
| 228 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite
m> |
| 229 <item name="android:scaleType">center</item> |
| 230 </style> |
| 224 <style name="OverflowMenuAnim"> | 231 <style name="OverflowMenuAnim"> |
| 225 <item name="android:windowEnterAnimation">@anim/menu_enter</item> | 232 <item name="android:windowEnterAnimation">@anim/menu_enter</item> |
| 226 <item name="android:windowExitAnimation">@anim/menu_exit</item> | 233 <item name="android:windowExitAnimation">@anim/menu_exit</item> |
| 227 </style> | 234 </style> |
| 228 <style name="DistilledPagePrefThemeButton"> | 235 <style name="DistilledPagePrefThemeButton"> |
| 229 <item name="android:layout_width">0dp</item> | 236 <item name="android:layout_width">0dp</item> |
| 230 <item name="android:layout_height">wrap_content</item> | 237 <item name="android:layout_height">wrap_content</item> |
| 231 <item name="android:layout_weight">1</item> | 238 <item name="android:layout_weight">1</item> |
| 232 <item name="android:button">@null</item> | 239 <item name="android:button">@null</item> |
| 233 <item name="android:gravity">center</item> | 240 <item name="android:gravity">center</item> |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 556 <style name="RobotoMediumStyle"> | 563 <style name="RobotoMediumStyle"> |
| 557 <item name="android:fontFamily">sans-serif</item> | 564 <item name="android:fontFamily">sans-serif</item> |
| 558 <item name="android:textStyle">bold</item> | 565 <item name="android:textStyle">bold</item> |
| 559 </style> | 566 </style> |
| 560 | 567 |
| 561 <!-- New tab page RecyclerView overscroll color --> | 568 <!-- New tab page RecyclerView overscroll color --> |
| 562 <style name="NewTabPageRecyclerView"> | 569 <style name="NewTabPageRecyclerView"> |
| 563 <item name="android:colorEdgeEffect">@color/google_grey_300</item> | 570 <item name="android:colorEdgeEffect">@color/google_grey_300</item> |
| 564 </style> | 571 </style> |
| 565 </resources> | 572 </resources> |
| OLD | NEW |