Add feedly and freshrss icons

This commit is contained in:
Shinokuni 2019-06-25 16:08:57 +02:00
parent 59a0a81672
commit a343b8c2aa
4 changed files with 23 additions and 4 deletions

View File

@ -176,8 +176,8 @@ public class Account implements Parcelable {
public enum AccountType implements Parcelable {
LOCAL(R.drawable.ic_readrops, R.string.local_account),
NEXTCLOUD_NEWS(R.drawable.ic_nextcloud_news, R.string.nextcloud_news),
FEEDLY(0, 0),
FRESHRSS(0, 0);
FEEDLY(R.drawable.ic_feedly, R.string.feedly),
FRESHRSS(R.drawable.ic_freshrss, R.string.freshrss);
private @DrawableRes int iconRes;
private @StringRes int name;
@ -204,11 +204,11 @@ public class Account implements Parcelable {
}
};
public int getIconRes() {
public @DrawableRes int getIconRes() {
return iconRes;
}
public int getName() {
public @StringRes int getName() {
return name;
}

View File

@ -0,0 +1,7 @@
<vector android:height="452dp" android:viewportHeight="452.05"
android:viewportWidth="512" android:width="512dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#27b34b" android:pathData="M0,268.09v-24c2.44,0.2 1.78,-1.9 2.11,-3.05a58.47,58.47 0,0 1,15.08 -25.52q99.15,-99.11 198.29,-198.23c23.15,-23.1 57.89,-23 81,0.05q99,98.89 197.94,197.87a59.6,59.6 0,0 1,15.46 25.86c0.33,1.14 -0.34,3.27 2.12,3v24c-2.8,-0.25 -1.9,2.2 -2.28,3.43a57.83,57.83 0,0 1,-14.36 24.26q-70,70 -140,139.94c-11,11 -24.62,16.25 -40.15,16.27 -39.65,0.05 -79.31,0.11 -119,0a54.84,54.84 0,0 1,-40 -16.64Q87.56,366.55 18.77,297.85C10.92,290 5,281.21 2.06,270.49 1.77,269.45 2.14,267.62 0,268.09ZM134,284.23c7.73,-0.61 13.32,0.93 18.14,-3.92q68.21,-68.56 136.69,-136.85c4.81,-4.81 4.83,-9 0.11,-13.8q-13,-13.14 -26.14,-26.15c-4.91,-4.87 -8.86,-4.85 -13.78,0.07q-72.65,72.6 -145.25,145.25c-5.29,5.3 -5.21,9 0.18,14.49 4.1,4.15 8.51,8 12.3,12.43C121.61,282 127.61,286 134,284.23ZM196.56,343.57c5,-0.28 10.38,1.4 14.9,-3.16 25.79,-26 51.77,-51.86 77.64,-77.8 4.4,-4.4 4.48,-8.7 0.22,-13Q276,236.07 262.47,222.73c-4.46,-4.4 -8.59,-4.45 -13,0q-43.33,43.21 -86.55,86.56c-4.39,4.4 -4.28,8.54 0.09,13.06s9,8.48 13,13.15C181.46,341.9 187.66,345.81 196.56,343.57ZM255.91,403.16c5,-0.49 10.57,1.88 15,-2.72 6.12,-6.35 12.51,-12.44 18.65,-18.77 3.83,-3.94 3.87,-8.44 0,-12.36Q276,355.42 262.05,341.78c-4.05,-4 -8.23,-3.89 -12.31,0.12q-13.71,13.49 -27.2,27.18c-4.24,4.3 -4.09,8.61 0.26,13.06 4.18,4.3 8.76,8.23 12.62,12.79C240.87,401.36 247,405.47 255.91,403.16Z"/>
<path android:fillColor="#fdfdfd" android:pathData="M134,284.23c-6.39,1.8 -12.39,-2.25 -17.75,-8.48 -3.79,-4.41 -8.2,-8.28 -12.3,-12.43 -5.39,-5.45 -5.47,-9.19 -0.18,-14.49Q176.39,176.19 249,103.58c4.92,-4.92 8.87,-4.94 13.78,-0.07q13.14,13 26.14,26.15c4.72,4.77 4.7,9 -0.11,13.8q-68.35,68.41 -136.69,136.85C147.32,285.16 145,284.09 134,284.23Z"/>
<path android:fillColor="#fdfdfd" android:pathData="M196.56,343.57c-8.9,2.24 -15.1,-1.67 -20.6,-8.1 -4,-4.67 -8.7,-8.73 -13,-13.15s-4.48,-8.66 -0.09,-13.06q43.22,-43.35 86.55,-86.56c4.44,-4.42 8.57,-4.37 13,0q13.51,13.34 26.85,26.85c4.26,4.33 4.18,8.63 -0.22,13 -25.87,25.94 -51.85,51.77 -77.64,77.8C206.94,345 201.58,343.29 196.56,343.57Z"/>
<path android:fillColor="#fdfdfd" android:pathData="M255.91,403.16c-8.95,2.31 -15,-1.8 -20.49,-8.23 -3.86,-4.56 -8.44,-8.49 -12.62,-12.79 -4.35,-4.45 -4.5,-8.76 -0.26,-13.06q13.5,-13.69 27.2,-27.18c4.08,-4 8.26,-4.08 12.31,-0.12Q276,355.4 289.6,369.31c3.85,3.92 3.81,8.42 0,12.36 -6.14,6.33 -12.53,12.42 -18.65,18.77C266.48,405 260.88,402.67 255.91,403.16Z"/>
</vector>

View File

@ -0,0 +1,10 @@
<vector android:height="415dp" android:viewportHeight="414.71"
android:viewportWidth="413.06" android:width="413dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#0263be" android:pathData="M205.41,206.41m-54,0a54,54 0,1 1,108 0a54,54 0,1 1,-108 0"/>
<path android:fillColor="#0363be" android:pathData="M375.39,207.52c-1.44,-20.91 -3.85,-41.68 -12.12,-61.19Q323.48,52.41 222.2,39.48c-5.25,-0.66 -10.55,-0.85 -15.83,-1.26q0.09,-19.11 0.16,-38.22h20.65a177.61,177.61 0,0 1,28.93 6.25C338.22,29.67 389,83.12 408.92,165.83c3.26,13.53 5,27.56 3.67,41.68Z"/>
<path android:fillColor="#b4d1eb" android:pathData="M206.53,0q-0.08,19.11 -0.16,38.22c-41.93,1.49 -79.65,13.89 -111.5,42.23C61,110.6 41.65,147.93 38,193.26 36.79,208 36.7,208 22.21,208c-7.4,0 -14.81,0.09 -22.21,0.14V174.75c0.41,-1.34 1.35,-2.1 1.63,-3.42C20.31,85.22 71.67,29.87 156.8,6c9.09,-2.55 14.61,-4.63 27.49,-6Z"/>
<path android:fillColor="#b4d1eb" android:pathData="M375.39,207.52h37.2c1.36,28.82 -5.19,56.17 -16.64,82.27 -21.88,49.84 -58,85.84 -107.84,107.83a200.5,200.5 0,0 1,-74.36 17.08c-5.24,0.19 -7.78,-1 -7.47,-6.9 0.45,-8.45 0.31,-16.94 0.05,-25.41 -0.14,-4.51 1.63,-5.76 6,-6 46.93,-2.73 86.94,-20.69 118.77,-55.54 23.84,-26.09 37.75,-57 42.23,-92.06C374.22,221.7 374.71,214.6 375.39,207.52Z"/>
<path android:fillColor="#b4d1eb" android:pathData="M206.82,107.8c-38.61,0.38 -67.71,17.45 -87.61,50.29a85,85 0,0 0,-12.6 42c-0.19,6.43 -2.54,8.3 -8.54,8a211,211 0,0 0,-22.21 0c-5.76,0.33 -7.88,-1.33 -7.75,-7.48A124.37,124.37 0,0 1,84.67 141c20.51,-36 51,-59.2 91.64,-68.61 9.84,-2.29 19.82,-2.76 29.86,-2.59C206.51,82.43 205.43,95.14 206.82,107.8Z"/>
<path android:fillColor="#b4d1eb" android:pathData="M344,206.55c-0.45,35 -11.43,65.92 -35,92.38 -26.39,29.66 -59.55,44.32 -98.66,46.9 -3.49,0.23 -4,-1.58 -4,-4.27 0,-10.05 0.1,-20.11 0,-30.17 0,-4.1 2.28,-4.63 5.6,-4.74 23.13,-0.79 43,-9.54 60.1,-24.94 21,-18.95 32.66,-42.32 33.06,-70.92 0,-1.58 0.2,-3.16 0.31,-4.74C318.29,207.8 331.17,206.92 344,206.55Z"/>
<path android:fillColor="#0363be" android:pathData="M344,206.55c-12.87,0.37 -25.75,1.25 -38.59,-0.5 -1.83,-55.7 -42.47,-96.19 -98.63,-98.25 -1.39,-12.66 -0.31,-25.37 -0.65,-38C275.29,67.68 339,125.65 343.4,194.69 343.65,198.64 343.83,202.6 344,206.55Z"/>
</vector>

View File

@ -62,4 +62,6 @@
<string name="no_feed">No feed</string>
<string name="choose_account">Choose an account</string>
<string name="local_account">Local account</string>
<string name="freshrss" translatable="false">Freshrss</string>
<string name="feedly" translatable="false">Feedly</string>
</resources>