Add launch screen
quantum_launchscreen_contacts.xml files are generated by following
go/launch-screens
All added drawables are copied from:
java/com/google/android/assets/product/res/*/*.png
java/com/google/android/assets/googlelogo/res/*/*.png
All added dimens are copied from:
java/com/google/android/assets/launchscreens/res/*/dimens.xml
Bug: 30255034
Bug: 35360058
Test: on nexus 5x and 9, observe launch screen shown correctly.
Change-Id: If9a659b65ef9d0ea38b377b8ecdb5382314570f5
diff --git a/res/drawable/quantum_launchscreen_contacts.xml b/res/drawable/quantum_launchscreen_contacts.xml
new file mode 100755
index 0000000..1995899
--- /dev/null
+++ b/res/drawable/quantum_launchscreen_contacts.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright (C) 2017 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
+ android:opacity="opaque">
+ <item android:drawable="@android:color/white" />
+ <item
+ android:id="@+id/launchscreens_product_logo"
+ android:bottom="@dimen/launchscreens_product_logo_bottom">
+ <bitmap
+ android:gravity="center"
+ android:src="@drawable/product_logo_contacts_color_144" />
+ </item>
+ <item
+ android:id="@+id/launchscreens_logo_text"
+ android:bottom="@dimen/launchscreens_google_logo_bottom">
+ <bitmap
+ android:gravity="center_horizontal|bottom"
+ android:src="@drawable/googlelogo_dark20_color_132x44" />
+ </item>
+</layer-list>