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

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: Created 5 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 20 matching lines...) Expand all
31 <!-- Navigation Transitions, requires API level 21 --> 31 <!-- Navigation Transitions, requires API level 21 -->
32 <item name="android:windowAllowEnterTransitionOverlap" tools:targetApi=" 21">false</item> 32 <item name="android:windowAllowEnterTransitionOverlap" tools:targetApi=" 21">false</item>
33 <item name="android:windowAllowReturnTransitionOverlap" tools:targetApi= "21">true</item> 33 <item name="android:windowAllowReturnTransitionOverlap" tools:targetApi= "21">true</item>
34 <item name="android:windowContentTransitions" tools:targetApi="21">true< /item> 34 <item name="android:windowContentTransitions" tools:targetApi="21">true< /item>
35 <item name="android:windowEnterTransition" tools:targetApi="21">@transit ion/fade</item> 35 <item name="android:windowEnterTransition" tools:targetApi="21">@transit ion/fade</item>
36 <item name="android:windowExitTransition" tools:targetApi="21">@null</it em> 36 <item name="android:windowExitTransition" tools:targetApi="21">@null</it em>
37 <item name="android:windowSharedElementEnterTransition" tools:targetApi= "21">@transition/move_image</item> 37 <item name="android:windowSharedElementEnterTransition" tools:targetApi= "21">@transition/move_image</item>
38 <item name="android:windowSharedElementExitTransition" tools:targetApi=" 21">@transition/move_image</item> 38 <item name="android:windowSharedElementExitTransition" tools:targetApi=" 21">@transition/move_image</item>
39 </style> 39 </style>
40 40
41 <style name="WebApp" parent="MainTheme">
newt (away) 2015/07/24 19:22:04 nit: call this WebAppTheme to distinguish it from
42 <item name="android:windowDisablePreview">true</item>
David Trainor- moved to gerrit 2015/07/24 20:39:19 Should we be setting the window background color h
Lalit Maganti 2015/07/30 10:15:33 Currently we could indeed do this. However, the id
43 </style>
44 <style name="WebAppSplashScreenTextAppearanceTitle" parent="TextAppearance.A ppCompat.Title">
45 <item name="android:fontFamily">sans-serif-condensed</item>
46 <item name="android:textSize">@dimen/webapp_splash_title_size</item>
47 <item name="android:textColor">@color/webapp_splash_title</item>
48 </style>
49
41 <!-- A theme for alert dialogs. The colors are copied from MainTheme, and th e window 50 <!-- A theme for alert dialogs. The colors are copied from MainTheme, and th e window
42 dimensions are copied from *.MinWidth theme variants. Sadly there is no 51 dimensions are copied from *.MinWidth theme variants. Sadly there is no
43 AppCompat.Light.Dialog.Alert or even AppCompat.Light.Dialog.MinWidth. - -> 52 AppCompat.Light.Dialog.Alert or even AppCompat.Light.Dialog.MinWidth. - ->
44 <style name="AlertDialogTheme" parent="Theme.AppCompat.Light.Dialog"> 53 <style name="AlertDialogTheme" parent="Theme.AppCompat.Light.Dialog">
45 <item name="android:textColorHighlight">@color/text_highlight_color</ite m> 54 <item name="android:textColorHighlight">@color/text_highlight_color</ite m>
46 <item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width _major</item> 55 <item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width _major</item>
47 <item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width _minor</item> 56 <item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width _minor</item>
48 57
49 <!-- Overriding AppCompat values --> 58 <!-- Overriding AppCompat values -->
50 <item name="colorAccent">@color/light_active_color</item> 59 <item name="colorAccent">@color/light_active_color</item>
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 <style name="LocationBarButton"> 375 <style name="LocationBarButton">
367 <item name="android:background">@null</item> 376 <item name="android:background">@null</item>
368 </style> 377 </style>
369 <style name="ToolbarButton"> 378 <style name="ToolbarButton">
370 <item name="android:background">?attr/selectableItemBackground</item> 379 <item name="android:background">?attr/selectableItemBackground</item>
371 <item name="android:layout_width">48dp</item> 380 <item name="android:layout_width">48dp</item>
372 <item name="android:layout_height">56dp</item> 381 <item name="android:layout_height">56dp</item>
373 <item name="android:scaleType">center</item> 382 <item name="android:scaleType">center</item>
374 </style> 383 </style>
375 </resources> 384 </resources>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698