aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/drawable
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-12-19 10:32:37 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-12-19 10:32:37 +0000
commitae49dd50d4b8ccdbc99a142c44e29e63ab111a3a (patch)
tree46c42fbd205c226736bebeaa98a24d28312899fb /app/src/main/res/drawable
parentf0c04a2f6d5b848da159702e7800d22ccb16f71b (diff)
downloadinfinity-for-reddit-ae49dd50d4b8ccdbc99a142c44e29e63ab111a3a.tar
infinity-for-reddit-ae49dd50d4b8ccdbc99a142c44e29e63ab111a3a.tar.gz
infinity-for-reddit-ae49dd50d4b8ccdbc99a142c44e29e63ab111a3a.tar.bz2
infinity-for-reddit-ae49dd50d4b8ccdbc99a142c44e29e63ab111a3a.tar.lz
infinity-for-reddit-ae49dd50d4b8ccdbc99a142c44e29e63ab111a3a.tar.xz
infinity-for-reddit-ae49dd50d4b8ccdbc99a142c44e29e63ab111a3a.tar.zst
infinity-for-reddit-ae49dd50d4b8ccdbc99a142c44e29e63ab111a3a.zip
Show a play button on the image if the post is a video or an image.
Diffstat (limited to 'app/src/main/res/drawable')
-rw-r--r--app/src/main/res/drawable/ic_play_circle_36dp.xml4
-rw-r--r--app/src/main/res/drawable/play_button_round_background.xml9
2 files changed, 13 insertions, 0 deletions
diff --git a/app/src/main/res/drawable/ic_play_circle_36dp.xml b/app/src/main/res/drawable/ic_play_circle_36dp.xml
new file mode 100644
index 00000000..7a21d9a9
--- /dev/null
+++ b/app/src/main/res/drawable/ic_play_circle_36dp.xml
@@ -0,0 +1,4 @@
+<vector android:height="36dp" android:viewportHeight="24"
+ android:viewportWidth="24" android:width="36dp" xmlns:android="http://schemas.android.com/apk/res/android">
+ <path android:fillColor="#FFFFFFFF" android:pathData="M10,16.5l6,-4.5 -6,-4.5zM12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM12,20c-4.41,0 -8,-3.59 -8,-8s3.59,-8 8,-8 8,3.59 8,8 -3.59,8 -8,8z"/>
+</vector>
diff --git a/app/src/main/res/drawable/play_button_round_background.xml b/app/src/main/res/drawable/play_button_round_background.xml
new file mode 100644
index 00000000..d047c68d
--- /dev/null
+++ b/app/src/main/res/drawable/play_button_round_background.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
+ <item>
+ <shape android:shape="oval">
+ <solid android:color="@color/backgroundColorInverse" />
+ </shape>
+ </item>
+
+</layer-list> \ No newline at end of file