aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-04-25 13:05:02 -0700
committerAllan Wang <me@allanwang.ca>2019-04-25 13:05:02 -0700
commit2fb01ffb24b0a80560bb7bbc89d2fa6f6bdb65fb (patch)
tree9f63584ac0b832a244ed3c338ce0c35f1cbcaa06 /app/src
parente627bc4f1fbf50216f74c53c6a4812beb6d2d055 (diff)
downloadfrost-2fb01ffb24b0a80560bb7bbc89d2fa6f6bdb65fb.tar.gz
frost-2fb01ffb24b0a80560bb7bbc89d2fa6f6bdb65fb.tar.bz2
frost-2fb01ffb24b0a80560bb7bbc89d2fa6f6bdb65fb.zip
Add widget preview
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/res/drawable/notification_widget_preview.xml97
1 files changed, 48 insertions, 49 deletions
diff --git a/app/src/main/res/drawable/notification_widget_preview.xml b/app/src/main/res/drawable/notification_widget_preview.xml
index a4ead7d0..a03fd362 100644
--- a/app/src/main/res/drawable/notification_widget_preview.xml
+++ b/app/src/main/res/drawable/notification_widget_preview.xml
@@ -1,49 +1,48 @@
-<?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
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="30dp"
+ android:height="40dp"
+ android:viewportWidth="300"
+ android:viewportHeight="400">
+ <path
+ android:pathData="M0,0h300v400H0V0z"
+ android:fillColor="#fafafa"/>
+ <path
+ android:pathData="M0,0h300v50H0V0z"
+ android:fillColor="@color/facebook_blue"/>
+ <path
+ android:pathData="M65,170a20,20 0,1 1,-40 0,20 20,0 0,1 40,0z"
+ android:fillColor="#DE000000"/>
+ <path
+ android:pathData="M85,150h184v11H85v-11z"
+ android:fillColor="#DE000000"/>
+ <path
+ android:pathData="M85,179h146v11H85v-11z"
+ android:fillColor="#DE000000"/>
+ <path
+ android:pathData="M65,95a20,20 0,1 1,-40 0,20 20,0 0,1 40,0z"
+ android:fillColor="#DE000000"/>
+ <path
+ android:pathData="M85,75h184v11H85V75z"
+ android:fillColor="#DE000000"/>
+ <path
+ android:pathData="M85,104h146v11H85v-11z"
+ android:fillColor="#DE000000"/>
+ <path
+ android:pathData="M65,245a20,20 0,1 1,-40 0,20 20,0 0,1 40,0z"
+ android:fillColor="#DE000000"/>
+ <path
+ android:pathData="M85,225h184v11H85v-11z"
+ android:fillColor="#DE000000"/>
+ <path
+ android:pathData="M85,254h146v11H85v-11z"
+ android:fillColor="#DE000000"/>
+ <path
+ android:pathData="M65,320a20,20 0,1 1,-40 0,20 20,0 0,1 40,0z"
+ android:fillColor="#DE000000"/>
+ <path
+ android:pathData="M85,300h184v11H85v-11z"
+ android:fillColor="#DE000000"/>
+ <path
+ android:pathData="M85,329h146v11H85v-11z"
+ android:fillColor="#DE000000"/>
+</vector>