diff options
author | Nishith Khanna <nishithkhanna@e.email> | 2022-05-04 21:30:45 +0530 |
---|---|---|
committer | Nishith Khanna <nishithkhanna@e.email> | 2022-05-04 21:30:45 +0530 |
commit | 4cd3ea6269e852383aae6de4a927d5dbfbd8873e (patch) | |
tree | a48e2a04b3d6bd5e13dc0f007d70c65035918fb3 /app/src/main/res/drawable | |
parent | 6d8ad343c952603a5a4f3af9f41011b644daecfe (diff) |
Fix app icon
Diffstat (limited to 'app/src/main/res/drawable')
-rw-r--r-- | app/src/main/res/drawable/ic_launcher.xml | 40 | ||||
-rw-r--r-- | app/src/main/res/drawable/ic_launcher_foreground.xml | 34 |
2 files changed, 58 insertions, 16 deletions
diff --git a/app/src/main/res/drawable/ic_launcher.xml b/app/src/main/res/drawable/ic_launcher.xml index 8a431ed..406e97c 100644 --- a/app/src/main/res/drawable/ic_launcher.xml +++ b/app/src/main/res/drawable/ic_launcher.xml @@ -1,16 +1,24 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="32dp" - android:height="32dp" - android:viewportWidth="32" - android:viewportHeight="32"> - <path - android:pathData="M25.2477,32H6.7523C3.0261,32 0,28.9739 0,25.2477V6.7523C0,3.0261 3.0261,0 6.7523,0H25.2477C28.9739,0 32,3.0261 32,6.7523V25.2477C32,28.9739 28.9739,32 25.2477,32Z" - android:fillColor="#FF7301"/> - <path - android:pathData="M15.3988,3.72C15.6974,3.4573 16.1446,3.4573 16.4431,3.72L17.5715,4.7129C17.5717,4.7131 17.5719,4.7133 17.5721,4.7134C19.6392,6.5272 22.2985,7.5201 25.0671,7.5201C25.5036,7.5201 25.8575,7.874 25.8575,8.3105V16.4404C25.8575,19.8435 24.1451,23.0463 21.3097,24.9538C21.309,24.9543 21.3084,24.9547 21.3077,24.9552L16.3437,28.3397C16.0751,28.5229 15.7217,28.5229 15.4531,28.3397L10.4891,24.9552C10.4884,24.9547 10.4877,24.9542 10.487,24.9538C7.6476,23.0435 5.9619,19.8385 5.9619,16.4178V8.3105C5.9619,7.874 6.3158,7.5201 6.7523,7.5201C9.5196,7.5201 12.1801,6.528 14.2716,4.712L15.3988,3.72ZM15.921,5.3662L15.314,5.9004L15.3102,5.9037C13.1303,7.7973 10.4052,8.9045 7.5427,9.0771V16.4178C7.5427,19.3195 8.9726,22.0305 11.3712,23.6433L11.3754,23.6462L15.8984,26.73L20.4214,23.6462L20.4256,23.6433C22.8282,22.0278 24.2767,19.3146 24.2767,16.4404V9.0771C21.4147,8.9045 18.6897,7.7974 16.5288,5.9011L15.921,5.3662Z" - android:fillColor="#ffffff" - android:fillType="evenOdd"/> - <path - android:pathData="M18.2019,13.8885C18.2019,12.6239 17.1857,11.6077 15.921,11.6077C14.6564,11.6077 13.6401,12.6239 13.6401,13.8885C13.6401,14.7693 14.137,15.5371 14.8822,15.921L13.9111,20.415H17.9309L16.9598,15.921C17.6825,15.5371 18.2019,14.7693 18.2019,13.8885Z" - android:fillColor="#ffffff"/> -</vector> +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2022 E FOUNDATION + ~ + ~ This program is free software: you can redistribute it and/or modify + ~ it under the terms of the GNU General Public License as published by + ~ the Free Software Foundation, either version 3 of the License, or + ~ (at your option) any later version. + ~ + ~ This program is distributed in the hope that it will be useful, + ~ but WITHOUT ANY WARRANTY; without even the implied warranty of + ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + ~ GNU General Public License for more details. + ~ + ~ You should have received a copy of the GNU General Public License + ~ along with this program. If not, see <https://www.gnu.org/licenses/>. + --> + +<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> + <background android:drawable="@color/launcher_icon_background"/> + <foreground> + <inset android:drawable="@drawable/ic_launcher_foreground" android:inset="25%"/> + </foreground> +</adaptive-icon> diff --git a/app/src/main/res/drawable/ic_launcher_foreground.xml b/app/src/main/res/drawable/ic_launcher_foreground.xml new file mode 100644 index 0000000..d9424c9 --- /dev/null +++ b/app/src/main/res/drawable/ic_launcher_foreground.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2022 E FOUNDATION + ~ + ~ This program is free software: you can redistribute it and/or modify + ~ it under the terms of the GNU General Public License as published by + ~ the Free Software Foundation, either version 3 of the License, or + ~ (at your option) any later version. + ~ + ~ This program is distributed in the hope that it will be useful, + ~ but WITHOUT ANY WARRANTY; without even the implied warranty of + ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + ~ GNU General Public License for more details. + ~ + ~ You should have received a copy of the GNU General Public License + ~ along with this program. If not, see <https://www.gnu.org/licenses/>. + --> + +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="32dp" + android:height="32dp" + android:viewportWidth="32" + android:viewportHeight="32"> + <path + android:pathData="M25.2477,32H6.7523C3.0261,32 0,28.9739 0,25.2477V6.7523C0,3.0261 3.0261,0 6.7523,0H25.2477C28.9739,0 32,3.0261 32,6.7523V25.2477C32,28.9739 28.9739,32 25.2477,32Z" + android:fillColor="#FF7301"/> + <path + android:pathData="M15.3988,3.72C15.6974,3.4573 16.1446,3.4573 16.4431,3.72L17.5715,4.7129C17.5717,4.7131 17.5719,4.7133 17.5721,4.7134C19.6392,6.5272 22.2985,7.5201 25.0671,7.5201C25.5036,7.5201 25.8575,7.874 25.8575,8.3105V16.4404C25.8575,19.8435 24.1451,23.0463 21.3097,24.9538C21.309,24.9543 21.3084,24.9547 21.3077,24.9552L16.3437,28.3397C16.0751,28.5229 15.7217,28.5229 15.4531,28.3397L10.4891,24.9552C10.4884,24.9547 10.4877,24.9542 10.487,24.9538C7.6476,23.0435 5.9619,19.8385 5.9619,16.4178V8.3105C5.9619,7.874 6.3158,7.5201 6.7523,7.5201C9.5196,7.5201 12.1801,6.528 14.2716,4.712L15.3988,3.72ZM15.921,5.3662L15.314,5.9004L15.3102,5.9037C13.1303,7.7973 10.4052,8.9045 7.5427,9.0771V16.4178C7.5427,19.3195 8.9726,22.0305 11.3712,23.6433L11.3754,23.6462L15.8984,26.73L20.4214,23.6462L20.4256,23.6433C22.8282,22.0278 24.2767,19.3146 24.2767,16.4404V9.0771C21.4147,8.9045 18.6897,7.7974 16.5288,5.9011L15.921,5.3662Z" + android:fillColor="#ffffff" + android:fillType="evenOdd"/> + <path + android:pathData="M18.2019,13.8885C18.2019,12.6239 17.1857,11.6077 15.921,11.6077C14.6564,11.6077 13.6401,12.6239 13.6401,13.8885C13.6401,14.7693 14.137,15.5371 14.8822,15.921L13.9111,20.415H17.9309L16.9598,15.921C17.6825,15.5371 18.2019,14.7693 18.2019,13.8885Z" + android:fillColor="#ffffff"/> +</vector> |