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 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 </style> | 566 </style> |
567 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton"> | 567 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton"> |
568 <item name="android:layout_width">43dp</item> | 568 <item name="android:layout_width">43dp</item> |
569 <item name="android:paddingEnd">3.5dp</item> | 569 <item name="android:paddingEnd">3.5dp</item> |
570 </style> | 570 </style> |
571 <style name="AppMenuItem"> | 571 <style name="AppMenuItem"> |
572 <item name="android:paddingStart">16dp</item> | 572 <item name="android:paddingStart">16dp</item> |
573 <item name="android:paddingEnd">16dp</item> | 573 <item name="android:paddingEnd">16dp</item> |
574 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite
m> | 574 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite
m> |
575 </style> | 575 </style> |
576 <style name="RobotoMediumStyle"> | |
577 <item name="android:fontFamily">sans-serif</item> | |
578 <item name="android:textStyle">bold</item> | |
579 </style> | |
580 <style name="NumberRollTextViewStyle"> | 576 <style name="NumberRollTextViewStyle"> |
581 <item name="android:layout_width">wrap_content</item> | 577 <item name="android:layout_width">wrap_content</item> |
582 <item name="android:layout_height">wrap_content</item> | 578 <item name="android:layout_height">wrap_content</item> |
583 <item name="android:layout_gravity">center_vertical</item> | 579 <item name="android:layout_gravity">center_vertical</item> |
584 <item name="android:singleLine">true</item> | 580 <item name="android:singleLine">true</item> |
585 <item name="android:textColor">@android:color/white</item> | 581 <item name="android:textColor">@android:color/white</item> |
586 <item name="android:textSize">20sp</item> | 582 <item name="android:textSize">20sp</item> |
587 </style> | 583 </style> |
588 <style name="BottomSheetContentTitle" parent="TextAppearance.Widget.AppCompa
t.Toolbar.Title"> | 584 <style name="BottomSheetContentTitle" parent="TextAppearance.Widget.AppCompa
t.Toolbar.Title"> |
589 <item name="android:textSize">20sp</item> | 585 <item name="android:textSize">20sp</item> |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
748 <item name="android:windowEnterAnimation">@anim/design_bottom_sheet_slid
e_in</item> | 744 <item name="android:windowEnterAnimation">@anim/design_bottom_sheet_slid
e_in</item> |
749 <item name="android:windowExitAnimation">@null</item> | 745 <item name="android:windowExitAnimation">@null</item> |
750 </style> | 746 </style> |
751 | 747 |
752 <!-- VR animations --> | 748 <!-- VR animations --> |
753 <style name="VrEntryAnimation"> | 749 <style name="VrEntryAnimation"> |
754 <item name="android:windowEnterAnimation">@anim/stay_hidden</item> | 750 <item name="android:windowEnterAnimation">@anim/stay_hidden</item> |
755 <item name="android:windowExitAnimation">@null</item> | 751 <item name="android:windowExitAnimation">@null</item> |
756 </style> | 752 </style> |
757 </resources> | 753 </resources> |
OLD | NEW |