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

Commit 8bf5628d authored by Abhishek Aggarwal's avatar Abhishek Aggarwal
Browse files

Merge branch '46-main-adaptive_icon' into 'main'

Change app icon to adaptive icon

See merge request !65
parents 98a18bb4 641644f0
Loading
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2019 Moez Bhatti <moez.bhatti@gmail.com>
  ~
  ~ This file is part of QKSMS.
  ~
  ~ QKSMS is free software: you can redistribute it and/or modify
  ~ Copyright ECORP SAS 2022
  ~ 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.
  ~
  ~ QKSMS is distributed in the hope that it will be useful,
  ~ 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 QKSMS.  If not, see <http://www.gnu.org/licenses/>.
  ~  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="@mipmap/ic_launcher_background" />
    <foreground android:drawable="@mipmap/ic_launcher_foreground" />
</adaptive-icon>
 No newline at end of file
<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="38.74"
          android:endX="54"
          android:endY="120.41"
          android:type="linear">
        <item android:offset="0" android:color="#FF00D065"/>
        <item android:offset="0.33" android:color="#FF00C95C"/>
        <item android:offset="0.88" android:color="#FF00B642"/>
        <item android:offset="1" android:color="#FF00B13C"/>
      </gradient>
    </aapt:attr>
  </path>
</vector>
+37 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright ECORP SAS 2022
  ~ 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="M70.47,37H37.53C36.28,37 35.04,37.24 33.88,37.69C32.73,38.15 31.68,38.82 30.79,39.67C29.91,40.52 29.2,41.52 28.73,42.63C28.25,43.74 28,44.93 28,46.12V61.49C28,62.69 28.25,63.88 28.73,64.99C29.2,66.09 29.91,67.1 30.79,67.95C31.68,68.79 32.73,69.47 33.88,69.92C35.04,70.38 36.28,70.62 37.53,70.62V77L44.19,70.62H70.47C71.72,70.62 72.96,70.38 74.12,69.92C75.27,69.47 76.32,68.79 77.21,67.95C78.09,67.1 78.8,66.09 79.27,64.99C79.75,63.88 80,62.69 80,61.49V46.12C80,44.93 79.75,43.74 79.27,42.63C78.8,41.52 78.09,40.52 77.21,39.67C76.32,38.82 75.27,38.15 74.12,37.69C72.96,37.24 71.72,37 70.47,37Z">
    <aapt:attr name="android:fillColor">
      <gradient 
          android:startX="54"
          android:startY="52.8"
          android:endX="54"
          android:endY="93.7"
          android:type="linear">
        <item android:offset="0" android:color="#FFFFFFFF"/>
        <item android:offset="1" android:color="#FFCBD6EA"/>
      </gradient>
    </aapt:attr>
  </path>
</vector>
+19 −2
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright ECORP SAS 2022
  ~ 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_launcher_background"/>
    <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
    <background android:drawable="@drawable/ic_launcher_background" />
    <foreground>
        <inset android:drawable="@drawable/ic_launcher_foreground" android:inset="5%" />
    </foreground>
</adaptive-icon>
 No newline at end of file
+0 −5
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
    <background android:drawable="@color/ic_launcher_background"/>
    <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
 No newline at end of file