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 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 <item name="android:textSize">20sp</item> | 590 <item name="android:textSize">20sp</item> |
591 </style> | 591 </style> |
592 <style name="PrivacyDisclaimerText"> | 592 <style name="PrivacyDisclaimerText"> |
593 <item name="android:layout_width">match_parent</item> | 593 <item name="android:layout_width">match_parent</item> |
594 <item name="android:layout_height">wrap_content</item> | 594 <item name="android:layout_height">wrap_content</item> |
595 <item name="android:layout_marginTop">6dp</item> | 595 <item name="android:layout_marginTop">6dp</item> |
596 <item name="android:lineSpacingExtra">6sp</item> | 596 <item name="android:lineSpacingExtra">6sp</item> |
597 <item name="android:textSize">14sp</item> | 597 <item name="android:textSize">14sp</item> |
598 <item name="android:visibility">gone</item> | 598 <item name="android:visibility">gone</item> |
599 </style> | 599 </style> |
| 600 <style name="DataUsageBreakdownColumnLabel"> |
| 601 <item name="android:layout_height">wrap_content</item> |
| 602 <item name="android:paddingBottom">10dp</item> |
| 603 <item name="android:paddingTop">10dp</item> |
| 604 <item name="android:singleLine">true</item> |
| 605 <item name="android:textSize">16sp</item> |
| 606 <item name="android:textAppearance">@style/RobotoMediumStyle</item> |
| 607 </style> |
| 608 <style name="DataUsageBreakdownColumnItem"> |
| 609 <item name="android:layout_height">wrap_content</item> |
| 610 <item name="android:paddingBottom">10dp</item> |
| 611 <item name="android:paddingTop">10dp</item> |
| 612 <item name="android:singleLine">true</item> |
| 613 <item name="android:textColor">?android:attr/textColorPrimary</item> |
| 614 <item name="android:textSize">14sp</item> |
| 615 </style> |
600 | 616 |
601 <!-- New tab page RecyclerView overscroll color --> | 617 <!-- New tab page RecyclerView overscroll color --> |
602 <style name="NewTabPageRecyclerView"> | 618 <style name="NewTabPageRecyclerView"> |
603 <item name="android:colorEdgeEffect">@color/google_grey_300</item> | 619 <item name="android:colorEdgeEffect">@color/google_grey_300</item> |
604 </style> | 620 </style> |
605 | 621 |
606 <!-- History UI --> | 622 <!-- History UI --> |
607 <style name="HistoryStartIcon"> | 623 <style name="HistoryStartIcon"> |
608 <item name="android:layout_width">@dimen/selectable_list_layout_start_ic
on_width</item> | 624 <item name="android:layout_width">@dimen/selectable_list_layout_start_ic
on_width</item> |
609 <item name="android:layout_height">match_parent</item> | 625 <item name="android:layout_height">match_parent</item> |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
685 <item name="android:contentDescription">@null</item> | 701 <item name="android:contentDescription">@null</item> |
686 <item name="android:scaleType">center</item> | 702 <item name="android:scaleType">center</item> |
687 <item name="android:background">@color/light_active_color</item> | 703 <item name="android:background">@color/light_active_color</item> |
688 </style> | 704 </style> |
689 | 705 |
690 <!-- Miscellaneous --> | 706 <!-- Miscellaneous --> |
691 <style name="BottomSheetContentTitle" parent="TextAppearance.Widget.AppCompa
t.Toolbar.Title"> | 707 <style name="BottomSheetContentTitle" parent="TextAppearance.Widget.AppCompa
t.Toolbar.Title"> |
692 <item name="android:textSize">20sp</item> | 708 <item name="android:textSize">20sp</item> |
693 </style> | 709 </style> |
694 </resources> | 710 </resources> |
OLD | NEW |