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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 <item name="android:textColor">@color/default_text_color</item> | 412 <item name="android:textColor">@color/default_text_color</item> |
413 <item name="android:textColorLink">@color/light_active_color</item> | 413 <item name="android:textColorLink">@color/light_active_color</item> |
414 <item name="colorPrimaryDark">@android:color/black</item> | 414 <item name="colorPrimaryDark">@android:color/black</item> |
415 <item name="colorAccent">@color/light_active_color</item> | 415 <item name="colorAccent">@color/light_active_color</item> |
416 | 416 |
417 <!-- Remove ActionBar --> | 417 <!-- Remove ActionBar --> |
418 <item name="windowNoTitle">true</item> | 418 <item name="windowNoTitle">true</item> |
419 <item name="windowActionBar">false</item> | 419 <item name="windowActionBar">false</item> |
420 </style> | 420 </style> |
421 | 421 |
| 422 <style name="SigninAlertDialogTheme" parent="AlertDialogTheme"> |
| 423 <item name="buttonBarButtonStyle">@style/SigninDialogButtonStyle</item> |
| 424 <item name="android:textColorPrimary">@color/default_text_color</item> |
| 425 </style> |
| 426 |
| 427 <style name="SigninDialogButtonStyle" parent="Widget.AppCompat.Button.Button
Bar.AlertDialog"> |
| 428 <item name="android:textColor">@color/light_active_color</item> |
| 429 </style> |
| 430 |
422 <!-- Bookmarks --> | 431 <!-- Bookmarks --> |
423 <style name="BookmarkTitleBarButton"> | 432 <style name="BookmarkTitleBarButton"> |
424 <item name="android:layout_width">wrap_content</item> | 433 <item name="android:layout_width">wrap_content</item> |
425 <item name="android:layout_height">wrap_content</item> | 434 <item name="android:layout_height">wrap_content</item> |
426 <item name="android:background">@null</item> | 435 <item name="android:background">@null</item> |
427 <item name="android:padding">15dp</item> | 436 <item name="android:padding">15dp</item> |
428 </style> | 437 </style> |
429 <style name="BookmarkMenuStyle" parent="Widget.AppCompat.ListPopupWindow"> | 438 <style name="BookmarkMenuStyle" parent="Widget.AppCompat.ListPopupWindow"> |
430 <item name="android:popupBackground">@drawable/menu_bg</item> | 439 <item name="android:popupBackground">@drawable/menu_bg</item> |
431 </style> | 440 </style> |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
676 <item name="android:contentDescription">@null</item> | 685 <item name="android:contentDescription">@null</item> |
677 <item name="android:scaleType">center</item> | 686 <item name="android:scaleType">center</item> |
678 <item name="android:background">@color/light_active_color</item> | 687 <item name="android:background">@color/light_active_color</item> |
679 </style> | 688 </style> |
680 | 689 |
681 <!-- Miscellaneous --> | 690 <!-- Miscellaneous --> |
682 <style name="BottomSheetContentTitle" parent="TextAppearance.Widget.AppCompa
t.Toolbar.Title"> | 691 <style name="BottomSheetContentTitle" parent="TextAppearance.Widget.AppCompa
t.Toolbar.Title"> |
683 <item name="android:textSize">20sp</item> | 692 <item name="android:textSize">20sp</item> |
684 </style> | 693 </style> |
685 </resources> | 694 </resources> |
OLD | NEW |