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

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

Issue 1239923002: webapps: add splashscreen for installed webapps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@manifest-title
Patch Set: Fix compile and remove scaling Created 5 years, 3 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 26 matching lines...) Expand all
37 <item name="android:windowExitTransition" tools:targetApi="21">@null</it em> 37 <item name="android:windowExitTransition" tools:targetApi="21">@null</it em>
38 <item name="android:windowSharedElementEnterTransition" tools:targetApi= "21">@transition/move_image</item> 38 <item name="android:windowSharedElementEnterTransition" tools:targetApi= "21">@transition/move_image</item>
39 <item name="android:windowSharedElementExitTransition" tools:targetApi=" 21">@transition/move_image</item> 39 <item name="android:windowSharedElementExitTransition" tools:targetApi=" 21">@transition/move_image</item>
40 </style> 40 </style>
41 41
42 <style name="WebappTheme" parent="MainTheme"> 42 <style name="WebappTheme" parent="MainTheme">
43 <item name="android:windowBackground">@null</item> 43 <item name="android:windowBackground">@null</item>
44 <item name="android:windowDisablePreview">true</item> 44 <item name="android:windowDisablePreview">true</item>
45 </style> 45 </style>
46 46
47 <style name="WebAppSplashScreenTextAppearanceTitle" parent="TextAppearance.A ppCompat.Title">
48 <item name="android:fontFamily">sans-serif-condensed</item>
49 <item name="android:textSize">@dimen/webapp_splash_title_size</item>
50 <item name="android:textColor">@color/webapp_splash_title</item>
51 </style>
52
47 <!-- A theme for alert dialogs. The colors are copied from MainTheme, and th e window 53 <!-- A theme for alert dialogs. The colors are copied from MainTheme, and th e window
48 dimensions are copied from *.MinWidth theme variants. Sadly there is no 54 dimensions are copied from *.MinWidth theme variants. Sadly there is no
49 AppCompat.Light.Dialog.Alert or even AppCompat.Light.Dialog.MinWidth. - -> 55 AppCompat.Light.Dialog.Alert or even AppCompat.Light.Dialog.MinWidth. - ->
50 <style name="AlertDialogTheme" parent="Theme.AppCompat.Light.Dialog"> 56 <style name="AlertDialogTheme" parent="Theme.AppCompat.Light.Dialog">
51 <item name="android:textColorHighlight">@color/text_highlight_color</ite m> 57 <item name="android:textColorHighlight">@color/text_highlight_color</ite m>
52 <item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width _major</item> 58 <item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width _major</item>
53 <item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width _minor</item> 59 <item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width _minor</item>
54 60
55 <!-- Overriding AppCompat values --> 61 <!-- Overriding AppCompat values -->
56 <item name="colorAccent">@color/light_active_color</item> 62 <item name="colorAccent">@color/light_active_color</item>
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 <style name="LocationBarButton"> 378 <style name="LocationBarButton">
373 <item name="android:background">@null</item> 379 <item name="android:background">@null</item>
374 </style> 380 </style>
375 <style name="ToolbarButton"> 381 <style name="ToolbarButton">
376 <item name="android:background">?attr/selectableItemBackground</item> 382 <item name="android:background">?attr/selectableItemBackground</item>
377 <item name="android:layout_width">48dp</item> 383 <item name="android:layout_width">48dp</item>
378 <item name="android:layout_height">56dp</item> 384 <item name="android:layout_height">56dp</item>
379 <item name="android:scaleType">center</item> 385 <item name="android:scaleType">center</item>
380 </style> 386 </style>
381 </resources> 387 </resources>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698