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

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

Issue 2062083002: Implements the Lightweight First Run Experience (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 <!-- Overriding AppCompat values --> 76 <!-- Overriding AppCompat values -->
77 <item name="colorAccent">@color/light_active_color</item> 77 <item name="colorAccent">@color/light_active_color</item>
78 <item name="colorControlActivated">@color/light_active_color</item> 78 <item name="colorControlActivated">@color/light_active_color</item>
79 <item name="colorControlNormal">@color/light_normal_color</item> 79 <item name="colorControlNormal">@color/light_normal_color</item>
80 <item name="colorPrimary">@color/light_active_color</item> 80 <item name="colorPrimary">@color/light_active_color</item>
81 81
82 <!-- Default TintedImageButton tint --> 82 <!-- Default TintedImageButton tint -->
83 <item name="tint">@color/dark_mode_tint</item> 83 <item name="tint">@color/dark_mode_tint</item>
84 </style> 84 </style>
85 85
86 <style name="LightweightFreDialog" parent="AlertDialogTheme">
87 <item name="windowNoTitle">true</item>
88 <item name="windowActionBar">false</item>
89 </style>
90
86 <!-- Preferences --> 91 <!-- Preferences -->
87 <style name="PreferencesTheme" parent="ThemeWithActionBar"> 92 <style name="PreferencesTheme" parent="ThemeWithActionBar">
88 <item name="android:textColorLink">@color/pref_accent_color</item> 93 <item name="android:textColorLink">@color/pref_accent_color</item>
89 <item name="android:textAppearanceMedium">@style/PreferenceTextAppearanc eMedium</item> 94 <item name="android:textAppearanceMedium">@style/PreferenceTextAppearanc eMedium</item>
90 <item name="android:preferenceCategoryStyle">@style/PreferenceCategory</ item> 95 <item name="android:preferenceCategoryStyle">@style/PreferenceCategory</ item>
91 <item name="android:spinnerItemStyle">@style/PreferenceSpinnerItem</item > 96 <item name="android:spinnerItemStyle">@style/PreferenceSpinnerItem</item >
92 <item name="floatLabelTextAppearance">@style/PreferenceFloatLabelTextApp earance</item> 97 <item name="floatLabelTextAppearance">@style/PreferenceFloatLabelTextApp earance</item>
93 <item name="floatLabelPaddingLeft">@dimen/pref_autofill_field_horizontal _padding</item> 98 <item name="floatLabelPaddingLeft">@dimen/pref_autofill_field_horizontal _padding</item>
94 <item name="floatLabelPaddingRight">@dimen/pref_autofill_field_horizonta l_padding</item> 99 <item name="floatLabelPaddingRight">@dimen/pref_autofill_field_horizonta l_padding</item>
95 <item name="floatLabelPaddingTop">@dimen/pref_autofill_field_top_padding </item> 100 <item name="floatLabelPaddingTop">@dimen/pref_autofill_field_top_padding </item>
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton"> 547 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton">
543 <item name="android:layout_width">43dp</item> 548 <item name="android:layout_width">43dp</item>
544 <item name="android:paddingEnd">3.5dp</item> 549 <item name="android:paddingEnd">3.5dp</item>
545 </style> 550 </style>
546 <style name="AppMenuItem"> 551 <style name="AppMenuItem">
547 <item name="android:paddingStart">16dp</item> 552 <item name="android:paddingStart">16dp</item>
548 <item name="android:paddingEnd">16dp</item> 553 <item name="android:paddingEnd">16dp</item>
549 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite m> 554 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite m>
550 </style> 555 </style>
551 </resources> 556 </resources>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698