Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba73cf43 authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

Change app icon to our custom icon

parent 88adf25d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@
        android:supportsRtl="true"
        android:theme="@style/Theme.DeskClock">

        <meta-data android:name="com.android.launcher3.LEVEL_PER_TICK_ICON_ROUND" android:resource="@mipmap/launcher_clock" />
        <meta-data android:name="com.android.launcher3.LEVEL_PER_TICK_ICON_ROUND" android:resource="@drawable/e_clock" />
        <meta-data android:name="com.android.launcher3.HOUR_LAYER_INDEX" android:value="0" />
        <meta-data android:name="com.android.launcher3.MINUTE_LAYER_INDEX" android:value="1" />
        <meta-data android:name="com.android.launcher3.SECOND_LAYER_INDEX" android:value="2" />
+86 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright Murena SAS 2024
  ~ 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"
    xmlns:aapt="http://schemas.android.com/aapt"
    android:width="108dp"
    android:height="108dp"
    android:viewportWidth="108"
    android:viewportHeight="108">
  <path
      android:pathData="M0,0h108v108h-108z">
    <aapt:attr name="android:fillColor">
      <gradient 
          android:startX="54"
          android:startY="0"
          android:endX="54"
          android:endY="108"
          android:type="linear">
        <item android:offset="0" android:color="#FF225180"/>
        <item android:offset="1" android:color="#FF1F4D7B"/>
      </gradient>
    </aapt:attr>
  </path>
  <path
      android:pathData="M54,54m-28.55,0a28.55,28.55 0,1 1,57.1 0a28.55,28.55 0,1 1,-57.1 0">
    <aapt:attr name="android:fillColor">
      <gradient 
          android:centerX="54"
          android:centerY="55.86"
          android:gradientRadius="32.28"
          android:type="radial">
        <item android:offset="0.82" android:color="#FFFFFFFF"/>
        <item android:offset="1" android:color="#FFE2E9EB"/>
      </gradient>
    </aapt:attr>
  </path>
  <path
      android:pathData="M54.45,28.38L54.45,28.38A0.62,0.62 0,0 1,55.07 29L55.07,30.24A0.62,0.62 0,0 1,54.45 30.86L54.45,30.86A0.62,0.62 0,0 1,53.83 30.24L53.83,29A0.62,0.62 0,0 1,54.45 28.38z"
      android:fillColor="#2D313E"/>
  <path
      android:pathData="M54.45,78.03L54.45,78.03A0.62,0.62 0,0 1,55.07 78.66L55.07,79.9A0.62,0.62 0,0 1,54.45 80.52L54.45,80.52A0.62,0.62 0,0 1,53.83 79.9L53.83,78.66A0.62,0.62 0,0 1,54.45 78.03z"
      android:fillColor="#2D313E"/>
  <path
      android:pathData="M67.48,31.87L67.48,31.87A0.62,0.62 75,0 1,67.71 32.72L67.09,33.79A0.62,0.62 75,0 1,66.24 34.02L66.24,34.02A0.62,0.62 75,0 1,66.01 33.17L66.63,32.1A0.62,0.62 75,0 1,67.48 31.87z"
      android:fillColor="#A0B1C5"/>
  <path
      android:pathData="M42.66,74.87L42.66,74.87A0.62,0.62 75,0 1,42.88 75.72L42.26,76.8A0.62,0.62 75,0 1,41.41 77.02L41.41,77.02A0.62,0.62 75,0 1,41.19 76.18L41.81,75.1A0.62,0.62 75,0 1,42.66 74.87z"
      android:fillColor="#A0B1C5"/>
  <path
      android:pathData="M77.02,41.41L77.02,41.41A0.62,0.62 105,0 1,76.8 42.26L75.72,42.88A0.62,0.62 105,0 1,74.87 42.66L74.87,42.66A0.62,0.62 105,0 1,75.1 41.81L76.18,41.19A0.62,0.62 105,0 1,77.02 41.41z"
      android:fillColor="#A0B1C5"/>
  <path
      android:pathData="M34.02,66.24L34.02,66.24A0.62,0.62 105,0 1,33.79 67.09L32.72,67.71A0.62,0.62 105,0 1,31.87 67.48L31.87,67.48A0.62,0.62 105,0 1,32.1 66.64L33.17,66.01A0.62,0.62 105,0 1,34.02 66.24z"
      android:fillColor="#A0B1C5"/>
  <path
      android:pathData="M28.38,54.45L28.38,54.45A0.62,0.62 0,0 1,29 53.83L30.24,53.83A0.62,0.62 0,0 1,30.86 54.45L30.86,54.45A0.62,0.62 0,0 1,30.24 55.07L29,55.07A0.62,0.62 0,0 1,28.38 54.45z"
      android:fillColor="#2D313E"/>
  <path
      android:pathData="M78.03,54.45L78.03,54.45A0.62,0.62 0,0 1,78.66 53.83L79.9,53.83A0.62,0.62 0,0 1,80.52 54.45L80.52,54.45A0.62,0.62 0,0 1,79.9 55.07L78.66,55.07A0.62,0.62 0,0 1,78.03 54.45z"
      android:fillColor="#2D313E"/>
  <path
      android:pathData="M31.87,41.41L31.87,41.41A0.62,0.62 75,0 1,32.72 41.19L33.79,41.81A0.62,0.62 75,0 1,34.02 42.66L34.02,42.66A0.62,0.62 75,0 1,33.17 42.88L32.1,42.26A0.62,0.62 75,0 1,31.87 41.41z"
      android:fillColor="#A0B1C5"/>
  <path
      android:pathData="M74.87,66.24L74.87,66.24A0.62,0.62 75,0 1,75.72 66.01L76.8,66.64A0.62,0.62 75,0 1,77.02 67.48L77.02,67.48A0.62,0.62 75,0 1,76.18 67.71L75.1,67.09A0.62,0.62 75,0 1,74.87 66.24z"
      android:fillColor="#A0B1C5"/>
  <path
      android:pathData="M41.41,31.87L41.41,31.87A0.62,0.62 105,0 1,42.26 32.1L42.88,33.17A0.62,0.62 105,0 1,42.66 34.02L42.66,34.02A0.62,0.62 105,0 1,41.81 33.79L41.19,32.72A0.62,0.62 105,0 1,41.41 31.87z"
      android:fillColor="#A0B1C5"/>
  <path
      android:pathData="M66.24,74.87L66.24,74.87A0.62,0.62 105,0 1,67.09 75.1L67.71,76.18A0.62,0.62 105,0 1,67.48 77.02L67.48,77.02A0.62,0.62 105,0 1,66.63 76.8L66.01,75.72A0.62,0.62 105,0 1,66.24 74.87z"
      android:fillColor="#A0B1C5"/>
</vector>
+33 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright Murena SAS 2023
  ~ 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"
    xmlns:aapt="http://schemas.android.com/aapt">
    <background android:drawable="@drawable/e_backgroundclock" />

    <foreground>
        <layer-list>
            <!-- Hour hand -->
            <item android:drawable="@drawable/e_hourclock" />
                <!-- Minute hand -->
            <item android:drawable="@drawable/e_minuteclock" />
            <!--
            Second hand
            -->
            <item android:drawable="@drawable/e_secondclock" />
        </layer-list>
    </foreground>
</adaptive-icon>
+32 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright Murena SAS 2024
  ~ 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/>.
  -->
<rotate xmlns:android="http://schemas.android.com/apk/res/android"
    android:fromDegrees="300.0"
    android:pivotX="50.0%"
    android:pivotY="50.0%"
    android:toDegrees="5300.0">

    <vector
      android:width="108dp"
      android:height="108dp"
      android:viewportWidth="108"
      android:viewportHeight="108">
      <path
        android:pathData="M54,41.68L54,41.68A0.62,0.62 0,0 1,54.62 42.3L54.62,53.47A0.62,0.62 0,0 1,54 54.09L54,54.09A0.62,0.62 0,0 1,53.38 53.47L53.38,42.3A0.62,0.62 0,0 1,54 41.68z"
        android:fillColor="#2D313E"/>
    </vector>
</rotate>
+32 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright Murena SAS 2024
  ~ 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/>.
  -->
<rotate xmlns:android="http://schemas.android.com/apk/res/android"
    android:fromDegrees="60.0"
    android:pivotX="50.0%"
    android:pivotY="50.0%"
    android:toDegrees="60060.0">

    <vector
      android:width="108dp"
      android:height="108dp"
      android:viewportWidth="108"
      android:viewportHeight="108">
      <path
        android:pathData="M54,34.14L54,34.14A0.62,0.62 0,0 1,54.62 34.76L54.62,53.47A0.62,0.62 0,0 1,54 54.09L54,54.09A0.62,0.62 0,0 1,53.38 53.47L53.38,34.76A0.62,0.62 0,0 1,54 34.14z"
        android:fillColor="#2D313E"/>
    </vector>
</rotate>
Loading