| 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 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 606 <item name="android:paddingEnd">@dimen/selectable_list_layout_row_end_pa
dding</item> | 606 <item name="android:paddingEnd">@dimen/selectable_list_layout_row_end_pa
dding</item> |
| 607 </style> | 607 </style> |
| 608 | 608 |
| 609 <!-- Download Home --> | 609 <!-- Download Home --> |
| 610 <style name="DownloadHomeStatusText"> | 610 <style name="DownloadHomeStatusText"> |
| 611 <item name="android:layout_width">wrap_content</item> | 611 <item name="android:layout_width">wrap_content</item> |
| 612 <item name="android:layout_height">wrap_content</item> | 612 <item name="android:layout_height">wrap_content</item> |
| 613 <item name="android:layout_marginTop">0dp</item> | 613 <item name="android:layout_marginTop">0dp</item> |
| 614 <item name="android:minHeight">18dp</item> | 614 <item name="android:minHeight">18dp</item> |
| 615 <item name="android:textColor">@color/google_grey_600</item> | 615 <item name="android:textColor">@color/google_grey_600</item> |
| 616 <item name="android:textSize">12sp</item>1 | 616 <item name="android:textSize">12sp</item> |
| 617 <item name="android:ellipsize">start</item> | 617 <item name="android:ellipsize">start</item> |
| 618 <item name="android:singleLine">true</item> | 618 <item name="android:singleLine">true</item> |
| 619 </style> | 619 </style> |
| 620 |
| 621 <style name="DateView" parent="RobotoMediumStyle"> |
| 622 <item name="android:layout_width">match_parent</item> |
| 623 <item name="android:layout_height">wrap_content</item> |
| 624 <item name="android:layout_marginTop">12dp</item> |
| 625 <item name="android:layout_marginBottom">10dp</item> |
| 626 <item name="android:textSize">14sp</item> |
| 627 </style> |
| 620 </resources> | 628 </resources> |
| OLD | NEW |