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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 </style> | 546 </style> |
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 <style name="RobotoMediumStyle"> |
| 557 <item name="android:fontFamily">sans-serif</item> |
| 558 <item name="android:textStyle">bold</item> |
| 559 </style> |
| 560 |
556 <!-- New tab page RecyclerView overscroll color --> | 561 <!-- New tab page RecyclerView overscroll color --> |
557 <style name="NewTabPageRecyclerView"> | 562 <style name="NewTabPageRecyclerView"> |
558 <item name="android:colorEdgeEffect">@color/google_grey_300</item> | 563 <item name="android:colorEdgeEffect">@color/google_grey_300</item> |
559 </style> | 564 </style> |
560 </resources> | 565 </resources> |
OLD | NEW |