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

Commit 3b54bcbc authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

Change app icon to adaptive icon

parent abe45be8
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
<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="7.15"
          android:endX="54"
          android:endY="208.35"
          android:type="linear">
        <item android:offset="0" android:color="#FFD8DDDF"/>
        <item android:offset="1" android:color="#FF949DA1"/>
      </gradient>
    </aapt:attr>
  </path>
</vector>
+35 −0
Original line number Diff line number Diff line
<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="M45.7,47.13C45.65,46.65 45.65,46.17 45.7,45.69C45.8,45.04 48.37,41.23 48.99,40.88C49.41,40.61 49.87,40.43 50.36,40.35C50.44,40.34 50.51,40.32 50.58,40.28C50.72,40.11 50.92,39.99 51.14,39.95C51.36,39.91 51.59,39.94 51.79,40.04C51.61,39.76 52.07,39.38 52.38,39.42C53.68,39.56 55.01,39.48 56.29,39.79C57.94,40.19 60.54,42.64 60.64,42.75C60.56,42.8 60.54,42.84 60.64,42.89C60.64,42.89 62.15,45.5 62.04,47.08C61.96,48.25 61.81,49.92 61.69,51.1C61.67,51.19 61.68,51.28 61.7,51.37C61.73,51.45 61.77,51.54 61.83,51.6C62.45,52.12 62.29,52.78 62.15,53.4C61.93,54.39 61.65,55.36 61.38,56.33C61.37,56.41 61.35,56.48 61.3,56.54C61.26,56.6 61.2,56.65 61.13,56.69C60.95,56.78 60.8,56.92 60.68,57.08C60.56,57.25 60.48,57.44 60.45,57.64C60.21,58.48 59.84,59.27 59.37,60.01C59.07,60.57 58.96,61.2 59.03,61.83C59.05,62.36 59.09,62.88 59.11,63.41C59.12,63.56 59.18,63.71 59.28,63.82C59.38,63.94 59.52,64.02 59.67,64.04C60.37,64.26 60.58,64.75 60.65,65.44C60.75,66.44 61.08,67.26 62.16,67.75C64.49,68.76 66.78,69.89 69.08,70.98C69.25,71.03 69.41,71.12 69.53,71.26C68.78,71.94 67.98,72.58 67.13,73.15C63.15,75.9 58.41,77.32 53.57,77.22C48.06,77.17 42.74,75.15 38.59,71.52C38.2,71.2 38.21,71.2 38.69,70.96C40.93,69.89 43.17,68.82 45.46,67.84C45.97,67.65 46.41,67.3 46.72,66.85C47.03,66.4 47.19,65.87 47.18,65.32C47.22,64.52 47.35,64.34 48.11,64.09C48.29,64.04 48.44,63.93 48.55,63.78C48.66,63.64 48.71,63.46 48.7,63.27C48.7,62.58 48.73,61.91 48.75,61.19C48.74,60.94 48.69,60.68 48.59,60.44C48.23,59.5 47.86,59.08 47.52,58.11C47.33,57.54 47.02,57.01 46.61,56.57C46.29,56.15 46.09,55.64 46.04,55.12C45.88,54.48 45.77,53.83 45.63,53.19C45.55,52.97 45.49,52.74 45.47,52.5C45.47,52.09 45.47,51.79 45.92,51.59C46.15,51.49 46.09,51.22 46.07,51.01C45.94,49.91 45.82,48.27 45.7,47.13Z">
    <aapt:attr name="android:fillColor">
      <gradient 
          android:startX="53.91"
          android:startY="54.66"
          android:endX="53.91"
          android:endY="126.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="M54,31.79C59.89,31.8 65.53,34.14 69.7,38.3C73.86,42.47 76.2,48.11 76.21,54C76.2,59.89 73.86,65.54 69.7,69.7C65.53,73.86 59.89,76.21 54,76.21C48.11,76.21 42.46,73.86 38.3,69.7C34.14,65.53 31.79,59.89 31.79,54C31.79,48.11 34.14,42.47 38.3,38.3C42.46,34.14 48.11,31.8 54,31.79ZM54,29.28C47.44,29.28 41.16,31.89 36.52,36.52C31.89,41.16 29.28,47.44 29.28,54C29.28,60.56 31.89,66.84 36.52,71.48C41.16,76.11 47.44,78.72 54,78.72C57.24,78.72 60.46,78.08 63.46,76.84C66.46,75.59 69.18,73.77 71.48,71.48C73.77,69.18 75.59,66.46 76.84,63.46C78.08,60.46 78.72,57.25 78.72,54C78.72,50.75 78.08,47.54 76.84,44.54C75.59,41.54 73.77,38.82 71.48,36.52C69.18,34.23 66.46,32.41 63.46,31.16C60.46,29.92 57.24,29.28 54,29.28Z">
    <aapt:attr name="android:fillColor">
      <gradient 
          android:startX="53.98"
          android:startY="49.21"
          android:endX="53.98"
          android:endY="143.51"
          android:type="linear">
        <item android:offset="0" android:color="#FFFFFFFF"/>
        <item android:offset="1" android:color="#FFCBD6EA"/>
      </gradient>
    </aapt:attr>
  </path>
</vector>
+4 −19
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2018 The LineageOS Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

         http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
    <background android:drawable="@color/color_default_primary"/>
    <background android:drawable="@drawable/ic_launcher_background" />
    <foreground> 
        <inset android:drawable="@mipmap/ic_foreground" android:inset="30%"/>
        <inset android:drawable="@drawable/ic_launcher_foreground" android:inset="5%" />
    </foreground>
</adaptive-icon>
 No newline at end of file