android: use larger adaptive launcher icon with full background
This commit is contained in:
1 parent
dff2da0522
commit
c7c47d5ca3
2 files changed
+18
-2
No files matched your search
@@ -28,8 +28,8 @@
|
||||
<application
|
||||
android:name=".ChatApplication"
|
||||
android:allowBackup="true"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:roundIcon="@mipmap/ic_launcher"
|
||||
android:icon="@mipmap/ic_launcher_adaptive"
|
||||
android:roundIcon="@mipmap/ic_launcher_adaptive"
|
||||
android:label="vibechat"
|
||||
android:supportsRtl="true"
|
||||
android:localeConfig="@xml/locales_config"
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- Непрозрачный фон заполняет любую маску лаунчера, включая круг. -->
|
||||
<background>
|
||||
<shape android:shape="rectangle">
|
||||
<gradient android:angle="315" android:startColor="#102B73"
|
||||
android:centerColor="#15104B" android:endColor="#080D30" />
|
||||
</shape>
|
||||
</background>
|
||||
<foreground>
|
||||
<!-- Рисунок занимает 84 из 108 частей слоя; пузырь и волны остаются внутри круга 72. -->
|
||||
<inset android:inset="11.111111%">
|
||||
<bitmap android:src="@mipmap/ic_launcher" android:gravity="fill" android:filter="true" />
|
||||
</inset>
|
||||
</foreground>
|
||||
</adaptive-icon>
|
||||
Reference in new issue
Block a user