| 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 21 matching lines...) Expand all Loading... |
| 32 <!-- Navigation Transitions, requires API level 21 --> | 32 <!-- Navigation Transitions, requires API level 21 --> |
| 33 <item name="android:windowAllowEnterTransitionOverlap" tools:targetApi="
21">false</item> | 33 <item name="android:windowAllowEnterTransitionOverlap" tools:targetApi="
21">false</item> |
| 34 <item name="android:windowAllowReturnTransitionOverlap" tools:targetApi=
"21">true</item> | 34 <item name="android:windowAllowReturnTransitionOverlap" tools:targetApi=
"21">true</item> |
| 35 <item name="android:windowContentTransitions" tools:targetApi="21">true<
/item> | 35 <item name="android:windowContentTransitions" tools:targetApi="21">true<
/item> |
| 36 <item name="android:windowEnterTransition" tools:targetApi="21">@transit
ion/fade</item> | 36 <item name="android:windowEnterTransition" tools:targetApi="21">@transit
ion/fade</item> |
| 37 <item name="android:windowExitTransition" tools:targetApi="21">@null</it
em> | 37 <item name="android:windowExitTransition" tools:targetApi="21">@null</it
em> |
| 38 <item name="android:windowSharedElementEnterTransition" tools:targetApi=
"21">@transition/move_image</item> | 38 <item name="android:windowSharedElementEnterTransition" tools:targetApi=
"21">@transition/move_image</item> |
| 39 <item name="android:windowSharedElementExitTransition" tools:targetApi="
21">@transition/move_image</item> | 39 <item name="android:windowSharedElementExitTransition" tools:targetApi="
21">@transition/move_image</item> |
| 40 </style> | 40 </style> |
| 41 | 41 |
| 42 <style name="TabbedModeTheme" parent="MainTheme"> |
| 43 <item name="android:windowBackground">@drawable/window_background</item> |
| 44 </style> |
| 45 |
| 42 <!-- Web app themes --> | 46 <!-- Web app themes --> |
| 43 <style name="WebappTheme" parent="MainTheme"> | 47 <style name="WebappTheme" parent="MainTheme"> |
| 44 <item name="android:windowBackground">@null</item> | 48 <item name="android:windowBackground">@null</item> |
| 45 <item name="android:windowDisablePreview">true</item> | 49 <item name="android:windowDisablePreview">true</item> |
| 46 </style> | 50 </style> |
| 47 <style name="WebappSplashScreenTextTheme"> | 51 <style name="WebappSplashScreenTextTheme"> |
| 48 <item name="android:textSize">24sp</item> | 52 <item name="android:textSize">24sp</item> |
| 49 <item name="android:ellipsize">end</item> | 53 <item name="android:ellipsize">end</item> |
| 50 <item name="android:textColor">@color/default_text_color</item> | 54 <item name="android:textColor">@color/default_text_color</item> |
| 51 <item name="android:gravity">center</item> | 55 <item name="android:gravity">center</item> |
| (...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton"> | 533 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton"> |
| 530 <item name="android:layout_width">43dp</item> | 534 <item name="android:layout_width">43dp</item> |
| 531 <item name="android:paddingEnd">3.5dp</item> | 535 <item name="android:paddingEnd">3.5dp</item> |
| 532 </style> | 536 </style> |
| 533 <style name="AppMenuItem"> | 537 <style name="AppMenuItem"> |
| 534 <item name="android:paddingStart">16dp</item> | 538 <item name="android:paddingStart">16dp</item> |
| 535 <item name="android:paddingEnd">16dp</item> | 539 <item name="android:paddingEnd">16dp</item> |
| 536 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite
m> | 540 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite
m> |
| 537 </style> | 541 </style> |
| 538 </resources> | 542 </resources> |
| OLD | NEW |