[Update]
1、完成YiXin的皮肤包
This commit is contained in:
donghongyu-pc
2024-10-12 17:09:29 +08:00
parent ec2e22f2e4
commit 78bee741fd
5 changed files with 40 additions and 5 deletions

View File

@@ -252,7 +252,7 @@ ext {
compileSdkVersion : 33,
buildToolsVersion : "29.0.2",
minSdkVersion : 23,
targetSdkVersion : 29,
targetSdkVersion : 28,
koomxhook : "com.kuaishou.koom:xhook-static:2.2.0",
]
}

View File

@@ -35,9 +35,6 @@ public abstract class MainMoGoApplication extends AbsMogoApplication {
public void onCreate() {
super.onCreate();
// 动态换肤
SkinManager.init(this);
if (!shouldInit()) {
return;
}
@@ -50,6 +47,9 @@ public abstract class MainMoGoApplication extends AbsMogoApplication {
initTipToast();
initModules();
// 动态换肤
SkinManager.init(this);
}
@Override

View File

@@ -80,7 +80,7 @@ MOGO_LOCATION_VERSION=1.4.7.42
# 远程通讯模块
MOGO_TELEMATIC_VERSION=1.4.7.42
# 动态换肤SDK
MOGO_SKIN_VERSION=1.4.7.42
MOGO_SKIN_VERSION=1.4.7.44
######## MogoAiCloudSDK Version ########
# 自研地图
MAP_SDK_VERSION=3.4.1.2

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!--黑色矩形 作为背景色-->
<item>
<shape>
<gradient
android:angle="270"
android:centerX="0.6"
android:endColor="#0B0F17"
android:startColor="#171D2B"
android:type="linear" />
</shape>
</item>
<!--单独的slogan图片 并且设置下间距-->
<!--如果使用svg可以直接 drawable-->
<item>
<bitmap
android:gravity="center"
android:scaleType="centerCrop"
android:src="@drawable/mogo_slogan"
android:tileMode="disabled" />
</item>
</layer-list>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!--单独的slogan图片 并且设置下间距-->
<!--如果使用svg可以直接 drawable-->
<item>
<bitmap
android:gravity="center"
android:scaleType="centerCrop"
android:src="@drawable/mogo_slogan"
android:tileMode="disabled" />
</item>
</layer-list>