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

Unified Diff: chrome/android/java/res/layout/webapp_splash_screen.xml

Issue 1239923002: webapps: add splashscreen for installed webapps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@manifest-title
Patch Set: Fix test compile 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/android/java/res/layout/webapp_splashscreen.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/layout/webapp_splash_screen.xml
diff --git a/chrome/android/java/res/layout/webapp_splash_screen.xml b/chrome/android/java/res/layout/webapp_splash_screen.xml
new file mode 100644
index 0000000000000000000000000000000000000000..51881d655b892aac9ce234f3ee71bea06deabb04
--- /dev/null
+++ b/chrome/android/java/res/layout/webapp_splash_screen.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2015 The Chromium Authors. All rights reserved.
+
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file.
+-->
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <ImageView
+ android:id="@+id/webapp_splash_screen_icon"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:contentDescription="@null" />
+
+ <TextView
+ android:id="@+id/webapp_splash_screen_name"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom|center_horizontal"
+ android:layout_marginBottom="64dp"
+ android:fontFamily="sans-serif-condensed"
+ android:textColor="@color/default_text_color"
+ android:textSize="24sp" />
+</FrameLayout>
« no previous file with comments | « no previous file | chrome/android/java/res/layout/webapp_splashscreen.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698