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 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
518 </style> | 518 </style> |
519 <style name="PaymentsUiSectionPendingTextEndAligned" parent="PaymentsUiSecti
onDescriptiveTextEndAligned"> | 519 <style name="PaymentsUiSectionPendingTextEndAligned" parent="PaymentsUiSecti
onDescriptiveTextEndAligned"> |
520 <item name="android:textColor">@color/explanation_text_color</item> | 520 <item name="android:textColor">@color/explanation_text_color</item> |
521 </style> | 521 </style> |
522 <style name="PaymentsUiSectionAddButtonLabel"> | 522 <style name="PaymentsUiSectionAddButtonLabel"> |
523 <item name="android:textColor">@color/light_active_color</item> | 523 <item name="android:textColor">@color/light_active_color</item> |
524 <item name="android:textSize">14sp</item> | 524 <item name="android:textSize">14sp</item> |
525 <item name="android:textAllCaps">true</item> | 525 <item name="android:textAllCaps">true</item> |
526 </style> | 526 </style> |
527 | 527 |
528 <!-- Progress bars --> | |
529 <style name="DownloadProgressBar" parent="Widget.AppCompat.ProgressBar.Horiz
ontal"> | |
530 <item name="android:indeterminateDrawable">@drawable/download_progressba
r</item> | |
531 <item name="android:indeterminateDuration">250</item> | |
532 <item name="android:progressDrawable">@drawable/download_progressbar</it
em> | |
533 </style> | |
534 <style name="MaterialProgressBar" parent="Widget.AppCompat.ProgressBar.Horiz
ontal"> | |
535 <item name="android:progressDrawable">@drawable/material_progressbar</it
em> | |
536 </style> | |
537 | |
538 <!-- Misc styles --> | 528 <!-- Misc styles --> |
539 <style name="LocationBarButton"> | 529 <style name="LocationBarButton"> |
540 <item name="android:background">@null</item> | 530 <item name="android:background">@null</item> |
541 </style> | 531 </style> |
542 <style name="LocationBarButtonTablet" parent="LocationBarButton"> | 532 <style name="LocationBarButtonTablet" parent="LocationBarButton"> |
543 <item name="android:layout_width">@dimen/location_bar_icon_width</item> | 533 <item name="android:layout_width">@dimen/location_bar_icon_width</item> |
544 <item name="android:layout_height">match_parent</item> | 534 <item name="android:layout_height">match_parent</item> |
545 <item name="android:scaleType">center</item> | 535 <item name="android:scaleType">center</item> |
546 <item name="android:layout_gravity">end</item> | 536 <item name="android:layout_gravity">end</item> |
547 </style> | 537 </style> |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 <item name="android:paddingEnd">16dp</item> | 580 <item name="android:paddingEnd">16dp</item> |
591 <item name="android:textSize">16sp</item> | 581 <item name="android:textSize">16sp</item> |
592 <item name="android:visibility">gone</item> | 582 <item name="android:visibility">gone</item> |
593 </style> | 583 </style> |
594 | 584 |
595 <!-- New tab page RecyclerView overscroll color --> | 585 <!-- New tab page RecyclerView overscroll color --> |
596 <style name="NewTabPageRecyclerView"> | 586 <style name="NewTabPageRecyclerView"> |
597 <item name="android:colorEdgeEffect">@color/google_grey_300</item> | 587 <item name="android:colorEdgeEffect">@color/google_grey_300</item> |
598 </style> | 588 </style> |
599 </resources> | 589 </resources> |
OLD | NEW |