diff options
author | Allan Wang <me@allanwang.ca> | 2017-07-30 15:57:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-30 15:57:27 -0700 |
commit | 14185936f46160997ef9eaae92cb3c8eacae93c5 (patch) | |
tree | 616d132c4191cd025788e9d7faa9654cf20fa9fd /app/src/main/res/drawable | |
parent | d94bc858c8a0c273d87d705eb06d35cfd9cf9e08 (diff) | |
download | frost-14185936f46160997ef9eaae92cb3c8eacae93c5.tar.gz frost-14185936f46160997ef9eaae92cb3c8eacae93c5.tar.bz2 frost-14185936f46160997ef9eaae92cb3c8eacae93c5.zip |
Intro (#100)v1.4.1
* Create base activity
* Created some testers
* Update theme and fix mess up
* Update theme and replace paint
* WIP intro drawables
* Create intro screens
* Clear unnecessary dependencies
* Finalize intro panels
* Clean up intro
* Attack intro to settings
* Fix lint
* Finalize intro
Diffstat (limited to 'app/src/main/res/drawable')
-rw-r--r-- | app/src/main/res/drawable/intro_phone_case.xml | 47 | ||||
-rw-r--r-- | app/src/main/res/drawable/intro_phone_long_press.xml | 109 | ||||
-rw-r--r-- | app/src/main/res/drawable/intro_phone_nav.xml | 49 | ||||
-rw-r--r-- | app/src/main/res/drawable/intro_phone_screen.xml | 12 | ||||
-rw-r--r-- | app/src/main/res/drawable/intro_phone_tab.xml | 73 |
5 files changed, 290 insertions, 0 deletions
diff --git a/app/src/main/res/drawable/intro_phone_case.xml b/app/src/main/res/drawable/intro_phone_case.xml new file mode 100644 index 00000000..105eadef --- /dev/null +++ b/app/src/main/res/drawable/intro_phone_case.xml @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:bottom="149.9dp"> + <shape> + <corners + android:topLeftRadius="5dp" + android:topRightRadius="5dp" /> + <size + android:width="90dp" + android:height="10.1dp" /> + <solid android:color="#888" /> + </shape> + </item> + <item android:top="149.9dp"> + <shape> + <corners + android:bottomLeftRadius="5dp" + android:bottomRightRadius="5dp" /> + <size + android:width="90dp" + android:height="10.1dp" /> + <solid android:color="#888" /> + </shape> + </item> + <item + android:bottom="10dp" + android:right="87dp" + android:top="10dp"> + <shape> + <size + android:width="3dp" + android:height="140dp" /> + <solid android:color="#888" /> + </shape> + </item> + <item + android:bottom="10dp" + android:left="87dp" + android:top="10dp"> + <shape> + <size + android:width="3dp" + android:height="140dp" /> + <solid android:color="#888" /> + </shape> + </item> +</layer-list>
\ No newline at end of file diff --git a/app/src/main/res/drawable/intro_phone_long_press.xml b/app/src/main/res/drawable/intro_phone_long_press.xml new file mode 100644 index 00000000..68f78e77 --- /dev/null +++ b/app/src/main/res/drawable/intro_phone_long_press.xml @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item + android:id="@id/intro_phone" + android:drawable="@drawable/intro_phone_case" /> + <item + android:id="@id/intro_phone_screen" + android:drawable="@drawable/intro_phone_screen" /> + <item + android:id="@+id/intro_phone_toolbar" + android:bottom="135dp" + android:left="3dp" + android:right="3dp" + android:top="10dp"> + <shape> + <solid android:color="#f0f" /> + </shape> + </item> + <item + android:id="@+id/intro_phone_image" + android:bottom="65dp" + android:left="3dp" + android:right="3dp" + android:top="30dp"> + <shape> + <solid android:color="#f0f" /> + </shape> + </item> + <item + android:id="@+id/intro_phone_image_indicator" + android:bottom="95.5dp" + android:left="43dp" + android:right="43dp" + android:top="60.5dp"> + <shape android:shape="oval"> + <solid android:color="#800000ff" /> + </shape> + </item> + <item + android:id="@+id/intro_phone_like" + android:bottom="57dp" + android:left="3dp" + android:right="60dp" + android:top="95dp"> + <shape> + <solid android:color="#f00" /> + </shape> + </item> + <item + android:id="@+id/intro_phone_comment" + android:bottom="57dp" + android:left="30dp" + android:right="30dp" + android:top="95dp"> + <shape> + <solid android:color="#ddff0000" /> + </shape> + </item> + <item + android:id="@+id/intro_phone_share" + android:bottom="57dp" + android:left="60dp" + android:right="3dp" + android:top="95dp"> + <shape> + <solid android:color="#aaff0000" /> + </shape> + </item> + <item + android:id="@+id/intro_phone_comment_indicator" + android:bottom="59dp" + android:left="43dp" + android:right="43dp" + android:top="97dp"> + <shape android:shape="oval"> + <solid android:color="#800000ff" /> + </shape> + </item> + <item + android:id="@+id/intro_phone_card_1" + android:bottom="10dp" + android:left="3dp" + android:right="31dp" + android:top="115dp"> + <shape> + <solid android:color="#aaff0000" /> + </shape> + </item> + <item + android:id="@+id/intro_phone_card_2" + android:bottom="10dp" + android:left="61dp" + android:right="3dp" + android:top="115dp"> + <shape> + <solid android:color="#aaff0000" /> + </shape> + </item> + <item + android:id="@+id/intro_phone_card_indicator" + android:bottom="25.5dp" + android:left="43dp" + android:right="43dp" + android:top="130.5dp"> + <shape android:shape="oval"> + <solid android:color="#800000ff" /> + </shape> + </item> +</layer-list>
\ No newline at end of file diff --git a/app/src/main/res/drawable/intro_phone_nav.xml b/app/src/main/res/drawable/intro_phone_nav.xml new file mode 100644 index 00000000..a4ead7d0 --- /dev/null +++ b/app/src/main/res/drawable/intro_phone_nav.xml @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item + android:id="@id/intro_phone" + android:drawable="@drawable/intro_phone_case" /> + <item + android:id="@id/intro_phone_screen" + android:drawable="@drawable/intro_phone_screen" /> + <item + android:id="@+id/intro_phone_nav" + android:bottom="10dp" + android:left="3dp" + android:right="23dp" + android:top="50dp"> + <shape> + <solid android:color="#f0f" /> + </shape> + </item> + <item + android:id="@+id/intro_phone_header" + android:bottom="110dp" + android:left="3dp" + android:right="23dp" + android:top="10dp"> + <shape> + <solid android:color="#f00" /> + </shape> + </item> + <item + android:id="@+id/intro_phone_avatar_1" + android:bottom="130dp" + android:left="8dp" + android:right="67dp" + android:top="15dp"> + <shape android:shape="oval"> + <solid android:color="#f0f" /> + </shape> + </item> + <item + android:id="@+id/intro_phone_avatar_2" + android:bottom="135dp" + android:left="53dp" + android:right="27dp" + android:top="15dp"> + <shape android:shape="oval"> + <solid android:color="#f0f" /> + </shape> + </item> +</layer-list>
\ No newline at end of file diff --git a/app/src/main/res/drawable/intro_phone_screen.xml b/app/src/main/res/drawable/intro_phone_screen.xml new file mode 100644 index 00000000..69aeb26d --- /dev/null +++ b/app/src/main/res/drawable/intro_phone_screen.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item + android:bottom="10dp" + android:left="3dp" + android:right="3dp" + android:top="10dp"> + <shape> + <solid android:color="#000" /> + </shape> + </item> +</layer-list>
\ No newline at end of file diff --git a/app/src/main/res/drawable/intro_phone_tab.xml b/app/src/main/res/drawable/intro_phone_tab.xml new file mode 100644 index 00000000..822769f0 --- /dev/null +++ b/app/src/main/res/drawable/intro_phone_tab.xml @@ -0,0 +1,73 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item + android:id="@id/intro_phone" + android:drawable="@drawable/intro_phone_case" /> + <item + android:id="@id/intro_phone_screen" + android:drawable="@drawable/intro_phone_screen" /> + <item + android:id="@+id/intro_phone_tab" + android:bottom="135dp" + android:left="3dp" + android:right="3dp" + android:top="10dp"> + <shape> + <solid android:color="#f0f" /> + </shape> + </item> + <item + android:id="@+id/intro_phone_icon_1" + android:bottom="140dp" + android:left="11dp" + android:right="74dp" + android:top="15dp"> + <shape> + <corners android:radius="1.5dp" /> + <solid android:color="#f00" /> + </shape> + </item> + <item + android:id="@+id/intro_phone_icon_2" + android:bottom="140dp" + android:left="32dp" + android:right="53dp" + android:top="15dp"> + <shape> + <corners android:radius="1.5dp" /> + <solid android:color="#f00" /> + </shape> + </item> + <item + android:id="@+id/intro_phone_icon_3" + android:bottom="140dp" + android:left="53dp" + android:right="32dp" + android:top="15dp"> + <shape> + <corners android:radius="1.5dp" /> + <solid android:color="#f00" /> + </shape> + </item> + <item + android:id="@+id/intro_phone_icon_4" + android:bottom="140dp" + android:left="74dp" + android:right="11dp" + android:top="15dp"> + <shape> + <corners android:radius="1.5dp" /> + <solid android:color="#f00" /> + </shape> + </item> + <item + android:id="@+id/intro_phone_icon_ripple" + android:bottom="129dp" + android:left="0dp" + android:right="63dp" + android:top="4dp"> + <shape android:shape="oval"> + <solid android:color="#800000ff" /> + </shape> + </item> +</layer-list>
\ No newline at end of file |