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

Commit f46a8c08 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 !108
parents 887eead9 ec9d87d5
Loading
Loading
Loading
Loading
Loading
+39 −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="M0,0h108v108h-108z">
    <aapt:attr name="android:fillColor">
      <gradient 
          android:startX="54"
          android:startY="9.88"
          android:endX="54"
          android:endY="105.89"
          android:type="linear">
        <item android:offset="0" android:color="#FFFF7300"/>
        <item android:offset="0.37" android:color="#FFFB6C09"/>
        <item android:offset="0.97" android:color="#FFF15B23"/>
        <item android:offset="1" android:color="#FFF15A24"/>
      </gradient>
    </aapt:attr>
  </path>
</vector>
+79 −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="M61.88,55.68L79.19,72.99C79.73,72.26 80.02,71.37 80.02,70.46V37.55L61.88,55.68Z">
    <aapt:attr name="android:fillColor">
      <gradient 
          android:startX="70.95"
          android:startY="49.34"
          android:endX="70.95"
          android:endY="91.83"
          android:type="linear">
        <item android:offset="0" android:color="#FFFFFFFF"/>
        <item android:offset="1" android:color="#FFCBD6EA"/>
      </gradient>
    </aapt:attr>
  </path>
  <path
      android:pathData="M28.46,36.17L49.27,56.98C49.89,57.6 50.62,58.09 51.44,58.43C52.25,58.77 53.12,58.94 54,58.94C54.88,58.94 55.75,58.77 56.56,58.43C57.38,58.09 58.12,57.6 58.74,56.98L79.54,36.17C79.62,36.1 79.71,36.04 79.81,36.01C79.54,35.14 79,34.38 78.27,33.84C77.53,33.29 76.64,33 75.73,33H32.27C31.35,33 30.46,33.29 29.73,33.83C28.99,34.38 28.45,35.14 28.18,36.01C28.28,36.04 28.38,36.09 28.46,36.17Z">
    <aapt:attr name="android:fillColor">
      <gradient 
          android:startX="53.99"
          android:startY="47.89"
          android:endX="53.99"
          android:endY="93.78"
          android:type="linear">
        <item android:offset="0" android:color="#FFFFFFFF"/>
        <item android:offset="1" android:color="#FFCBD6EA"/>
      </gradient>
    </aapt:attr>
  </path>
  <path
      android:pathData="M28,37.55V70.46C28,71.37 28.29,72.26 28.83,72.99L46.14,55.68L28,37.55Z">
    <aapt:attr name="android:fillColor">
      <gradient 
          android:startX="37.07"
          android:startY="49.34"
          android:endX="37.07"
          android:endY="91.83"
          android:type="linear">
        <item android:offset="0" android:color="#FFFFFFFF"/>
        <item android:offset="1" android:color="#FFCBD6EA"/>
      </gradient>
    </aapt:attr>
  </path>
  <path
      android:pathData="M60.96,56.6L59.66,57.9C58.92,58.65 58.04,59.24 57.08,59.64C56.11,60.04 55.07,60.25 54.03,60.25C52.98,60.25 51.94,60.04 50.97,59.64C50.01,59.24 49.13,58.65 48.39,57.9L47.09,56.6L29.78,73.91C30.51,74.45 31.4,74.74 32.31,74.74H75.77C76.68,74.74 77.57,74.45 78.3,73.91L60.96,56.6Z">
    <aapt:attr name="android:fillColor">
      <gradient 
          android:startX="54.04"
          android:startY="52.48"
          android:endX="54.04"
          android:endY="92.63"
          android:type="linear">
        <item android:offset="0" android:color="#FFFFFFFF"/>
        <item android:offset="1" android:color="#FFCBD6EA"/>
      </gradient>
    </aapt:attr>
  </path>
</vector>
+17 −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/icon_background" />
    <background android:drawable="@drawable/ic_launcher_background" />
    <foreground>
        <inset android:drawable="@mipmap/icon_e" android:inset="15%"/>
        <inset android:drawable="@drawable/ic_launcher_foreground" android:inset="5%"/>
    </foreground>
</adaptive-icon>
 No newline at end of file