| 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 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 571 <item name="android:textSize">20sp</item> | 571 <item name="android:textSize">20sp</item> |
| 572 </style> | 572 </style> |
| 573 <style name="PrivacyDisclaimerText"> | 573 <style name="PrivacyDisclaimerText"> |
| 574 <item name="android:layout_width">match_parent</item> | 574 <item name="android:layout_width">match_parent</item> |
| 575 <item name="android:layout_height">wrap_content</item> | 575 <item name="android:layout_height">wrap_content</item> |
| 576 <item name="android:layout_marginTop">6dp</item> | 576 <item name="android:layout_marginTop">6dp</item> |
| 577 <item name="android:lineSpacingExtra">6sp</item> | 577 <item name="android:lineSpacingExtra">6sp</item> |
| 578 <item name="android:textSize">14sp</item> | 578 <item name="android:textSize">14sp</item> |
| 579 <item name="android:visibility">gone</item> | 579 <item name="android:visibility">gone</item> |
| 580 </style> | 580 </style> |
| 581 <style name="DataUsageBreakdownColumnLabel"> |
| 582 <item name="android:layout_height">wrap_content</item> |
| 583 <item name="android:paddingBottom">10dp</item> |
| 584 <item name="android:paddingTop">10dp</item> |
| 585 <item name="android:singleLine">true</item> |
| 586 <item name="android:textSize">16sp</item> |
| 587 <item name="android:textAppearance">@style/RobotoMediumStyle</item> |
| 588 </style> |
| 589 <style name="DataUsageBreakdownColumnItem"> |
| 590 <item name="android:layout_height">wrap_content</item> |
| 591 <item name="android:paddingBottom">10dp</item> |
| 592 <item name="android:paddingTop">10dp</item> |
| 593 <item name="android:singleLine">true</item> |
| 594 <item name="android:textColor">?android:attr/textColorPrimary</item> |
| 595 <item name="android:textSize">14sp</item> |
| 596 </style> |
| 581 | 597 |
| 582 <!-- New tab page RecyclerView overscroll color --> | 598 <!-- New tab page RecyclerView overscroll color --> |
| 583 <style name="NewTabPageRecyclerView"> | 599 <style name="NewTabPageRecyclerView"> |
| 584 <item name="android:colorEdgeEffect">@color/google_grey_300</item> | 600 <item name="android:colorEdgeEffect">@color/google_grey_300</item> |
| 585 </style> | 601 </style> |
| 586 | 602 |
| 587 <!-- History UI --> | 603 <!-- History UI --> |
| 588 <style name="HistoryStartIcon"> | 604 <style name="HistoryStartIcon"> |
| 589 <item name="android:layout_width">@dimen/selectable_list_layout_start_ic
on_width</item> | 605 <item name="android:layout_width">@dimen/selectable_list_layout_start_ic
on_width</item> |
| 590 <item name="android:layout_height">match_parent</item> | 606 <item name="android:layout_height">match_parent</item> |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 666 <item name="android:contentDescription">@null</item> | 682 <item name="android:contentDescription">@null</item> |
| 667 <item name="android:scaleType">center</item> | 683 <item name="android:scaleType">center</item> |
| 668 <item name="android:background">@color/light_active_color</item> | 684 <item name="android:background">@color/light_active_color</item> |
| 669 </style> | 685 </style> |
| 670 | 686 |
| 671 <!-- Miscellaneous --> | 687 <!-- Miscellaneous --> |
| 672 <style name="BottomSheetContentTitle" parent="TextAppearance.Widget.AppCompa
t.Toolbar.Title"> | 688 <style name="BottomSheetContentTitle" parent="TextAppearance.Widget.AppCompa
t.Toolbar.Title"> |
| 673 <item name="android:textSize">20sp</item> | 689 <item name="android:textSize">20sp</item> |
| 674 </style> | 690 </style> |
| 675 </resources> | 691 </resources> |
| OLD | NEW |