mirror of
https://github.com/Myzel394/NumberHub.git
synced 2025-06-19 08:45:27 +02:00
Fix shortcut icons
This commit is contained in:
parent
c3603fe1ee
commit
c8670a08c3
@ -57,7 +57,7 @@ sealed class TopLevelDestinations(
|
|||||||
shortcut = Shortcut(
|
shortcut = Shortcut(
|
||||||
R.string.unit_converter_title,
|
R.string.unit_converter_title,
|
||||||
R.string.unit_converter_title,
|
R.string.unit_converter_title,
|
||||||
R.drawable.unit_converter_shortcut
|
R.drawable.ic_shortcut_unit_converter
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ sealed class TopLevelDestinations(
|
|||||||
shortcut = Shortcut(
|
shortcut = Shortcut(
|
||||||
R.string.calculator_title,
|
R.string.calculator_title,
|
||||||
R.string.calculator_title,
|
R.string.calculator_title,
|
||||||
R.drawable.calculator_shortcut
|
R.drawable.ic_shortcut_calculator
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -79,7 +79,7 @@ sealed class TopLevelDestinations(
|
|||||||
shortcut = Shortcut(
|
shortcut = Shortcut(
|
||||||
R.string.date_calculator_title,
|
R.string.date_calculator_title,
|
||||||
R.string.date_calculator_title,
|
R.string.date_calculator_title,
|
||||||
R.drawable.date_calculator_shortcut
|
R.drawable.ic_shortcut_date_calculator
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -90,7 +90,7 @@ sealed class TopLevelDestinations(
|
|||||||
shortcut = Shortcut(
|
shortcut = Shortcut(
|
||||||
R.string.time_zone_title,
|
R.string.time_zone_title,
|
||||||
R.string.time_zone_title,
|
R.string.time_zone_title,
|
||||||
R.drawable.time_zone_shortcut
|
R.drawable.ic_shortcut_time_zone
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?><!--
|
||||||
|
~ Unitto is a unit converter for Android
|
||||||
|
~ Copyright (c) 2023 Elshan Agaev
|
||||||
|
~
|
||||||
|
~ 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/ic_shortcut_background" />
|
||||||
|
<foreground>
|
||||||
|
<inset
|
||||||
|
android:drawable="@drawable/ic_calculator_foreground"
|
||||||
|
android:inset="29.999996%" />
|
||||||
|
</foreground>
|
||||||
|
</adaptive-icon>
|
@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?><!--
|
||||||
|
~ Unitto is a unit converter for Android
|
||||||
|
~ Copyright (c) 2023 Elshan Agaev
|
||||||
|
~
|
||||||
|
~ 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/ic_shortcut_background" />
|
||||||
|
<foreground>
|
||||||
|
<inset
|
||||||
|
android:drawable="@drawable/ic_date_calculator_foreground"
|
||||||
|
android:inset="29.999996%" />
|
||||||
|
</foreground>
|
||||||
|
</adaptive-icon>
|
@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?><!--
|
||||||
|
~ Unitto is a unit converter for Android
|
||||||
|
~ Copyright (c) 2023 Elshan Agaev
|
||||||
|
~
|
||||||
|
~ 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/ic_shortcut_background" />
|
||||||
|
<foreground>
|
||||||
|
<inset
|
||||||
|
android:drawable="@drawable/ic_time_zone_foreground"
|
||||||
|
android:inset="29.999996%" />
|
||||||
|
</foreground>
|
||||||
|
</adaptive-icon>
|
@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?><!--
|
||||||
|
~ Unitto is a unit converter for Android
|
||||||
|
~ Copyright (c) 2023 Elshan Agaev
|
||||||
|
~
|
||||||
|
~ 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/ic_shortcut_background" />
|
||||||
|
<foreground>
|
||||||
|
<inset
|
||||||
|
android:drawable="@drawable/ic_unit_converter_foreground"
|
||||||
|
android:inset="29.999996%" />
|
||||||
|
</foreground>
|
||||||
|
</adaptive-icon>
|
@ -1,34 +0,0 @@
|
|||||||
<!--
|
|
||||||
~ Unitto is a unit converter for Android
|
|
||||||
~ Copyright (c) 2023 Elshan Agaev
|
|
||||||
~
|
|
||||||
~ 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="48dp"
|
|
||||||
android:height="48dp"
|
|
||||||
android:viewportWidth="48"
|
|
||||||
android:viewportHeight="48">
|
|
||||||
<path
|
|
||||||
android:pathData="M24,24m-22,0a22,22 0,1 1,44 0a22,22 0,1 1,-44 0"
|
|
||||||
android:fillColor="#F5F5F5"/>
|
|
||||||
<group>
|
|
||||||
<clip-path
|
|
||||||
android:pathData="M12,12h24v24h-24z"/>
|
|
||||||
<path
|
|
||||||
android:pathData="M20,30H21.5V28H23.5V26.5H21.5V24.5H20V26.5H18V28H20V30ZM25,29.25H30V27.75H25V29.25ZM25,26.75H30V25.25H25V26.75ZM26.1,22.95L27.5,21.55L28.9,22.95L29.95,21.9L28.55,20.45L29.95,19.05L28.9,18L27.5,19.4L26.1,18L25.05,19.05L26.45,20.45L25.05,21.9L26.1,22.95ZM18.25,21.2H23.25V19.7H18.25V21.2ZM17,33C16.45,33 15.979,32.804 15.587,32.412C15.196,32.021 15,31.55 15,31V17C15,16.45 15.196,15.979 15.587,15.587C15.979,15.196 16.45,15 17,15H31C31.55,15 32.021,15.196 32.412,15.587C32.804,15.979 33,16.45 33,17V31C33,31.55 32.804,32.021 32.412,32.412C32.021,32.804 31.55,33 31,33H17ZM17,31H31V17H17V31Z"
|
|
||||||
android:fillColor="#378648"/>
|
|
||||||
</group>
|
|
||||||
</vector>
|
|
@ -1,34 +0,0 @@
|
|||||||
<!--
|
|
||||||
~ Unitto is a unit converter for Android
|
|
||||||
~ Copyright (c) 2023 Elshan Agaev
|
|
||||||
~
|
|
||||||
~ 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="48dp"
|
|
||||||
android:height="48dp"
|
|
||||||
android:viewportWidth="48"
|
|
||||||
android:viewportHeight="48">
|
|
||||||
<path
|
|
||||||
android:pathData="M24,24m-22,0a22,22 0,1 1,44 0a22,22 0,1 1,-44 0"
|
|
||||||
android:fillColor="#F5F5F5"/>
|
|
||||||
<group>
|
|
||||||
<clip-path
|
|
||||||
android:pathData="M12,12.268h24v24h-24z"/>
|
|
||||||
<path
|
|
||||||
android:pathData="M26.5,30.268C25.8,30.268 25.208,30.027 24.725,29.543C24.242,29.06 24,28.468 24,27.768C24,27.068 24.242,26.477 24.725,25.993C25.208,25.51 25.8,25.268 26.5,25.268C27.2,25.268 27.792,25.51 28.275,25.993C28.758,26.477 29,27.068 29,27.768C29,28.468 28.758,29.06 28.275,29.543C27.792,30.027 27.2,30.268 26.5,30.268ZM17,34.268C16.45,34.268 15.979,34.072 15.587,33.681C15.196,33.289 15,32.818 15,32.268V18.268C15,17.718 15.196,17.247 15.587,16.856C15.979,16.464 16.45,16.268 17,16.268H18V14.268H20V16.268H28V14.268H30V16.268H31C31.55,16.268 32.021,16.464 32.412,16.856C32.804,17.247 33,17.718 33,18.268V32.268C33,32.818 32.804,33.289 32.412,33.681C32.021,34.072 31.55,34.268 31,34.268H17ZM17,32.268H31V22.268H17V32.268ZM17,20.268H31V18.268H17V20.268Z"
|
|
||||||
android:fillColor="#378648"/>
|
|
||||||
</group>
|
|
||||||
</vector>
|
|
31
core/base/src/main/res/drawable/ic_calculator_foreground.xml
Normal file
31
core/base/src/main/res/drawable/ic_calculator_foreground.xml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<!--
|
||||||
|
~ Unitto is a unit converter for Android
|
||||||
|
~ Copyright (c) 2023 Elshan Agaev
|
||||||
|
~
|
||||||
|
~ 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="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<group>
|
||||||
|
<clip-path
|
||||||
|
android:pathData="M0,0h24v24h-24z"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M8,18H9.5V16H11.5V14.5H9.5V12.5H8V14.5H6V16H8V18ZM13,17.25H18V15.75H13V17.25ZM13,14.75H18V13.25H13V14.75ZM14.1,10.95L15.5,9.55L16.9,10.95L17.95,9.9L16.55,8.45L17.95,7.05L16.9,6L15.5,7.4L14.1,6L13.05,7.05L14.45,8.45L13.05,9.9L14.1,10.95ZM6.25,9.2H11.25V7.7H6.25V9.2ZM5,21C4.45,21 3.979,20.804 3.588,20.413C3.196,20.021 3,19.55 3,19V5C3,4.45 3.196,3.979 3.588,3.588C3.979,3.196 4.45,3 5,3H19C19.55,3 20.021,3.196 20.413,3.588C20.804,3.979 21,4.45 21,5V19C21,19.55 20.804,20.021 20.413,20.413C20.021,20.804 19.55,21 19,21H5ZM5,19H19V5H5V19Z"
|
||||||
|
android:fillColor="@color/unitto_primary"/>
|
||||||
|
</group>
|
||||||
|
</vector>
|
@ -0,0 +1,31 @@
|
|||||||
|
<!--
|
||||||
|
~ Unitto is a unit converter for Android
|
||||||
|
~ Copyright (c) 2023 Elshan Agaev
|
||||||
|
~
|
||||||
|
~ 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="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<group>
|
||||||
|
<clip-path
|
||||||
|
android:pathData="M0,0h24v24h-24z"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M14.5,18C13.8,18 13.208,17.758 12.725,17.275C12.242,16.792 12,16.2 12,15.5C12,14.8 12.242,14.208 12.725,13.725C13.208,13.242 13.8,13 14.5,13C15.2,13 15.792,13.242 16.275,13.725C16.758,14.208 17,14.8 17,15.5C17,16.2 16.758,16.792 16.275,17.275C15.792,17.758 15.2,18 14.5,18ZM5,22C4.45,22 3.979,21.804 3.588,21.413C3.196,21.021 3,20.55 3,20V6C3,5.45 3.196,4.979 3.588,4.588C3.979,4.196 4.45,4 5,4H6V2H8V4H16V2H18V4H19C19.55,4 20.021,4.196 20.413,4.588C20.804,4.979 21,5.45 21,6V20C21,20.55 20.804,21.021 20.413,21.413C20.021,21.804 19.55,22 19,22H5ZM5,20H19V10H5V20ZM5,8H19V6H5V8Z"
|
||||||
|
android:fillColor="@color/unitto_primary"/>
|
||||||
|
</group>
|
||||||
|
</vector>
|
37
core/base/src/main/res/drawable/ic_shortcut_calculator.xml
Normal file
37
core/base/src/main/res/drawable/ic_shortcut_calculator.xml
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?><!--
|
||||||
|
~ Unitto is a unit converter for Android
|
||||||
|
~ Copyright (c) 2023 Elshan Agaev
|
||||||
|
~
|
||||||
|
~ 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/>.
|
||||||
|
-->
|
||||||
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<item
|
||||||
|
android:bottom="2.0dip"
|
||||||
|
android:left="2.0dip"
|
||||||
|
android:right="2.0dip"
|
||||||
|
android:top="2.0dip">
|
||||||
|
<shape android:shape="oval">
|
||||||
|
<size
|
||||||
|
android:width="44.0dip"
|
||||||
|
android:height="44.0dip" />
|
||||||
|
<solid android:color="@color/ic_shortcut_background" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
<item
|
||||||
|
android:bottom="12.0dip"
|
||||||
|
android:drawable="@drawable/ic_calculator_foreground"
|
||||||
|
android:left="12.0dip"
|
||||||
|
android:right="12.0dip"
|
||||||
|
android:top="12.0dip" />
|
||||||
|
</layer-list>
|
@ -0,0 +1,37 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?><!--
|
||||||
|
~ Unitto is a unit converter for Android
|
||||||
|
~ Copyright (c) 2023 Elshan Agaev
|
||||||
|
~
|
||||||
|
~ 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/>.
|
||||||
|
-->
|
||||||
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<item
|
||||||
|
android:bottom="2.0dip"
|
||||||
|
android:left="2.0dip"
|
||||||
|
android:right="2.0dip"
|
||||||
|
android:top="2.0dip">
|
||||||
|
<shape android:shape="oval">
|
||||||
|
<size
|
||||||
|
android:width="44.0dip"
|
||||||
|
android:height="44.0dip" />
|
||||||
|
<solid android:color="@color/ic_shortcut_background" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
<item
|
||||||
|
android:bottom="12.0dip"
|
||||||
|
android:drawable="@drawable/ic_date_calculator_foreground"
|
||||||
|
android:left="12.0dip"
|
||||||
|
android:right="12.0dip"
|
||||||
|
android:top="12.0dip" />
|
||||||
|
</layer-list>
|
37
core/base/src/main/res/drawable/ic_shortcut_time_zone.xml
Normal file
37
core/base/src/main/res/drawable/ic_shortcut_time_zone.xml
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?><!--
|
||||||
|
~ Unitto is a unit converter for Android
|
||||||
|
~ Copyright (c) 2023 Elshan Agaev
|
||||||
|
~
|
||||||
|
~ 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/>.
|
||||||
|
-->
|
||||||
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<item
|
||||||
|
android:bottom="2.0dip"
|
||||||
|
android:left="2.0dip"
|
||||||
|
android:right="2.0dip"
|
||||||
|
android:top="2.0dip">
|
||||||
|
<shape android:shape="oval">
|
||||||
|
<size
|
||||||
|
android:width="44.0dip"
|
||||||
|
android:height="44.0dip" />
|
||||||
|
<solid android:color="@color/ic_shortcut_background" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
<item
|
||||||
|
android:bottom="12.0dip"
|
||||||
|
android:drawable="@drawable/ic_time_zone_foreground"
|
||||||
|
android:left="12.0dip"
|
||||||
|
android:right="12.0dip"
|
||||||
|
android:top="12.0dip" />
|
||||||
|
</layer-list>
|
@ -0,0 +1,38 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?><!--
|
||||||
|
~ Unitto is a unit converter for Android
|
||||||
|
~ Copyright (c) 2023 Elshan Agaev
|
||||||
|
~
|
||||||
|
~ 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/>.
|
||||||
|
-->
|
||||||
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<item
|
||||||
|
android:bottom="2.0dip"
|
||||||
|
android:left="2.0dip"
|
||||||
|
android:right="2.0dip"
|
||||||
|
android:top="2.0dip">
|
||||||
|
<shape android:shape="oval">
|
||||||
|
<size
|
||||||
|
android:width="44.0dip"
|
||||||
|
android:height="44.0dip" />
|
||||||
|
<solid android:color="@color/ic_shortcut_background" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
<item
|
||||||
|
android:bottom="12.0dip"
|
||||||
|
android:drawable="@drawable/ic_unit_converter_foreground"
|
||||||
|
android:left="12.0dip"
|
||||||
|
android:right="12.0dip"
|
||||||
|
android:top="12.0dip" />
|
||||||
|
</layer-list>
|
||||||
|
|
29
core/base/src/main/res/drawable/ic_time_zone_foreground.xml
Normal file
29
core/base/src/main/res/drawable/ic_time_zone_foreground.xml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
<!--
|
||||||
|
~ Unitto is a unit converter for Android
|
||||||
|
~ Copyright (c) 2023 Elshan Agaev
|
||||||
|
~
|
||||||
|
~ 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="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<group>
|
||||||
|
<clip-path android:pathData="M0,0h24v24h-24z" />
|
||||||
|
<path
|
||||||
|
android:fillColor="@color/unitto_primary"
|
||||||
|
android:pathData="M15.3,16.7L16.7,15.3L13,11.6V7H11V12.4L15.3,16.7ZM12,22C10.617,22 9.317,21.737 8.1,21.212C6.883,20.688 5.825,19.975 4.925,19.075C4.025,18.175 3.313,17.117 2.787,15.9C2.263,14.683 2,13.383 2,12C2,10.617 2.263,9.317 2.787,8.1C3.313,6.883 4.025,5.825 4.925,4.925C5.825,4.025 6.883,3.313 8.1,2.787C9.317,2.263 10.617,2 12,2C13.383,2 14.683,2.263 15.9,2.787C17.117,3.313 18.175,4.025 19.075,4.925C19.975,5.825 20.688,6.883 21.212,8.1C21.737,9.317 22,10.617 22,12C22,13.383 21.737,14.683 21.212,15.9C20.688,17.117 19.975,18.175 19.075,19.075C18.175,19.975 17.117,20.688 15.9,21.212C14.683,21.737 13.383,22 12,22ZM12,20C14.217,20 16.104,19.221 17.663,17.663C19.221,16.104 20,14.217 20,12C20,9.783 19.221,7.896 17.663,6.338C16.104,4.779 14.217,4 12,4C9.783,4 7.896,4.779 6.338,6.338C4.779,7.896 4,9.783 4,12C4,14.217 4.779,16.104 6.338,17.663C7.896,19.221 9.783,20 12,20Z" />
|
||||||
|
</group>
|
||||||
|
</vector>
|
@ -15,20 +15,15 @@
|
|||||||
~ You should have received a copy of the GNU General Public License
|
~ You should have received a copy of the GNU General Public License
|
||||||
~ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
~ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:width="48dp"
|
android:width="24dp"
|
||||||
android:height="48dp"
|
android:height="24dp"
|
||||||
android:viewportWidth="48"
|
android:viewportWidth="24"
|
||||||
android:viewportHeight="48">
|
android:viewportHeight="24">
|
||||||
<path
|
|
||||||
android:pathData="M24,24m-22,0a22,22 0,1 1,44 0a22,22 0,1 1,-44 0"
|
|
||||||
android:fillColor="#F5F5F5"/>
|
|
||||||
<group>
|
<group>
|
||||||
<clip-path
|
<clip-path android:pathData="M0,0h24v24h-24z" />
|
||||||
android:pathData="M12,12.268h24v24h-24z"/>
|
|
||||||
<path
|
<path
|
||||||
android:pathData="M19,32.268L14,27.268L19,22.268L20.4,23.693L17.825,26.268H25V28.268H17.825L20.4,30.843L19,32.268ZM29,26.268L27.6,24.843L30.175,22.268H23V20.268H30.175L27.6,17.693L29,16.268L34,21.268L29,26.268Z"
|
android:fillColor="@color/unitto_primary"
|
||||||
android:fillColor="#378648"/>
|
android:pathData="M7,20L2,15L7,10L8.4,11.425L5.825,14H13V16H5.825L8.4,18.575L7,20ZM17,14L15.6,12.575L18.175,10H11V8H18.175L15.6,5.425L17,4L22,9L17,14Z" />
|
||||||
</group>
|
</group>
|
||||||
</vector>
|
</vector>
|
@ -1,34 +0,0 @@
|
|||||||
<!--
|
|
||||||
~ Unitto is a unit converter for Android
|
|
||||||
~ Copyright (c) 2023 Elshan Agaev
|
|
||||||
~
|
|
||||||
~ 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="48dp"
|
|
||||||
android:height="48dp"
|
|
||||||
android:viewportWidth="48"
|
|
||||||
android:viewportHeight="48">
|
|
||||||
<path
|
|
||||||
android:pathData="M24,24m-22,0a22,22 0,1 1,44 0a22,22 0,1 1,-44 0"
|
|
||||||
android:fillColor="#F5F5F5"/>
|
|
||||||
<group>
|
|
||||||
<clip-path
|
|
||||||
android:pathData="M12,12h24v24h-24z"/>
|
|
||||||
<path
|
|
||||||
android:pathData="M27.3,28.7L28.7,27.3L25,23.6V19H23V24.4L27.3,28.7ZM24,34C22.617,34 21.317,33.737 20.1,33.213C18.883,32.688 17.825,31.975 16.925,31.075C16.025,30.175 15.313,29.117 14.788,27.9C14.262,26.683 14,25.383 14,24C14,22.617 14.262,21.317 14.788,20.1C15.313,18.883 16.025,17.825 16.925,16.925C17.825,16.025 18.883,15.313 20.1,14.788C21.317,14.262 22.617,14 24,14C25.383,14 26.683,14.262 27.9,14.788C29.117,15.313 30.175,16.025 31.075,16.925C31.975,17.825 32.688,18.883 33.213,20.1C33.737,21.317 34,22.617 34,24C34,25.383 33.737,26.683 33.213,27.9C32.688,29.117 31.975,30.175 31.075,31.075C30.175,31.975 29.117,32.688 27.9,33.213C26.683,33.737 25.383,34 24,34ZM24,32C26.217,32 28.104,31.221 29.663,29.663C31.221,28.104 32,26.217 32,24C32,21.783 31.221,19.896 29.663,18.337C28.104,16.779 26.217,16 24,16C21.783,16 19.896,16.779 18.337,18.337C16.779,19.896 16,21.783 16,24C16,26.217 16.779,28.104 18.337,29.663C19.896,31.221 21.783,32 24,32Z"
|
|
||||||
android:fillColor="#378648"/>
|
|
||||||
</group>
|
|
||||||
</vector>
|
|
@ -19,4 +19,6 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<color name="ic_launcher_icon_background">#FCFCF7</color>
|
<color name="ic_launcher_icon_background">#FCFCF7</color>
|
||||||
<color name="window_background">#FFFFFF</color>
|
<color name="window_background">#FFFFFF</color>
|
||||||
|
<color name="unitto_primary">#378648</color>
|
||||||
|
<color name="ic_shortcut_background">#F5F5F5</color>
|
||||||
</resources>
|
</resources>
|
Loading…
x
Reference in New Issue
Block a user