feat:logo调整、占位图调整

This commit is contained in:
max
2024-04-12 19:19:15 +08:00
parent 61ac515cf9
commit 18904e853e
34 changed files with 136 additions and 16 deletions

View File

@@ -86,7 +86,7 @@
<application
android:name=".application.App"
android:allowBackup="false"
android:icon="@mipmap/app_logo"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:largeHeap="true"
android:networkSecurityConfig="@xml/network_security_config"

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -58,7 +58,7 @@ public class DaemonService extends Service {
if (roomInfo != null) {
title = roomInfo.getTitle();
Notification.Builder builder = new Notification.Builder(this);
builder.setSmallIcon(R.mipmap.app_logo);
builder.setSmallIcon(R.mipmap.ic_launcher);
builder.setContentTitle(title);
builder.setContentText(ResUtil.getString(R.string.erban_service_daemonservice_02));
builder.setTicker(ResUtil.getString(R.string.erban_service_daemonservice_03));
@@ -87,7 +87,7 @@ public class DaemonService extends Service {
isStartForeground = true;
} else {
Notification.Builder builder = new Notification.Builder(this);
builder.setSmallIcon(R.mipmap.app_logo);
builder.setSmallIcon(R.mipmap.ic_launcher);
builder.setContentText(ResUtil.getString(R.string.erban_service_daemonservice_05));
builder.setTicker(ResUtil.getString(R.string.erban_service_daemonservice_06));
//8.0系统适配

View File

@@ -0,0 +1,106 @@
<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="432"
android:viewportHeight="169">
<group android:scaleX="0.52"
android:scaleY="0.20342593"
android:translateX="103.68"
android:translateY="67.31051">
<path
android:pathData="M23.29,52L52.54,54.86L52.93,60.07L67.55,55.9L84.89,56.42C84.89,56.51 87.87,60.37 93.82,68.01L93.82,68.14L94.08,68.14C102.11,61.8 106.16,58.64 106.25,58.64L130.06,54.86C143.86,61.02 150.98,64.32 151.41,64.75C158.49,76.03 162.11,81.89 162.28,82.32C162.37,82.76 162.41,83.1 162.41,83.36C162.41,92.56 163.27,121.02 165,168.74L164.74,168.87L151.28,168.87C147.14,168.87 141.1,168.91 133.16,169C133.08,141.06 133.04,120.2 133.04,106.4C133.04,105.45 132.69,99.59 132,88.83C124.75,84.75 120.83,82.58 120.22,82.32L108.58,87.4L105.6,100.15C105.69,119.07 105.73,133.82 105.73,144.4L105.73,158.07C105.73,160.58 105.77,164.14 105.86,168.74L105.6,168.87L92.66,168.87C88.69,168.87 83.13,168.91 75.96,169L75.96,168.87C75.96,168.52 77.99,147.53 82.05,105.88C81.7,97.98 81.53,93.52 81.53,92.47C75.49,87.01 72.21,83.97 71.69,83.36C64.1,84.06 60.09,84.49 59.66,84.67C56.21,89.44 54.22,92.3 53.71,93.26C52.93,99.85 52.11,120.41 51.25,154.94C51.16,154.94 51.03,159.63 50.86,169L19.02,169C23.94,106.36 26.4,74.56 26.4,73.6C26.49,73.6 26.53,73.56 26.53,73.47L26.4,73.47C18.89,74.78 15.1,75.51 15.01,75.69C15.01,75.86 14.54,78.33 13.59,83.1C13.93,83.1 15.7,83.19 18.89,83.36L19.54,78.81C21.87,78.9 23.29,78.94 23.81,78.94C23.81,79.03 23.85,79.07 23.94,79.07C22.65,88.01 22,92.74 22,93.26L0.13,91.56L0,91.3C0.35,89.05 2.59,77.94 6.73,57.99C15.18,55.04 20.71,53.04 23.29,52Z"
android:strokeWidth="1"
android:fillType="nonZero"
android:strokeColor="#00000000">
<aapt:attr name="android:fillColor">
<gradient
android:startX="82.5"
android:startY="67.05"
android:endX="82.5"
android:endY="169"
android:type="linear">
<item android:offset="0" android:color="#FFED40FC"/>
<item android:offset="1" android:color="#FF5350FF"/>
</gradient>
</aapt:attr>
</path>
<path
android:pathData="M218.92,169l32.1,0l29,-17.06l9.97,-44.4l-6.8,-38.58l-30.49,-16.97l-18.25,0l-25.53,0l-23,16.12l-8.93,38.01l7.5,46.41z"
android:strokeWidth="1"
android:fillType="evenOdd"
android:strokeColor="#00000000">
<aapt:attr name="android:fillColor">
<gradient
android:startX="233.49"
android:startY="51.99"
android:endX="233.49"
android:endY="169"
android:type="linear">
<item android:offset="0" android:color="#FFEF58E3"/>
<item android:offset="0.52" android:color="#FFB446FD"/>
<item android:offset="1" android:color="#FF5350FF"/>
</gradient>
</aapt:attr>
</path>
<path
android:pathData="M257.42,117.68l-34.02,22.59l-10.4,-2.03l-1.27,-4.13l0,-45.17l7.5,-7.42l4.18,1.26l34.02,22.59l2.05,10.3z"
android:strokeWidth="1"
android:fillColor="#000000"
android:fillType="nonZero"
android:strokeColor="#00000000"/>
<path
android:pathData="M257.42,117.68l-34.02,22.59l-10.4,-2.03l-1.27,-4.13l0,-45.17l7.5,-7.42l4.18,1.26l34.02,22.59l2.05,10.3z"
android:strokeWidth="1"
android:fillColor="#0A0A16"
android:fillType="nonZero"
android:strokeColor="#00000000"/>
<path
android:pathData="M313.94,0L349.94,0L337.42,118.07C335.7,133.19 334.84,141.01 334.84,141.52L334.97,141.52C350.71,140.66 358.88,140.23 359.48,140.23L355.61,127.92C354.92,128 353.42,128.09 351.1,128.18C351.53,132.58 351.74,135.04 351.74,135.56L343.87,135.95L341.55,116.51L341.81,116.51L363.74,115.47C364.09,116.25 368.17,123.77 376,138.03L376,138.15C374.8,147.66 374.11,152.76 373.94,153.45C372.39,154.92 367.7,159.84 359.87,168.22L314.97,169C314.97,168.83 311.31,164.25 304,155.26C309.33,71.97 312.09,28.47 312.26,24.75C313.03,13.61 313.55,5.4 313.81,0.13L313.94,0Z"
android:strokeWidth="1"
android:fillType="nonZero"
android:strokeColor="#00000000">
<aapt:attr name="android:fillColor">
<gradient
android:startX="340"
android:startY="0"
android:endX="340"
android:endY="169"
android:type="linear">
<item android:offset="0" android:color="#FFF2A097"/>
<item android:offset="0.5" android:color="#FFED40FC"/>
<item android:offset="1" android:color="#FF5350FF"/>
</gradient>
</aapt:attr>
</path>
<path
android:pathData="M397.03,52L397.16,52C415.67,52.43 425.36,52.69 426.24,52.78C426.5,59.98 428.42,98.72 432,169L391,169L397.03,52Z"
android:strokeWidth="1"
android:fillType="nonZero"
android:strokeColor="#00000000">
<aapt:attr name="android:fillColor">
<gradient
android:startX="411.5"
android:startY="52"
android:endX="411.5"
android:endY="169"
android:type="linear">
<item android:offset="0" android:color="#FFEF5CE0"/>
<item android:offset="1" android:color="#FF5350FF"/>
</gradient>
</aapt:attr>
</path>
<path
android:pathData="M419.48,9C420.27,9 420.94,9.6 421.02,10.4L421.02,10.55L421.02,41.46C421.02,42.28 420.38,42.96 419.55,43C418.72,43.04 418.01,42.42 417.93,41.6L417.92,41.46L417.92,10.55C417.92,9.69 418.62,9 419.48,9ZM412.5,14.41C413.3,14.41 413.97,15.01 414.04,15.81L414.05,15.95L414.05,36.05C414.05,36.87 413.4,37.55 412.57,37.59C411.75,37.63 411.04,37.01 410.96,36.19L410.95,36.05L410.95,15.95C410.95,15.1 411.64,14.41 412.5,14.41ZM398.55,14.41C399.35,14.41 400.02,15.01 400.09,15.81L400.1,15.95L400.1,36.05C400.1,36.87 399.45,37.55 398.62,37.59C397.8,37.63 397.09,37.01 397.01,36.19L397,36.05L397,15.95C397,15.1 397.69,14.41 398.55,14.41L398.55,14.41ZM426.45,17.5C427.25,17.5 427.92,18.1 427.99,18.9L428,19.05L428,32.96C428,33.78 427.35,34.46 426.52,34.5C425.7,34.54 424.99,33.92 424.91,33.1L424.9,32.96L424.9,19.05C424.9,18.19 425.59,17.5 426.45,17.5L426.45,17.5ZM405.52,19.82C406.32,19.82 406.99,20.42 407.07,21.22L407.08,21.36L407.08,30.64C407.07,31.46 406.43,32.14 405.6,32.18C404.77,32.22 404.06,31.61 403.98,30.79L403.98,30.64L403.98,21.36C403.98,20.51 404.67,19.82 405.52,19.82L405.52,19.82Z"
android:strokeWidth="1"
android:fillColor="#000000"
android:fillType="nonZero"
android:strokeColor="#00000000"/>
<path
android:pathData="M419.48,9C420.27,9 420.94,9.6 421.02,10.4L421.02,10.55L421.02,41.46C421.02,42.28 420.38,42.96 419.55,43C418.72,43.04 418.01,42.42 417.93,41.6L417.92,41.46L417.92,10.55C417.92,9.69 418.62,9 419.48,9ZM412.5,14.41C413.3,14.41 413.97,15.01 414.04,15.81L414.05,15.95L414.05,36.05C414.05,36.87 413.4,37.55 412.57,37.59C411.75,37.63 411.04,37.01 410.96,36.19L410.95,36.05L410.95,15.95C410.95,15.1 411.64,14.41 412.5,14.41ZM398.55,14.41C399.35,14.41 400.02,15.01 400.09,15.81L400.1,15.95L400.1,36.05C400.1,36.87 399.45,37.55 398.62,37.59C397.8,37.63 397.09,37.01 397.01,36.19L397,36.05L397,15.95C397,15.1 397.69,14.41 398.55,14.41L398.55,14.41ZM426.45,17.5C427.25,17.5 427.92,18.1 427.99,18.9L428,19.05L428,32.96C428,33.78 427.35,34.46 426.52,34.5C425.7,34.54 424.99,33.92 424.91,33.1L424.9,32.96L424.9,19.05C424.9,18.19 425.59,17.5 426.45,17.5L426.45,17.5ZM405.52,19.82C406.32,19.82 406.99,20.42 407.07,21.22L407.08,21.36L407.08,30.64C407.07,31.46 406.43,32.14 405.6,32.18C404.77,32.22 404.06,31.61 403.98,30.79L403.98,30.64L403.98,21.36C403.98,20.51 404.67,19.82 405.52,19.82L405.52,19.82Z"
android:strokeWidth="1"
android:fillColor="#FFFFFF"
android:fillType="nonZero"
android:strokeColor="#00000000"/>
</group>
</vector>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

@@ -18,7 +18,7 @@
android:layout_height="77dp"
android:layout_centerHorizontal="true"
android:layout_marginTop="89dp"
android:src="@mipmap/app_logo"
android:src="@mipmap/ic_launcher"
tools:ignore="ContentDescription" />
<TextView

View File

@@ -30,7 +30,7 @@
android:id="@+id/civ_avatar"
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@mipmap/app_logo"/>
android:src="@mipmap/ic_launcher"/>
<TextView
android:layout_marginStart="@dimen/dp_10"
android:id="@+id/tv_message"

View File

@@ -12,7 +12,7 @@
android:id="@+id/iv_icon"
android:layout_width="@dimen/dp_24"
android:layout_height="@dimen/dp_24"
android:src="@mipmap/app_logo" />
android:src="@mipmap/ic_launcher" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tv_num"

View File

@@ -11,7 +11,7 @@
android:id="@+id/iv_fairy"
android:layout_width="@dimen/dp_25"
android:layout_height="@dimen/dp_25"
android:src="@mipmap/app_logo" />
android:src="@mipmap/ic_launcher" />
<TextView
android:id="@+id/tv_count"

View File

@@ -37,7 +37,7 @@
android:layout_height="48dp"
android:layout_marginStart="32dp"
android:layout_centerVertical="true"
tools:src="@mipmap/app_logo"/>
tools:src="@mipmap/ic_launcher"/>
<LinearLayout
android:layout_toRightOf="@id/iv_room_rank_avatar"

View File

@@ -12,7 +12,7 @@
android:layout_width="@dimen/dp_60"
android:layout_height="@dimen/dp_60"
android:scaleType="centerCrop"
android:src="@mipmap/app_logo" />
android:src="@mipmap/ic_launcher" />
<TextView
android:id="@+id/tv_title"

View File

@@ -67,7 +67,7 @@
android:id="@+id/iv_icon_1"
android:layout_width="19dp"
android:layout_height="19dp"
android:src="@mipmap/app_logo"
android:src="@mipmap/ic_launcher"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
@@ -89,7 +89,7 @@
android:layout_width="19dp"
android:layout_height="19dp"
android:layout_marginTop="6dp"
android:src="@mipmap/app_logo"
android:src="@mipmap/ic_launcher"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/iv_icon_1" />

View File

@@ -115,7 +115,7 @@
android:id="@+id/gift_img"
android:layout_width="40dp"
android:layout_height="40dp"
android:src="@mipmap/app_logo" />
android:src="@mipmap/ic_launcher" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/gift_name"

View File

@@ -26,7 +26,7 @@
android:layout_height="59dp"
android:layout_marginTop="17dp"
android:layout_centerHorizontal="true"
tools:src="@mipmap/app_logo"
tools:src="@mipmap/ic_launcher"
android:visibility="visible"/>
<ImageView
@@ -100,7 +100,7 @@
android:layout_height="73dp"
android:layout_centerHorizontal="true"
android:layout_marginTop="@dimen/dp_19"
tools:src="@mipmap/app_logo"
tools:src="@mipmap/ic_launcher"
android:visibility="visible"/>
<ImageView
@@ -176,7 +176,7 @@
android:layout_height="59dp"
android:layout_marginTop="15dp"
android:layout_centerHorizontal="true"
tools:src="@mipmap/app_logo"
tools:src="@mipmap/ic_launcher"
android:visibility="visible"/>
<ImageView

View File

@@ -67,7 +67,7 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@id/line_qrcode_top"
app:layout_constraintWidth_percent="0.533"
tools:src="@mipmap/app_logo" />
tools:src="@mipmap/ic_launcher" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/line_code_top"

View File

@@ -0,0 +1,5 @@
<?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="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

View File

@@ -0,0 +1,5 @@
<?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="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#000000</color>
</resources>