Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/news-android.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremasty <emasty@gmail.com>2019-12-29 01:43:15 +0300
committeremasty <emasty@gmail.com>2019-12-29 16:19:26 +0300
commitce9a64d57d2a0a1cacbb5d784ff7cf732ea47d7f (patch)
tree3173faf13bdaa5aa206d7f9dfeb1e64b51cd81dc /News-Android-App/src/main/res/drawable
parent91a84fdaba99c6df93d3f89ae8f454e418436bc6 (diff)
Mark all as read fast action
Prepared app for fast-actions in the bottom screen area. Started with implementing a fast actionf or mark all article as read. Signed-off-by: emasty <emasty@gmail.com>
Diffstat (limited to 'News-Android-App/src/main/res/drawable')
-rw-r--r--News-Android-App/src/main/res/drawable/fa_all_read_target.xml54
-rw-r--r--News-Android-App/src/main/res/drawable/fa_all_read_target_success.xml54
-rw-r--r--News-Android-App/src/main/res/drawable/ic_done_all.xml5
3 files changed, 113 insertions, 0 deletions
diff --git a/News-Android-App/src/main/res/drawable/fa_all_read_target.xml b/News-Android-App/src/main/res/drawable/fa_all_read_target.xml
new file mode 100644
index 00000000..a287cf50
--- /dev/null
+++ b/News-Android-App/src/main/res/drawable/fa_all_read_target.xml
@@ -0,0 +1,54 @@
+<animated-vector xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:aapt="http://schemas.android.com/aapt" >
+ <aapt:attr name="android:drawable">
+ <vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="128dp"
+ android:height="128dp"
+ android:viewportWidth="128"
+ android:viewportHeight="128">
+
+ <group
+ android:name="scaleGroup"
+ android:pivotX="64"
+ android:pivotY="64"
+ android:scaleX="0.5"
+ android:scaleY="0.5"
+ >
+ <path
+ android:pathData="M64.001,64m-60,0a60,60 0,1 1,119.999 0a60,60 0,1 1,-119.999 0"
+ android:strokeWidth="6"
+ android:fillColor="#00000000"
+ android:strokeColor="#68BDEC"/>
+ </group>
+ <path
+ android:pathData="M64,64m-26.25,0a26.25,26.25 0,1 1,52.5 0a26.25,26.25 0,1 1,-52.5 0"
+ android:fillColor="#68BDEC"
+ />
+ <path
+ android:pathData="M68.969,58.656C68.603,58.291 68.012,58.291 67.647,58.656L62.359,63.944L63.681,65.266L68.969,59.969C69.325,59.612 69.325,59.013 68.969,58.656ZM72.944,58.647L63.681,67.909L60.419,64.656C60.053,64.291 59.463,64.291 59.097,64.656C58.731,65.022 58.731,65.613 59.097,65.978L63.016,69.897C63.381,70.262 63.972,70.262 64.338,69.897L74.266,59.978C74.631,59.612 74.631,59.022 74.266,58.656L74.256,58.656C73.9,58.281 73.309,58.281 72.944,58.647ZM53.8,65.988L57.719,69.906C58.084,70.272 58.675,70.272 59.041,69.906L59.697,69.25L55.122,64.656C54.756,64.291 54.166,64.291 53.8,64.656C53.434,65.022 53.434,65.622 53.8,65.988Z"
+ android:fillColor="#ffffff"
+ android:fillType="nonZero"/>
+ </vector>
+ </aapt:attr>
+
+ <target android:name="scaleGroup"> *
+ <aapt:attr name="android:animation">
+ <set>
+ <objectAnimator
+ android:duration="1000"
+ android:propertyName="scaleY"
+ android:repeatCount="infinite"
+ android:repeatMode="restart"
+ android:valueFrom="1.0"
+ android:valueTo="0.5" />
+ <objectAnimator
+ android:duration="1000"
+ android:propertyName="scaleX"
+ android:repeatCount="infinite"
+ android:repeatMode="restart"
+ android:valueFrom="1.0"
+ android:valueTo="0.5" />
+ </set>
+ </aapt:attr>
+ </target>
+</animated-vector> \ No newline at end of file
diff --git a/News-Android-App/src/main/res/drawable/fa_all_read_target_success.xml b/News-Android-App/src/main/res/drawable/fa_all_read_target_success.xml
new file mode 100644
index 00000000..e16b6a30
--- /dev/null
+++ b/News-Android-App/src/main/res/drawable/fa_all_read_target_success.xml
@@ -0,0 +1,54 @@
+<animated-vector xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:aapt="http://schemas.android.com/aapt" >
+ <aapt:attr name="android:drawable">
+ <vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="128dp"
+ android:height="128dp"
+ android:viewportWidth="128"
+ android:viewportHeight="128">
+
+ <group
+ android:name="scaleGroup"
+ android:pivotX="64"
+ android:pivotY="64"
+ android:scaleX="0.5"
+ android:scaleY="0.5"
+ >
+ <path
+ android:pathData="M64.001,64m-60,0a60,60 0,1 1,119.999 0a60,60 0,1 1,-119.999 0"
+ android:strokeWidth="6"
+ android:fillColor="#00000000"
+ android:strokeColor="#007C1F"/>
+ </group>
+ <path
+ android:pathData="M64,64m-26.25,0a26.25,26.25 0,1 1,52.5 0a26.25,26.25 0,1 1,-52.5 0"
+ android:fillColor="#007C1F"
+ />
+ <path
+ android:pathData="M68.969,58.656C68.603,58.291 68.012,58.291 67.647,58.656L62.359,63.944L63.681,65.266L68.969,59.969C69.325,59.612 69.325,59.013 68.969,58.656ZM72.944,58.647L63.681,67.909L60.419,64.656C60.053,64.291 59.463,64.291 59.097,64.656C58.731,65.022 58.731,65.613 59.097,65.978L63.016,69.897C63.381,70.262 63.972,70.262 64.338,69.897L74.266,59.978C74.631,59.612 74.631,59.022 74.266,58.656L74.256,58.656C73.9,58.281 73.309,58.281 72.944,58.647ZM53.8,65.988L57.719,69.906C58.084,70.272 58.675,70.272 59.041,69.906L59.697,69.25L55.122,64.656C54.756,64.291 54.166,64.291 53.8,64.656C53.434,65.022 53.434,65.622 53.8,65.988Z"
+ android:fillColor="#ffffff"
+ android:fillType="nonZero"/>
+ </vector>
+ </aapt:attr>
+
+ <target android:name="scaleGroup"> *
+ <aapt:attr name="android:animation">
+ <set>
+ <objectAnimator
+ android:duration="1000"
+ android:propertyName="scaleY"
+ android:repeatCount="infinite"
+ android:repeatMode="restart"
+ android:valueFrom="0.5"
+ android:valueTo="1.0" />
+ <objectAnimator
+ android:duration="1000"
+ android:propertyName="scaleX"
+ android:repeatCount="infinite"
+ android:repeatMode="restart"
+ android:valueFrom="0.5"
+ android:valueTo="1.0" />
+ </set>
+ </aapt:attr>
+ </target>
+</animated-vector> \ No newline at end of file
diff --git a/News-Android-App/src/main/res/drawable/ic_done_all.xml b/News-Android-App/src/main/res/drawable/ic_done_all.xml
new file mode 100644
index 00000000..9ed04e4a
--- /dev/null
+++ b/News-Android-App/src/main/res/drawable/ic_done_all.xml
@@ -0,0 +1,5 @@
+<vector android:height="24dp" android:tint="#FFFFFF"
+ android:viewportHeight="24.0" android:viewportWidth="24.0"
+ android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
+ <path android:fillColor="#FFFFFF" android:pathData="M18,7l-1.41,-1.41 -6.34,6.34 1.41,1.41L18,7zM22.24,5.59L11.66,16.17 7.48,12l-1.41,1.41L11.66,19l12,-12 -1.42,-1.41zM0.41,13.41L6,19l1.41,-1.41L1.83,12 0.41,13.41z"/>
+</vector>