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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/res/values-v17/styles.xml
diff --git a/chrome/android/java/res/values-v17/styles.xml b/chrome/android/java/res/values-v17/styles.xml
index a711f4f4dafbeb88bb802608a1ed7f010c02bf29..653d67ea167c46a1e42f7c13ab2e8c3282745859 100644
--- a/chrome/android/java/res/values-v17/styles.xml
+++ b/chrome/android/java/res/values-v17/styles.xml
@@ -38,6 +38,15 @@
<item name="android:windowSharedElementExitTransition" tools:targetApi="21">@transition/move_image</item>
</style>
+ <style name="WebApp" parent="MainTheme">
newt (away) 2015/07/24 19:22:04 nit: call this WebAppTheme to distinguish it from
+ <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
+ </style>
+ <style name="WebAppSplashScreenTextAppearanceTitle" parent="TextAppearance.AppCompat.Title">
+ <item name="android:fontFamily">sans-serif-condensed</item>
+ <item name="android:textSize">@dimen/webapp_splash_title_size</item>
+ <item name="android:textColor">@color/webapp_splash_title</item>
+ </style>
+
<!-- A theme for alert dialogs. The colors are copied from MainTheme, and the window
dimensions are copied from *.MinWidth theme variants. Sadly there is no
AppCompat.Light.Dialog.Alert or even AppCompat.Light.Dialog.MinWidth. -->

Powered by Google App Engine
This is Rietveld 408576698