Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: chrome/android/java/res/values-v17/styles.xml

Issue 2813923003: Add sorting to the Data Saver site breakdown (Closed)
Patch Set: remove dependency Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 <item name="android:selectable">false</item> 112 <item name="android:selectable">false</item>
113 </style> 113 </style>
114 <style name="PreferenceCategoryWithButtonStyle"> 114 <style name="PreferenceCategoryWithButtonStyle">
115 <item name="android:paddingStart">8dp</item> 115 <item name="android:paddingStart">8dp</item>
116 <item name="android:paddingEnd">4dp</item> 116 <item name="android:paddingEnd">4dp</item>
117 <item name="android:paddingTop">16dp</item> 117 <item name="android:paddingTop">16dp</item>
118 <item name="android:layout_marginBottom">16dp</item> 118 <item name="android:layout_marginBottom">16dp</item>
119 </style> 119 </style>
120 <style name="PreferenceCategoryTextStyle"> 120 <style name="PreferenceCategoryTextStyle">
121 <item name="android:textColor">@color/pref_accent_color</item> 121 <item name="android:textColor">@color/pref_accent_color</item>
122 <item name="android:textSize">14sp</item> 122 <item name="android:textSize">12sp</item>
123 <item name="android:textStyle">bold</item> 123 <item name="android:textStyle">bold</item>
124 </style> 124 </style>
125 <style name="PreferenceTitle"> 125 <style name="PreferenceTitle">
126 <item name="android:ellipsize">end</item> 126 <item name="android:ellipsize">end</item>
127 <item name="android:singleLine">true</item> 127 <item name="android:singleLine">true</item>
128 <item name="android:textAppearance">?android:attr/textAppearanceMedium</ item> 128 <item name="android:textAppearance">?android:attr/textAppearanceMedium</ item>
129 </style> 129 </style>
130 <style name="PreferenceSummary"> 130 <style name="PreferenceSummary">
131 <item name="android:textAppearance">?android:attr/textAppearanceSmall</i tem> 131 <item name="android:textAppearance">?android:attr/textAppearanceSmall</i tem>
132 <item name="android:textColor">?android:attr/textColorSecondary</item> 132 <item name="android:textColor">?android:attr/textColorSecondary</item>
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 <item name="android:textSize">20sp</item> 580 <item name="android:textSize">20sp</item>
581 </style> 581 </style>
582 <style name="PrivacyDisclaimerText"> 582 <style name="PrivacyDisclaimerText">
583 <item name="android:layout_width">match_parent</item> 583 <item name="android:layout_width">match_parent</item>
584 <item name="android:layout_height">wrap_content</item> 584 <item name="android:layout_height">wrap_content</item>
585 <item name="android:layout_marginTop">6dp</item> 585 <item name="android:layout_marginTop">6dp</item>
586 <item name="android:lineSpacingExtra">6sp</item> 586 <item name="android:lineSpacingExtra">6sp</item>
587 <item name="android:textSize">14sp</item> 587 <item name="android:textSize">14sp</item>
588 <item name="android:visibility">gone</item> 588 <item name="android:visibility">gone</item>
589 </style> 589 </style>
590 <style name="DataUsageBreakdownColumnLabel">
591 <item name="android:layout_height">wrap_content</item>
592 <item name="android:paddingBottom">10dp</item>
593 <item name="android:paddingTop">10dp</item>
594 <item name="android:singleLine">true</item>
595 <item name="android:textSize">16sp</item>
596 <item name="android:textAppearance">@style/RobotoMediumStyle</item>
597 </style>
598 <style name="DataUsageBreakdownColumnItem">
599 <item name="android:layout_height">wrap_content</item>
600 <item name="android:paddingBottom">10dp</item>
601 <item name="android:paddingTop">10dp</item>
602 <item name="android:singleLine">true</item>
603 <item name="android:textColor">?android:attr/textColorPrimary</item>
604 <item name="android:textSize">14sp</item>
605 </style>
606 590
607 <!-- New tab page RecyclerView overscroll color --> 591 <!-- New tab page RecyclerView overscroll color -->
608 <style name="NewTabPageRecyclerView"> 592 <style name="NewTabPageRecyclerView">
609 <item name="android:colorEdgeEffect">@color/google_grey_300</item> 593 <item name="android:colorEdgeEffect">@color/google_grey_300</item>
610 </style> 594 </style>
611 595
612 <!-- History UI --> 596 <!-- History UI -->
613 <style name="HistoryStartIcon"> 597 <style name="HistoryStartIcon">
614 <item name="android:layout_width">@dimen/selectable_list_layout_start_ic on_width</item> 598 <item name="android:layout_width">@dimen/selectable_list_layout_start_ic on_width</item>
615 <item name="android:layout_height">match_parent</item> 599 <item name="android:layout_height">match_parent</item>
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 </style> 670 </style>
687 <style name="DownloadIconView"> 671 <style name="DownloadIconView">
688 <item name="android:layout_width">@dimen/downloads_item_icon_size</item> 672 <item name="android:layout_width">@dimen/downloads_item_icon_size</item>
689 <item name="android:layout_height">@dimen/downloads_item_icon_size</item > 673 <item name="android:layout_height">@dimen/downloads_item_icon_size</item >
690 <item name="android:layout_marginEnd">16dp</item> 674 <item name="android:layout_marginEnd">16dp</item>
691 <item name="android:contentDescription">@null</item> 675 <item name="android:contentDescription">@null</item>
692 <item name="android:scaleType">center</item> 676 <item name="android:scaleType">center</item>
693 <item name="android:background">@color/light_active_color</item> 677 <item name="android:background">@color/light_active_color</item>
694 </style> 678 </style>
695 679
680 <!-- Data Reduction -->
681 <style name="DataReductionPrefSecondaryStyle">
682 <item name="android:textColor">?android:attr/textColorSecondary</item>
683 <item name="android:textSize">12sp</item>
684 </style>
685 <style name="DataUsageBreakdownColumnLabel">
686 <item name="android:layout_height">wrap_content</item>
687 <item name="android:paddingBottom">10dp</item>
688 <item name="android:paddingTop">10dp</item>
689 <item name="android:singleLine">true</item>
690 <item name="android:textSize">14sp</item>
691 <item name="android:textAppearance">@style/RobotoMediumStyle</item>
692 </style>
693 <style name="DataUsageBreakdownColumnItem">
694 <item name="android:layout_height">wrap_content</item>
695 <item name="android:paddingBottom">10dp</item>
696 <item name="android:paddingTop">10dp</item>
697 <item name="android:singleLine">true</item>
698 <item name="android:textColor">@color/data_reduction_breakdown_text_colo r</item>
699 <item name="android:textSize">12sp</item>
700 </style>
701
696 <!-- Miscellaneous --> 702 <!-- Miscellaneous -->
697 <style name="BottomSheetContentTitle" parent="TextAppearance.Widget.AppCompa t.Toolbar.Title"> 703 <style name="BottomSheetContentTitle" parent="TextAppearance.Widget.AppCompa t.Toolbar.Title">
698 <item name="android:textSize">20sp</item> 704 <item name="android:textSize">20sp</item>
699 </style> 705 </style>
700 </resources> 706 </resources>
OLDNEW
« no previous file with comments | « chrome/android/java/res/layout/data_usage_breakdown_row.xml ('k') | chrome/android/java/res/values-v21/styles.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698