Replace current logo by an adaptive version
This commit is contained in:
parent
fad94bc943
commit
93d9430718
@ -11,10 +11,9 @@
|
||||
<application
|
||||
android:name=".ReadropsApp"
|
||||
android:allowBackup="true"
|
||||
android:icon="@drawable/ic_readrops"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:requestLegacyExternalStorage="true"
|
||||
android:roundIcon="@drawable/ic_readrops"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/AppTheme"
|
||||
android:usesCleartextTraffic="true"
|
||||
|
@ -9,7 +9,7 @@ import androidx.annotation.StringRes;
|
||||
import com.readrops.app.R;
|
||||
|
||||
public enum AccountType implements Parcelable {
|
||||
LOCAL(R.drawable.ic_readrops, R.string.local_account, AccountConfig.LOCAL),
|
||||
LOCAL(R.mipmap.ic_launcher, R.string.local_account, AccountConfig.LOCAL),
|
||||
NEXTCLOUD_NEWS(R.drawable.ic_nextcloud_news, R.string.nextcloud_news, AccountConfig.NEXTNEWS),
|
||||
FEEDLY(R.drawable.ic_feedly, R.string.feedly, null),
|
||||
FRESHRSS(R.drawable.ic_freshrss, R.string.freshrss, AccountConfig.FRESHRSS);
|
||||
|
9
app/src/main/res/drawable/ic_launcher_background.xml
Normal file
9
app/src/main/res/drawable/ic_launcher_background.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="256"
|
||||
android:viewportHeight="256">
|
||||
<path
|
||||
android:pathData="M0,0h255.958v255.958h-255.958z"
|
||||
android:fillColor="#0071BC"/>
|
||||
</vector>
|
62
app/src/main/res/drawable/ic_launcher_foreground.xml
Normal file
62
app/src/main/res/drawable/ic_launcher_foreground.xml
Normal file
@ -0,0 +1,62 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="256"
|
||||
android:viewportHeight="256">
|
||||
<group>
|
||||
<clip-path android:pathData="M0,0h255.958v255.958h-255.958z M 0,0"/>
|
||||
<path
|
||||
android:pathData="M87.868,93.085L73.737,93.085C70.715,93.085 68.241,90.612 68.241,87.59C68.241,84.567 70.715,82.093 73.737,82.093L87.868,82.093C90.891,82.093 93.364,84.567 93.364,87.59C93.364,90.612 90.891,93.085 87.868,93.085"
|
||||
android:fillColor="#ffffff"
|
||||
android:fillType="nonZero"/>
|
||||
<path
|
||||
android:pathData="M186.003,119.778L155.384,119.778C152.362,119.778 149.889,117.304 149.889,114.282C149.889,111.259 152.362,108.786 155.384,108.786L186.003,108.786C189.026,108.786 191.498,111.259 191.498,114.282C191.498,117.304 189.026,119.778 186.003,119.778"
|
||||
android:fillColor="#ffffff"
|
||||
android:fillType="nonZero"/>
|
||||
<path
|
||||
android:pathData="M124.767,119.778L73.737,119.778C70.715,119.778 68.241,117.304 68.241,114.282C68.241,111.259 70.715,108.786 73.737,108.786L124.767,108.786C127.79,108.786 130.262,111.259 130.262,114.282C130.262,117.304 127.79,119.778 124.767,119.778"
|
||||
android:fillColor="#ffffff"
|
||||
android:fillType="nonZero"/>
|
||||
<path
|
||||
android:pathData="M106.711,144.115L73.738,144.115C70.715,144.115 68.241,141.642 68.241,138.62C68.241,135.597 70.715,133.123 73.738,133.123L106.711,133.123C109.733,133.123 112.206,135.597 112.206,138.62C112.206,141.642 109.733,144.115 106.711,144.115"
|
||||
android:fillColor="#ffffff"
|
||||
android:fillType="nonZero"/>
|
||||
<path
|
||||
android:pathData="M186.788,144.115L135.757,144.115C132.735,144.115 130.262,141.642 130.262,138.62C130.262,135.597 132.735,133.123 135.757,133.123L186.788,133.123C189.81,133.123 192.283,135.597 192.283,138.62C192.283,141.642 189.81,144.115 186.788,144.115"
|
||||
android:fillColor="#ffffff"
|
||||
android:fillType="nonZero"/>
|
||||
<path
|
||||
android:pathData="M124.767,170.022L73.737,170.022C70.715,170.022 68.241,167.549 68.241,164.527C68.241,161.504 70.715,159.031 73.737,159.031L124.767,159.031C127.79,159.031 130.262,161.504 130.262,164.527C130.262,167.549 127.79,170.022 124.767,170.022"
|
||||
android:fillColor="#ffffff"
|
||||
android:fillType="nonZero"/>
|
||||
<path
|
||||
android:pathData="M186.003,170.022L155.384,170.022C152.362,170.022 149.889,167.549 149.889,164.527C149.889,161.504 152.362,159.031 155.384,159.031L186.003,159.031C189.026,159.031 191.498,161.504 191.498,164.527C191.498,167.549 189.026,170.022 186.003,170.022"
|
||||
android:fillColor="#ffffff"
|
||||
android:fillType="nonZero"/>
|
||||
<path
|
||||
android:pathData="M184.433,93.085L116.916,93.085C113.894,93.085 111.421,90.612 111.421,87.59C111.421,84.567 113.894,82.093 116.916,82.093L184.433,82.093C187.456,82.093 189.928,84.567 189.928,87.59C189.928,90.612 187.456,93.085 184.433,93.085"
|
||||
android:fillColor="#ffffff"
|
||||
android:fillType="nonZero"/>
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M291.371,247.295l-141.958,-141.958l-41.604,41.604l141.958,141.958z"
|
||||
android:strokeAlpha="0.25"
|
||||
android:fillAlpha="0.25"/>
|
||||
<path
|
||||
android:pathData="M129.222,156.529C112.803,156.529 99.445,143.17 99.445,126.752C99.445,110.332 112.803,96.974 129.222,96.974C145.641,96.974 159,110.332 159,126.752C159,143.17 145.641,156.529 129.222,156.529"
|
||||
android:fillColor="#0071BC"
|
||||
android:fillType="nonZero"/>
|
||||
<path
|
||||
android:pathData="M129.222,96.28C112.394,96.28 98.752,109.923 98.752,126.751C98.752,143.58 112.394,157.222 129.222,157.222C146.051,157.222 159.693,143.58 159.693,126.751C159.693,109.923 146.051,96.28 129.222,96.28M129.222,97.667C145.26,97.667 158.306,110.715 158.306,126.751C158.306,142.788 145.26,155.835 129.222,155.835C113.185,155.835 100.138,142.788 100.138,126.751C100.138,110.715 113.185,97.667 129.222,97.667"
|
||||
android:fillColor="#ffffff"
|
||||
android:fillType="nonZero"/>
|
||||
<path
|
||||
android:pathData="M120.087,142.396C117.953,144.531 114.364,144.402 112.072,142.11C109.78,139.819 109.652,136.23 111.787,134.096C113.922,131.961 117.51,132.089 119.801,134.38C122.094,136.673 122.222,140.261 120.087,142.396"
|
||||
android:fillColor="#ffffff"
|
||||
android:fillType="nonZero"/>
|
||||
<path
|
||||
android:pathData="M119.129,138.154C118.596,138.687 117.465,138.421 116.603,137.56C115.741,136.698 115.475,135.566 116.009,135.033C116.542,134.5 117.673,134.765 118.535,135.628C119.396,136.489 119.662,137.62 119.129,138.154"
|
||||
android:fillColor="#E6E6E6"
|
||||
android:fillType="nonZero"/>
|
||||
</group>
|
||||
</vector>
|
@ -1,21 +0,0 @@
|
||||
<vector android:height="24dp" android:viewportHeight="441.77"
|
||||
android:viewportWidth="441.77" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#0071bc" android:pathData="M220.89,220.89m-220.89,0a220.89,220.89 0,1 1,441.78 0a220.89,220.89 0,1 1,-441.78 0"/>
|
||||
<group>
|
||||
<clip-path android:pathData="M220.89,220.89m-220.89,0a220.89,220.89 0,1 1,441.78 0a220.89,220.89 0,1 1,-441.78 0 M 0,0"/>
|
||||
<path android:fillColor="#fff" android:pathData="M60.85,92.08L101.61,92.08A15.85,15.85 0,0 1,117.46 107.93L117.46,107.93A15.85,15.85 0,0 1,101.61 123.78L60.85,123.78A15.85,15.85 0,0 1,45 107.93L45,107.93A15.85,15.85 0,0 1,60.85 92.08z"/>
|
||||
<path android:fillColor="#fff" android:pathData="M296.35,169.07L384.66,169.07A15.85,15.85 0,0 1,400.51 184.92L400.51,184.92A15.85,15.85 0,0 1,384.66 200.77L296.35,200.77A15.85,15.85 0,0 1,280.5 184.92L280.5,184.92A15.85,15.85 0,0 1,296.35 169.07z"/>
|
||||
<path android:fillColor="#fff" android:pathData="M60.85,169.07L208.04,169.07A15.85,15.85 0,0 1,223.89 184.92L223.89,184.92A15.85,15.85 0,0 1,208.04 200.77L60.85,200.77A15.85,15.85 0,0 1,45 184.92L45,184.92A15.85,15.85 0,0 1,60.85 169.07z"/>
|
||||
<path android:fillColor="#fff" android:pathData="M60.85,239.27L155.96,239.27A15.85,15.85 0,0 1,171.81 255.12L171.81,255.12A15.85,15.85 0,0 1,155.96 270.97L60.85,270.97A15.85,15.85 0,0 1,45 255.12L45,255.12A15.85,15.85 0,0 1,60.85 239.27z"/>
|
||||
<path android:fillColor="#fff" android:pathData="M239.74,239.27L386.93,239.27A15.85,15.85 0,0 1,402.78 255.12L402.78,255.12A15.85,15.85 0,0 1,386.93 270.97L239.74,270.97A15.85,15.85 0,0 1,223.89 255.12L223.89,255.12A15.85,15.85 0,0 1,239.74 239.27z"/>
|
||||
<path android:fillColor="#fff" android:pathData="M60.85,313.99L208.04,313.99A15.85,15.85 0,0 1,223.89 329.84L223.89,329.84A15.85,15.85 0,0 1,208.04 345.69L60.85,345.69A15.85,15.85 0,0 1,45 329.84L45,329.84A15.85,15.85 0,0 1,60.85 313.99z"/>
|
||||
<path android:fillColor="#fff" android:pathData="M296.35,313.99L384.66,313.99A15.85,15.85 0,0 1,400.51 329.84L400.51,329.84A15.85,15.85 0,0 1,384.66 345.69L296.35,345.69A15.85,15.85 0,0 1,280.5 329.84L280.5,329.84A15.85,15.85 0,0 1,296.35 313.99z"/>
|
||||
<path android:fillColor="#fff" android:pathData="M185.39,92.08L380.13,92.08A15.85,15.85 0,0 1,395.98 107.93L395.98,107.93A15.85,15.85 0,0 1,380.13 123.78L185.39,123.78A15.85,15.85 0,0 1,169.54 107.93L169.54,107.93A15.85,15.85 0,0 1,185.39 92.08z"/>
|
||||
<path android:fillAlpha="0.25" android:fillColor="#FF000000"
|
||||
android:pathData="M279.125,159.117l158.661,158.661l-120.003,120.003l-158.661,-158.661z" android:strokeAlpha="0.25"/>
|
||||
<path android:fillColor="#0071bc" android:pathData="M220.896,220.89m-60.733,60.733a85.89,85.89 90,1 1,121.467 -121.467a85.89,85.89 90,1 1,-121.467 121.467"/>
|
||||
<path android:fillColor="#fff" android:pathData="M220.89,137A83.89,83.89 0,1 1,137 220.89,84 84,0 0,1 220.89,137m0,-4a87.89,87.89 0,1 0,87.88 87.89A87.89,87.89 0,0 0,220.89 133Z"/>
|
||||
<path android:fillColor="#fff" android:pathData="M171.419,265.188a15.77,16.93 135,1 0,22.302 -22.302a15.77,16.93 135,1 0,-22.302 22.302z"/>
|
||||
<path android:fillColor="#e6e6e6" android:pathData="M184.484,252.057a3.94,6.36 135,1 0,5.572 -5.572a3.94,6.36 135,1 0,-5.572 5.572z"/>
|
||||
</group>
|
||||
</vector>
|
5
app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Normal file
5
app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background"/>
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
BIN
app/src/main/res/mipmap-hdpi/ic_launcher.png
Normal file
BIN
app/src/main/res/mipmap-hdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher.png
Normal file
BIN
app/src/main/res/mipmap-mdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher.png
Normal file
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.5 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Normal file
BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.5 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
Loading…
x
Reference in New Issue
Block a user