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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 </style> | 44 </style> |
45 | 45 |
46 <style name="FullscreenWhiteDialog" parent="Theme.AppCompat.Light" > | 46 <style name="FullscreenWhiteDialog" parent="Theme.AppCompat.Light" > |
47 <item name="android:windowBackground">@android:color/white</item> | 47 <item name="android:windowBackground">@android:color/white</item> |
48 <item name="android:textColorLink">@color/light_active_color</item> | 48 <item name="android:textColorLink">@color/light_active_color</item> |
49 <item name="android:statusBarColor" tools:targetApi="21">@android:color/
black</item> | 49 <item name="android:statusBarColor" tools:targetApi="21">@android:color/
black</item> |
50 <item name="colorPrimary">@color/light_active_color</item> | 50 <item name="colorPrimary">@color/light_active_color</item> |
51 <item name="colorAccent">@color/light_active_color</item> | 51 <item name="colorAccent">@color/light_active_color</item> |
52 </style> | 52 </style> |
53 | 53 |
| 54 <style name="DownloadActivityTheme" parent="FullscreenWhiteDialog"> |
| 55 <item name="colorPrimaryDark">@android:color/black</item> |
| 56 |
| 57 <!-- Remove ActionBar --> |
| 58 <item name="windowNoTitle">true</item> |
| 59 <item name="windowActionBar">false</item> |
| 60 </style> |
| 61 |
54 <!-- Web app themes --> | 62 <!-- Web app themes --> |
55 <style name="WebappTheme" parent="MainTheme"> | 63 <style name="WebappTheme" parent="MainTheme"> |
56 <item name="android:windowBackground">@null</item> | 64 <item name="android:windowBackground">@null</item> |
57 <item name="android:windowDisablePreview">true</item> | 65 <item name="android:windowDisablePreview">true</item> |
58 </style> | 66 </style> |
59 <style name="WebappSplashScreenTextTheme"> | 67 <style name="WebappSplashScreenTextTheme"> |
60 <item name="android:textSize">24sp</item> | 68 <item name="android:textSize">24sp</item> |
61 <item name="android:ellipsize">end</item> | 69 <item name="android:ellipsize">end</item> |
62 <item name="android:textColor">@color/default_text_color</item> | 70 <item name="android:textColor">@color/default_text_color</item> |
63 <item name="android:gravity">center</item> | 71 <item name="android:gravity">center</item> |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 </style> | 571 </style> |
564 <style name="AppMenuItem"> | 572 <style name="AppMenuItem"> |
565 <item name="android:paddingStart">16dp</item> | 573 <item name="android:paddingStart">16dp</item> |
566 <item name="android:paddingEnd">16dp</item> | 574 <item name="android:paddingEnd">16dp</item> |
567 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite
m> | 575 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite
m> |
568 </style> | 576 </style> |
569 <style name="RobotoMediumStyle"> | 577 <style name="RobotoMediumStyle"> |
570 <item name="android:fontFamily">sans-serif</item> | 578 <item name="android:fontFamily">sans-serif</item> |
571 <item name="android:textStyle">bold</item> | 579 <item name="android:textStyle">bold</item> |
572 </style> | 580 </style> |
| 581 <style name="MaterialProgressBar" parent="Widget.AppCompat.ProgressBar.Horiz
ontal"> |
| 582 <item name="android:progressDrawable">@drawable/material_progressbar</it
em> |
| 583 </style> |
573 | 584 |
574 <!-- New tab page RecyclerView overscroll color --> | 585 <!-- New tab page RecyclerView overscroll color --> |
575 <style name="NewTabPageRecyclerView"> | 586 <style name="NewTabPageRecyclerView"> |
576 <item name="android:colorEdgeEffect">@color/google_grey_300</item> | 587 <item name="android:colorEdgeEffect">@color/google_grey_300</item> |
577 </style> | 588 </style> |
578 </resources> | 589 </resources> |
OLD | NEW |