Skip to content

Commit

Permalink
Review: Update mipmap resources
Browse files Browse the repository at this point in the history
  • Loading branch information
florentmaitre committed Nov 15, 2024
1 parent 5c4ddb0 commit 978037c
Show file tree
Hide file tree
Showing 55 changed files with 389 additions and 94 deletions.
53 changes: 53 additions & 0 deletions app/src/alpha/res/drawable-v24/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!--
~ Software Name: OUDS Android
~ SPDX-FileCopyrightText: Copyright (c) Orange SA
~ SPDX-License-Identifier: MIT
~
~ This software is distributed under the MIT license,
~ the text of which is available at https://opensource.org/license/MIT/
~ or see the "LICENSE" file for more details.
~
~ Software description: Android library of reusable graphical components
-->

<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="1080"
android:viewportHeight="1080">

<path android:pathData="M-1,-1h1080v1080h-1080z">

<aapt:attr name="android:fillColor">

<gradient
android:endX="539"
android:endY="-1"
android:startX="539"
android:startY="1079"
android:type="linear">

<item
android:color="#FF037BF3"
android:offset="0" />

<item
android:color="#FF037BF3"
android:offset="0.1" />

<item
android:color="#FF029EF9"
android:offset="0.8" />

<item
android:color="#FF029EF9"
android:offset="1" />

</gradient>

</aapt:attr>

</path>

</vector>
23 changes: 0 additions & 23 deletions app/src/alpha/res/drawable/ic_launcher_background.xml

This file was deleted.

105 changes: 85 additions & 20 deletions app/src/alpha/res/drawable/ic_launcher_foreground.xml
Original file line number Diff line number Diff line change
@@ -1,21 +1,86 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="108dp" android:viewportHeight="1080" android:viewportWidth="1080" android:width="108dp">

<path android:fillAlpha="0.4" android:fillColor="#fff" android:fillType="evenOdd" android:pathData="M540.8,279L323.6,409.1l0.2,260.3L540.7,799.4l217.2,-130.1L757.9,409.1ZM565,554 L588.9,539.7L588.9,741.9l-23.8,14.3L565,554ZM540.8,307.9L709.3,409.1 540.8,510.4 372.1,409.2ZM613.3,727.3L613.3,525l23.8,-14.3L637.1,713ZM661.5,496 L685.3,481.7L685.3,684l-23.8,14.3v-202.3ZM709.7,669.4L709.7,467l23.8,-14.3L733.5,655.1Z" android:strokeColor="#fff" android:strokeLineJoin="round" android:strokeWidth="5"/>

<path android:fillColor="#fff" android:fillType="evenOdd" android:pathData="M757.7,410.8L540.6,540.1Z" android:strokeColor="#f8f9fc" android:strokeWidth="5"/>

<path android:fillColor="#fff" android:fillType="evenOdd" android:pathData="M323.8,410.8L540.3,539.7Z" android:strokeColor="#f8f9fc" android:strokeWidth="5"/>

<path android:fillColor="#fff" android:fillType="evenOdd" android:pathData="M710.2,641.7l22.8,13.5Z" android:strokeColor="#f8f9fc" android:strokeWidth="5"/>

<path android:fillColor="#fff" android:fillType="evenOdd" android:pathData="M662.6,671.6L685.5,685.2Z" android:strokeColor="#f8f9fc" android:strokeWidth="5"/>

<path android:fillColor="#fff" android:fillType="evenOdd" android:pathData="M614.2,700.6l23.2,13.8Z" android:strokeColor="#f8f9fc" android:strokeWidth="5"/>

<path android:fillColor="#fff" android:fillType="evenOdd" android:pathData="M565.7,729.4l23,13.7Z" android:strokeColor="#f8f9fc" android:strokeWidth="5"/>

<path android:fillColor="#fff" android:fillType="evenOdd" android:pathData="M540.8,800.4v0Z" android:strokeColor="#fff" android:strokeWidth="5"/>

<path android:fillAlpha="0.3" android:fillColor="#fff" android:fillType="evenOdd" android:pathData="M451.3,658.8l1.1,0.7 0.2,2.1c2.1,12.8 10.7,24.4 24.1,32.5a9.8,9.8 0,0 0,4.5 1.6c7.5,3.6 13.1,2.4 13.1,-3.7a13.9,13.9 0,0 0,-5.8 -10.7A40.1,40.1 0,0 0,484 678c-6.5,-3.9 -8.4,-8 -8.4,-17.8V588.8a23.6,23.6 0,0 0,-11.6 -19.9c-7.1,-4.3 -11.7,-2 -11.7,5.6V580.7l-1.2,-0.7a79.6,79.6 0,0 0,-33.7 -40c-26,-15.7 -43.1,-4.1 -43.1,29.6V578.1c0,33.8 16.7,65 43.2,81C433.9,669 446.5,668.8 451.3,658.8ZM424.6,643.3c-15.6,-9.4 -25.6,-29.2 -25.6,-50.9v-7.4c0,-22.6 9.2,-30.3 25,-20.7 16.9,10.2 27.2,30.1 27.2,52.3v7.4C451.3,645.4 440.9,653.1 424.6,643.3Z" android:strokeColor="#fff" android:strokeLineJoin="round" android:strokeWidth="4"/>

<!--
~ Software Name: OUDS Android
~ SPDX-FileCopyrightText: Copyright (c) Orange SA
~ SPDX-License-Identifier: MIT
~
~ This software is distributed under the MIT license,
~ the text of which is available at https://opensource.org/license/MIT/
~ or see the "LICENSE" file for more details.
~
~ Software description: Android library of reusable graphical components
-->

<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:height="108dp"
android:viewportHeight="1080"
android:viewportWidth="1080"
android:width="108dp">

<path
android:fillAlpha="0.4"
android:fillColor="#fff"
android:fillType="evenOdd"
android:pathData="M540.8,279L323.6,409.1l0.2,260.3L540.7,799.4l217.2,-130.1L757.9,409.1ZM565,554 L588.9,539.7L588.9,741.9l-23.8,14.3L565,554ZM540.8,307.9L709.3,409.1 540.8,510.4 372.1,409.2ZM613.3,727.3L613.3,525l23.8,-14.3L637.1,713ZM661.5,496 L685.3,481.7L685.3,684l-23.8,14.3v-202.3ZM709.7,669.4L709.7,467l23.8,-14.3L733.5,655.1Z"
android:strokeColor="#fff"
android:strokeLineJoin="round"
android:strokeWidth="5" />

<path
android:fillColor="#fff"
android:fillType="evenOdd"
android:pathData="M757.7,410.8L540.6,540.1Z"
android:strokeColor="#f8f9fc"
android:strokeWidth="5" />

<path
android:fillColor="#fff"
android:fillType="evenOdd"
android:pathData="M323.8,410.8L540.3,539.7Z"
android:strokeColor="#f8f9fc"
android:strokeWidth="5" />

<path
android:fillColor="#fff"
android:fillType="evenOdd"
android:pathData="M710.2,641.7l22.8,13.5Z"
android:strokeColor="#f8f9fc"
android:strokeWidth="5" />

<path
android:fillColor="#fff"
android:fillType="evenOdd"
android:pathData="M662.6,671.6L685.5,685.2Z"
android:strokeColor="#f8f9fc"
android:strokeWidth="5" />

<path
android:fillColor="#fff"
android:fillType="evenOdd"
android:pathData="M614.2,700.6l23.2,13.8Z"
android:strokeColor="#f8f9fc"
android:strokeWidth="5" />

<path
android:fillColor="#fff"
android:fillType="evenOdd"
android:pathData="M565.7,729.4l23,13.7Z"
android:strokeColor="#f8f9fc"
android:strokeWidth="5" />

<path
android:fillColor="#fff"
android:fillType="evenOdd"
android:pathData="M540.8,800.4v0Z"
android:strokeColor="#fff"
android:strokeWidth="5" />

<path
android:fillAlpha="0.3"
android:fillColor="#fff"
android:fillType="evenOdd"
android:pathData="M451.3,658.8l1.1,0.7 0.2,2.1c2.1,12.8 10.7,24.4 24.1,32.5a9.8,9.8 0,0 0,4.5 1.6c7.5,3.6 13.1,2.4 13.1,-3.7a13.9,13.9 0,0 0,-5.8 -10.7A40.1,40.1 0,0 0,484 678c-6.5,-3.9 -8.4,-8 -8.4,-17.8V588.8a23.6,23.6 0,0 0,-11.6 -19.9c-7.1,-4.3 -11.7,-2 -11.7,5.6V580.7l-1.2,-0.7a79.6,79.6 0,0 0,-33.7 -40c-26,-15.7 -43.1,-4.1 -43.1,29.6V578.1c0,33.8 16.7,65 43.2,81C433.9,669 446.5,668.8 451.3,658.8ZM424.6,643.3c-15.6,-9.4 -25.6,-29.2 -25.6,-50.9v-7.4c0,-22.6 9.2,-30.3 25,-20.7 16.9,10.2 27.2,30.1 27.2,52.3v7.4C451.3,645.4 440.9,653.1 424.6,643.3Z"
android:strokeColor="#fff"
android:strokeLineJoin="round"
android:strokeWidth="4" />

</vector>
Binary file added app/src/alpha/res/mipmap-hdpi/ic_launcher.webp
Binary file not shown.
Binary file not shown.
Binary file added app/src/alpha/res/mipmap-mdpi/ic_launcher.webp
Binary file not shown.
Binary file not shown.
Binary file added app/src/alpha/res/mipmap-xhdpi/ic_launcher.webp
Binary file not shown.
Binary file not shown.
Binary file added app/src/alpha/res/mipmap-xxhdpi/ic_launcher.webp
Binary file not shown.
Binary file not shown.
Binary file added app/src/alpha/res/mipmap-xxxhdpi/ic_launcher.webp
Binary file not shown.
Binary file not shown.
53 changes: 53 additions & 0 deletions app/src/beta/res/drawable-v24/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!--
~ Software Name: OUDS Android
~ SPDX-FileCopyrightText: Copyright (c) Orange SA
~ SPDX-License-Identifier: MIT
~
~ This software is distributed under the MIT license,
~ the text of which is available at https://opensource.org/license/MIT/
~ or see the "LICENSE" file for more details.
~
~ Software description: Android library of reusable graphical components
-->

<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="1080"
android:viewportHeight="1080">

<path android:pathData="M-1,-1h1080v1080h-1080z">

<aapt:attr name="android:fillColor">

<gradient
android:endX="539"
android:endY="-1"
android:startX="539"
android:startY="1079"
android:type="linear">

<item
android:color="#FF037BF3"
android:offset="0" />

<item
android:color="#FF037BF3"
android:offset="0.1" />

<item
android:color="#FF029EF9"
android:offset="0.8" />

<item
android:color="#FF029EF9"
android:offset="1" />

</gradient>

</aapt:attr>

</path>

</vector>
23 changes: 0 additions & 23 deletions app/src/beta/res/drawable/ic_launcher_background.xml

This file was deleted.

105 changes: 85 additions & 20 deletions app/src/beta/res/drawable/ic_launcher_foreground.xml
Original file line number Diff line number Diff line change
@@ -1,21 +1,86 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="108dp" android:viewportHeight="1080" android:viewportWidth="1080" android:width="108dp">

<path android:fillAlpha="0.4" android:fillColor="#fff" android:fillType="evenOdd" android:pathData="M540.8,279L323.6,409.1l0.2,260.3L540.7,799.4l217.2,-130.1L757.9,409.1ZM565,554 L588.9,539.7L588.9,741.9l-23.8,14.3L565,554ZM540.8,307.9L709.3,409.1 540.8,510.4 372.1,409.2ZM613.3,727.3L613.3,525l23.8,-14.3L637.1,713ZM661.5,496 L685.3,481.7L685.3,684l-23.8,14.3v-202.3ZM709.7,669.4L709.7,467l23.8,-14.3L733.5,655.1Z" android:strokeColor="#fff" android:strokeLineJoin="round" android:strokeWidth="5"/>

<path android:fillColor="#fff" android:fillType="evenOdd" android:pathData="M757.7,410.8L540.6,540.1Z" android:strokeColor="#f8f9fc" android:strokeWidth="5"/>

<path android:fillColor="#fff" android:fillType="evenOdd" android:pathData="M323.8,410.8L540.3,539.7Z" android:strokeColor="#f8f9fc" android:strokeWidth="5"/>

<path android:fillColor="#fff" android:fillType="evenOdd" android:pathData="M710.2,641.7l22.8,13.5Z" android:strokeColor="#f8f9fc" android:strokeWidth="5"/>

<path android:fillColor="#fff" android:fillType="evenOdd" android:pathData="M662.6,671.6L685.5,685.2Z" android:strokeColor="#f8f9fc" android:strokeWidth="5"/>

<path android:fillColor="#fff" android:fillType="evenOdd" android:pathData="M614.2,700.6l23.2,13.8Z" android:strokeColor="#f8f9fc" android:strokeWidth="5"/>

<path android:fillColor="#fff" android:fillType="evenOdd" android:pathData="M565.7,729.4l23,13.7Z" android:strokeColor="#f8f9fc" android:strokeWidth="5"/>

<path android:fillColor="#fff" android:fillType="evenOdd" android:pathData="M540.8,800.4v0Z" android:strokeColor="#fff" android:strokeWidth="5"/>

<path android:fillAlpha="0.3" android:fillColor="#fff" android:fillType="evenOdd" android:pathData="M384.4,663.2a21,21 0,0 0,10.5 18.1c6.4,3.8 10.7,2.5 10.7,-5.3L405.7,637.5l0.8,0.5c5.5,14.3 16.4,26.6 30,34.7 25.1,15 39.9,6.9 39.9,-16.7 0,-19.7 -9.4,-37.7 -27.1,-52.5v-0.8c11.1,1.4 17.8,-5.1 17.8,-18.6 0,-21.1 -14.5,-43.5 -40.1,-58.8 -26.8,-16.1 -42.5,-10.6 -42.5,19.3L384.4,663.2ZM405.7,609.5v-51.4c0,-18 6.6,-24.5 21.5,-15.5 12.3,7.3 19.9,20 19.9,31.7 0,12.3 -6.3,16.2 -20.5,8.3 -5.6,-2.3 -8.6,-1.5 -8.6,3.1 0,4.9 3,9.2 8.8,13.6 18.3,11.8 27.9,27.3 27.9,42.8 0,14.6 -9.4,18.4 -23.3,10.1C415.4,642.5 405.7,625.8 405.7,609.5Z" android:strokeColor="#fff" android:strokeLineJoin="round" android:strokeWidth="4"/>

<!--
~ Software Name: OUDS Android
~ SPDX-FileCopyrightText: Copyright (c) Orange SA
~ SPDX-License-Identifier: MIT
~
~ This software is distributed under the MIT license,
~ the text of which is available at https://opensource.org/license/MIT/
~ or see the "LICENSE" file for more details.
~
~ Software description: Android library of reusable graphical components
-->

<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="1080"
android:viewportHeight="1080">

<path
android:fillAlpha="0.4"
android:fillColor="#fff"
android:fillType="evenOdd"
android:pathData="M540.8,279L323.6,409.1l0.2,260.3L540.7,799.4l217.2,-130.1L757.9,409.1ZM565,554 L588.9,539.7L588.9,741.9l-23.8,14.3L565,554ZM540.8,307.9L709.3,409.1 540.8,510.4 372.1,409.2ZM613.3,727.3L613.3,525l23.8,-14.3L637.1,713ZM661.5,496 L685.3,481.7L685.3,684l-23.8,14.3v-202.3ZM709.7,669.4L709.7,467l23.8,-14.3L733.5,655.1Z"
android:strokeColor="#fff"
android:strokeLineJoin="round"
android:strokeWidth="5" />

<path
android:fillColor="#fff"
android:fillType="evenOdd"
android:pathData="M757.7,410.8L540.6,540.1Z"
android:strokeColor="#f8f9fc"
android:strokeWidth="5" />

<path
android:fillColor="#fff"
android:fillType="evenOdd"
android:pathData="M323.8,410.8L540.3,539.7Z"
android:strokeColor="#f8f9fc"
android:strokeWidth="5" />

<path
android:fillColor="#fff"
android:fillType="evenOdd"
android:pathData="M710.2,641.7l22.8,13.5Z"
android:strokeColor="#f8f9fc"
android:strokeWidth="5" />

<path
android:fillColor="#fff"
android:fillType="evenOdd"
android:pathData="M662.6,671.6L685.5,685.2Z"
android:strokeColor="#f8f9fc"
android:strokeWidth="5" />

<path
android:fillColor="#fff"
android:fillType="evenOdd"
android:pathData="M614.2,700.6l23.2,13.8Z"
android:strokeColor="#f8f9fc"
android:strokeWidth="5" />

<path
android:fillColor="#fff"
android:fillType="evenOdd"
android:pathData="M565.7,729.4l23,13.7Z"
android:strokeColor="#f8f9fc"
android:strokeWidth="5" />

<path
android:fillColor="#fff"
android:fillType="evenOdd"
android:pathData="M540.8,800.4v0Z"
android:strokeColor="#fff"
android:strokeWidth="5" />

<path
android:fillAlpha="0.3"
android:fillColor="#fff"
android:fillType="evenOdd"
android:pathData="M384.4,663.2a21,21 0,0 0,10.5 18.1c6.4,3.8 10.7,2.5 10.7,-5.3L405.7,637.5l0.8,0.5c5.5,14.3 16.4,26.6 30,34.7 25.1,15 39.9,6.9 39.9,-16.7 0,-19.7 -9.4,-37.7 -27.1,-52.5v-0.8c11.1,1.4 17.8,-5.1 17.8,-18.6 0,-21.1 -14.5,-43.5 -40.1,-58.8 -26.8,-16.1 -42.5,-10.6 -42.5,19.3L384.4,663.2ZM405.7,609.5v-51.4c0,-18 6.6,-24.5 21.5,-15.5 12.3,7.3 19.9,20 19.9,31.7 0,12.3 -6.3,16.2 -20.5,8.3 -5.6,-2.3 -8.6,-1.5 -8.6,3.1 0,4.9 3,9.2 8.8,13.6 18.3,11.8 27.9,27.3 27.9,42.8 0,14.6 -9.4,18.4 -23.3,10.1C415.4,642.5 405.7,625.8 405.7,609.5Z"
android:strokeColor="#fff"
android:strokeLineJoin="round"
android:strokeWidth="4" />

</vector>
17 changes: 17 additions & 0 deletions app/src/beta/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Software Name: OUDS Android
~ SPDX-FileCopyrightText: Copyright (c) Orange SA
~ SPDX-License-Identifier: MIT
~
~ This software is distributed under the MIT license,
~ the text of which is available at https://opensource.org/license/MIT/
~ or see the "LICENSE" file for more details.
~
~ Software description: Android library of reusable graphical components
-->

<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
<monochrome android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>
Loading

0 comments on commit 978037c

Please sign in to comment.