| 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 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 575 <item name="android:textStyle">bold</item> | 575 <item name="android:textStyle">bold</item> |
| 576 </style> | 576 </style> |
| 577 <style name="NumberRollTextViewStyle"> | 577 <style name="NumberRollTextViewStyle"> |
| 578 <item name="android:layout_width">wrap_content</item> | 578 <item name="android:layout_width">wrap_content</item> |
| 579 <item name="android:layout_height">wrap_content</item> | 579 <item name="android:layout_height">wrap_content</item> |
| 580 <item name="android:layout_gravity">center_vertical</item> | 580 <item name="android:layout_gravity">center_vertical</item> |
| 581 <item name="android:singleLine">true</item> | 581 <item name="android:singleLine">true</item> |
| 582 <item name="android:textColor">@android:color/white</item> | 582 <item name="android:textColor">@android:color/white</item> |
| 583 <item name="android:textSize">20sp</item> | 583 <item name="android:textSize">20sp</item> |
| 584 </style> | 584 </style> |
| 585 <style name="PrivacyDisclaimerText"> |
| 586 <item name="android:layout_width">match_parent</item> |
| 587 <item name="android:layout_height">wrap_content</item> |
| 588 <item name="android:layout_marginTop">16dp</item> |
| 589 <item name="android:paddingStart">16dp</item> |
| 590 <item name="android:paddingEnd">16dp</item> |
| 591 <item name="android:textSize">16sp</item> |
| 592 <item name="android:visibility">gone</item> |
| 593 </style> |
| 585 | 594 |
| 586 <!-- New tab page RecyclerView overscroll color --> | 595 <!-- New tab page RecyclerView overscroll color --> |
| 587 <style name="NewTabPageRecyclerView"> | 596 <style name="NewTabPageRecyclerView"> |
| 588 <item name="android:colorEdgeEffect">@color/google_grey_300</item> | 597 <item name="android:colorEdgeEffect">@color/google_grey_300</item> |
| 589 </style> | 598 </style> |
| 590 </resources> | 599 </resources> |
| OLD | NEW |