summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorLuis Mejia <lmejia@cyngn.com>2016-07-14 11:51:58 -0700
committerLuis Mejia <lmejia@cyngn.com>2016-07-14 19:27:13 -0700
commitb31e14b835fc09d020ea4022ed5fc518cb8410f2 (patch)
tree8dfeedbc30bd4d6701ef673d0875f66e83456265 /res
parent7c1cf5a2324b1622a12afa115bedd7a9c2031b0a (diff)
downloadpackages_apps_SetupWizard-b31e14b835fc09d020ea4022ed5fc518cb8410f2.zip
packages_apps_SetupWizard-b31e14b835fc09d020ea4022ed5fc518cb8410f2.tar.gz
packages_apps_SetupWizard-b31e14b835fc09d020ea4022ed5fc518cb8410f2.tar.bz2
Replaced last panel with ModGuide panel.
- Created and added ModGuide panel. - Added the ability to chnage navigation color. - Added the ability to start an app after wizard completion. Issue-Id: MSC-14 Change-Id: I8e17735d1a9edbd529339982981f8270cde83d96
Diffstat (limited to 'res')
-rw-r--r--res/drawable-hdpi/btn_mod_oobe.9.pngbin0 -> 1349 bytes
-rw-r--r--res/drawable-mdpi/btn_mod_oobe.9.pngbin0 -> 858 bytes
-rw-r--r--res/drawable-xhdpi/btn_mod_oobe.9.pngbin0 -> 2049 bytes
-rw-r--r--res/drawable-xxhdpi/btn_mod_oobe.9.pngbin0 -> 3489 bytes
-rw-r--r--res/drawable-xxxhdpi/btn_mod_oobe.9.pngbin0 -> 4854 bytes
-rw-r--r--res/drawable/ic_logo_mod_title.xml50
-rw-r--r--res/drawable/img_oobe_hero.jpgbin0 -> 406243 bytes
-rw-r--r--res/layout/setup_modguide_page.xml102
-rw-r--r--res/mipmap-hdpi/ic_modguide.pngbin0 -> 2182 bytes
-rw-r--r--res/mipmap-mdpi/ic_modguide.pngbin0 -> 1476 bytes
-rw-r--r--res/mipmap-xhdpi/ic_modguide.pngbin0 -> 2830 bytes
-rw-r--r--res/mipmap-xxhdpi/ic_modguide.pngbin0 -> 4118 bytes
-rw-r--r--res/mipmap-xxxhdpi/ic_modguide.pngbin0 -> 5444 bytes
-rw-r--r--res/values/colors.xml5
-rw-r--r--res/values/strings.xml6
15 files changed, 161 insertions, 2 deletions
diff --git a/res/drawable-hdpi/btn_mod_oobe.9.png b/res/drawable-hdpi/btn_mod_oobe.9.png
new file mode 100644
index 0000000..d97a67a
--- /dev/null
+++ b/res/drawable-hdpi/btn_mod_oobe.9.png
Binary files differ
diff --git a/res/drawable-mdpi/btn_mod_oobe.9.png b/res/drawable-mdpi/btn_mod_oobe.9.png
new file mode 100644
index 0000000..f71d859
--- /dev/null
+++ b/res/drawable-mdpi/btn_mod_oobe.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/btn_mod_oobe.9.png b/res/drawable-xhdpi/btn_mod_oobe.9.png
new file mode 100644
index 0000000..b944ecc
--- /dev/null
+++ b/res/drawable-xhdpi/btn_mod_oobe.9.png
Binary files differ
diff --git a/res/drawable-xxhdpi/btn_mod_oobe.9.png b/res/drawable-xxhdpi/btn_mod_oobe.9.png
new file mode 100644
index 0000000..eddb5a7
--- /dev/null
+++ b/res/drawable-xxhdpi/btn_mod_oobe.9.png
Binary files differ
diff --git a/res/drawable-xxxhdpi/btn_mod_oobe.9.png b/res/drawable-xxxhdpi/btn_mod_oobe.9.png
new file mode 100644
index 0000000..2cf8eb2
--- /dev/null
+++ b/res/drawable-xxxhdpi/btn_mod_oobe.9.png
Binary files differ
diff --git a/res/drawable/ic_logo_mod_title.xml b/res/drawable/ic_logo_mod_title.xml
new file mode 100644
index 0000000..c16fb76
--- /dev/null
+++ b/res/drawable/ic_logo_mod_title.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (c) 2016 Cyanogen, Inc.
+ 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.
+-->
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="72dp"
+ android:height="16dp"
+ android:viewportWidth="72"
+ android:viewportHeight="16">
+
+ <path
+ android:name="ic_logo_mod_title"
+ android:fillColor="#000000"
+ android:pathData="M19.9097139,5.66053833 C19.9097139,2.54013671 17.3930434,4.53810596e-05
+14.2986968,4.53810596e-05 L0,4.53810596e-05 L0,15.9999319 L2.53412329,15.9999319
+L2.53412329,2.5567008 L8.68814203,2.5567008 L8.68814203,15.9999319
+L11.221803,15.9999319 L11.221803,2.5567008 L14.2986968,2.5567008
+C15.9954325,2.5567008 17.3755906,3.94933205 17.3755906,5.66053833
+L17.3755906,15.9999319 L19.9097139,15.9999319 L19.9097139,5.66053833 Z
+M44.8456489,7.26108291 L44.8456489,6.32158153 L44.8456489,5.66049295
+C44.8456489,2.54020478 42.3287472,0 39.2346318,0 L31.9464123,0 C28.853106,0
+26.3363199,2.54020478 26.3363199,5.66049295 L26.3363199,6.93388547
+L26.3363199,7.26108291 L26.3363199,8.73891709 L26.3363199,9.19476983
+L26.3363199,10.3393936 C26.3363199,13.4595683 28.853106,16 31.9464123,16
+L39.2346318,16 C42.3287472,16 44.8456489,13.4595683 44.8456489,10.3393936
+L44.8456489,9.71290807 L44.8456489,8.73891709 L44.8456489,7.26108291 Z
+M42.3111788,10.3393936 C42.3111788,12.0508268 40.9310208,13.4432311
+39.2346318,13.4432311 L31.9464123,13.4432311 C30.2502545,13.4432311
+28.8700964,12.0508268 28.8700964,10.3393936 L28.8700964,5.66049295
+C28.8700964,3.94928667 30.2502545,2.55676887 31.9464123,2.55676887
+L39.2346318,2.55676887 C40.9315987,2.55676887 42.3111788,3.94928667
+42.3111788,5.66049295 L42.3111788,10.3393936 Z M64.1708327,0 L51.2719428,0
+L51.2719428,16 L64.1708327,16 C67.2652948,16 69.7817342,13.4595683
+69.7817342,10.3393936 L69.7817342,5.66049295 C69.7817342,2.54020478 67.2652948,0
+64.1708327,0 Z M67.2477265,10.3393936 C67.2477265,12.0508268
+65.8674528,13.4432311 64.1708327,13.4432311 L53.8064129,13.4432311
+L53.8064129,2.55676887 L64.1708327,2.55676887 C65.8674528,2.55676887
+67.2477265,3.94928667 67.2477265,5.66049295 L67.2477265,10.3393936 Z" />
+</vector> \ No newline at end of file
diff --git a/res/drawable/img_oobe_hero.jpg b/res/drawable/img_oobe_hero.jpg
new file mode 100644
index 0000000..fab7d97
--- /dev/null
+++ b/res/drawable/img_oobe_hero.jpg
Binary files differ
diff --git a/res/layout/setup_modguide_page.xml b/res/layout/setup_modguide_page.xml
new file mode 100644
index 0000000..beec6eb
--- /dev/null
+++ b/res/layout/setup_modguide_page.xml
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2013 The CyanogenMod 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.
+-->
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/mod_yellow">
+
+ <FrameLayout
+ android:layout_width="match_parent"
+ android:layout_height="296dp">
+ <ImageView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:scaleType="centerCrop"
+ android:src="@drawable/img_oobe_hero"
+ tools:ignore="ContentDescription"/>
+ <ImageView
+ android:layout_width="140dp"
+ android:layout_height="32dp"
+ android:src="@drawable/ic_logo_mod_title"
+ android:tint="@color/white"
+ android:layout_marginTop="72dp"
+ android:layout_marginStart="24dp"
+ tools:ignore="ContentDescription"/>
+ </FrameLayout>
+
+ <TextView android:id="@+id/mod_welcome"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:minHeight="20sp"
+ android:textSize="16sp"
+ android:fontFamily="sans-serif"
+ android:layout_marginTop="32dp"
+ android:paddingStart="24dp"
+ android:paddingEnd="24dp"
+ android:text="@string/mod_welcome"
+ android:textColor="@color/mod_title"/>
+
+ <TextView android:id="@+id/mod_desc"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:fontFamily="sans-serif"
+ android:textSize="14sp"
+ android:lineSpacingExtra="6sp"
+ android:layout_marginTop="3dp"
+ android:paddingStart="24dp"
+ android:paddingEnd="24dp"
+ android:text="@string/mod_description"
+ android:textColor="@color/mod_description"/>
+
+ <FrameLayout
+ android:layout_width="wrap_content"
+ android:layout_height="72dp"
+ android:minWidth="208dp"
+ android:layout_marginTop="25dp"
+ android:layout_marginStart="24dp"
+ android:background="@drawable/btn_mod_oobe">
+
+ <LinearLayout
+ android:id="@+id/explore_mod_guide"
+ android:layout_width="wrap_content"
+ android:layout_height="40dp"
+ android:minWidth="176dp"
+ android:orientation="horizontal">
+
+ <ImageView
+ android:layout_width="24dp"
+ android:layout_height="24dp"
+ android:src="@mipmap/ic_modguide"
+ android:layout_margin="8dp"
+ tools:ignore="ContentDescription"/>
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_marginStart="16dp"
+ android:layout_marginEnd="16dp"
+ android:gravity="center_vertical"
+ android:fontFamily="sans-serif"
+ android:text="@string/mod_explore"
+ android:textAllCaps="false"
+ android:textColor="@color/mod_title"/>
+ </LinearLayout>
+ </FrameLayout>
+</LinearLayout>
diff --git a/res/mipmap-hdpi/ic_modguide.png b/res/mipmap-hdpi/ic_modguide.png
new file mode 100644
index 0000000..a2fb4a4
--- /dev/null
+++ b/res/mipmap-hdpi/ic_modguide.png
Binary files differ
diff --git a/res/mipmap-mdpi/ic_modguide.png b/res/mipmap-mdpi/ic_modguide.png
new file mode 100644
index 0000000..ad24eb6
--- /dev/null
+++ b/res/mipmap-mdpi/ic_modguide.png
Binary files differ
diff --git a/res/mipmap-xhdpi/ic_modguide.png b/res/mipmap-xhdpi/ic_modguide.png
new file mode 100644
index 0000000..784589c
--- /dev/null
+++ b/res/mipmap-xhdpi/ic_modguide.png
Binary files differ
diff --git a/res/mipmap-xxhdpi/ic_modguide.png b/res/mipmap-xxhdpi/ic_modguide.png
new file mode 100644
index 0000000..7226819
--- /dev/null
+++ b/res/mipmap-xxhdpi/ic_modguide.png
Binary files differ
diff --git a/res/mipmap-xxxhdpi/ic_modguide.png b/res/mipmap-xxxhdpi/ic_modguide.png
new file mode 100644
index 0000000..3cc0d7f
--- /dev/null
+++ b/res/mipmap-xxxhdpi/ic_modguide.png
Binary files differ
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 34110b7..ed7e190 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -31,4 +31,9 @@
<color name="header_condensed_bg">@color/primary_dark</color>
<color name="button_bar_background">#e4e7e8</color>
<color name="fingerprint_setup_text_color">#356bc4</color>
+
+ <color name="mod_yellow">#f5d328</color>
+ <color name="mod_title">#dd000000</color>
+ <color name="mod_description">#89000000</color>
+ <color name="mod_button_bar_background">#d7b923</color>
</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 475ac8b..80b8e2d 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -26,6 +26,7 @@
<string name="next">Next</string>
<string name="skip">Skip</string>
<string name="start">Start</string>
+ <string name="done">Done</string>
<string name="ok">OK</string>
<string name="loading">Just a sec\u2026</string>
@@ -97,6 +98,7 @@
<string name="sim_locale_changed">%1$s SIM detected</string>
<!-- MOD stuff -->
- <string name="mod_welcome">Welcome to the Post-App Era</string>
- <string name="mod_description">Mods are intelligent, aware, and lightweight experiences built directly into the OS. When MOD thinks it can help, it will offer to activate them for you.</string>
+ <string name="mod_welcome">Your device is MOD Ready</string>
+ <string name="mod_description">Mods make your phone faster, smarter, and easier to use. In this guide, you can discover new mods, learn what they do, and enable or disable them.</string>
+ <string name="mod_explore">Explore MOD Guide</string>
</resources>