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

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: format Created 4 years, 6 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 <!-- Overriding AppCompat values --> 64 <!-- Overriding AppCompat values -->
65 <item name="colorAccent">@color/light_active_color</item> 65 <item name="colorAccent">@color/light_active_color</item>
66 <item name="colorControlActivated">@color/light_active_color</item> 66 <item name="colorControlActivated">@color/light_active_color</item>
67 <item name="colorControlNormal">@color/light_normal_color</item> 67 <item name="colorControlNormal">@color/light_normal_color</item>
68 <item name="colorPrimary">@color/light_active_color</item> 68 <item name="colorPrimary">@color/light_active_color</item>
69 69
70 <!-- Default TintedImageButton tint --> 70 <!-- Default TintedImageButton tint -->
71 <item name="tint">@color/dark_mode_tint</item> 71 <item name="tint">@color/dark_mode_tint</item>
72 </style> 72 </style>
73 73
74 <style name="LightweightFreDialog" parent="AlertDialogTheme">
75 <item name="windowNoTitle">true</item>
76 <item name="windowActionBar">false</item>
77 </style>
78
74 <!-- Preferences --> 79 <!-- Preferences -->
75 <style name="PreferencesTheme" parent="ThemeWithActionBar"> 80 <style name="PreferencesTheme" parent="ThemeWithActionBar">
76 <item name="android:textColorLink">@color/pref_accent_color</item> 81 <item name="android:textColorLink">@color/pref_accent_color</item>
77 <item name="android:textAppearanceMedium">@style/PreferenceTextAppearanc eMedium</item> 82 <item name="android:textAppearanceMedium">@style/PreferenceTextAppearanc eMedium</item>
78 <item name="android:preferenceCategoryStyle">@style/PreferenceCategory</ item> 83 <item name="android:preferenceCategoryStyle">@style/PreferenceCategory</ item>
79 <item name="android:spinnerItemStyle">@style/PreferenceSpinnerItem</item > 84 <item name="android:spinnerItemStyle">@style/PreferenceSpinnerItem</item >
80 <item name="floatLabelTextAppearance">@style/PreferenceFloatLabelTextApp earance</item> 85 <item name="floatLabelTextAppearance">@style/PreferenceFloatLabelTextApp earance</item>
81 <item name="floatLabelPaddingLeft">@dimen/pref_autofill_field_horizontal _padding</item> 86 <item name="floatLabelPaddingLeft">@dimen/pref_autofill_field_horizontal _padding</item>
82 <item name="floatLabelPaddingRight">@dimen/pref_autofill_field_horizonta l_padding</item> 87 <item name="floatLabelPaddingRight">@dimen/pref_autofill_field_horizonta l_padding</item>
83 <item name="floatLabelPaddingTop">@dimen/pref_autofill_field_top_padding </item> 88 <item name="floatLabelPaddingTop">@dimen/pref_autofill_field_top_padding </item>
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton"> 489 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton">
485 <item name="android:layout_width">43dp</item> 490 <item name="android:layout_width">43dp</item>
486 <item name="android:paddingEnd">3.5dp</item> 491 <item name="android:paddingEnd">3.5dp</item>
487 </style> 492 </style>
488 <style name="AppMenuItem"> 493 <style name="AppMenuItem">
489 <item name="android:paddingStart">16dp</item> 494 <item name="android:paddingStart">16dp</item>
490 <item name="android:paddingEnd">16dp</item> 495 <item name="android:paddingEnd">16dp</item>
491 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite m> 496 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite m>
492 </style> 497 </style>
493 </resources> 498 </resources>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698