Commit afd63e70 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent e84c4af7
...@@ -53,10 +53,10 @@ public class MintsApplication extends MultiDexApplication { ...@@ -53,10 +53,10 @@ public class MintsApplication extends MultiDexApplication {
super.onCreate(); super.onCreate();
mContext = this.getApplicationContext(); mContext = this.getApplicationContext();
// // 友盟SDK预初始化函数 // 友盟SDK预初始化函数
// // preInit预初始化函数耗时极少,不会影响App首次冷启动用户体验 // preInit预初始化函数耗时极少,不会影响App首次冷启动用户体验
// UmengManager.INSTANCE.preInit(this, UmengManager.INSTANCE.preInit(this,
// MateUtils.INSTANCE.getAppMetaData(this, "CHANNEL_NAME")); MateUtils.INSTANCE.getAppMetaData(this, "CHANNEL_NAME"));
// 三方配置 // 三方配置
thirdConfig(); thirdConfig();
...@@ -76,7 +76,6 @@ public class MintsApplication extends MultiDexApplication { ...@@ -76,7 +76,6 @@ public class MintsApplication extends MultiDexApplication {
if (AppPreferencesManager.INSTANCE.get() if (AppPreferencesManager.INSTANCE.get()
.getBoolean(Constant.LOAN_PERMISSION_FLAG, true)) return; .getBoolean(Constant.LOAN_PERMISSION_FLAG, true)) return;
initMiitHelper(); initMiitHelper();
TTAdManagerHolder.init(this); TTAdManagerHolder.init(this);
......
...@@ -6,11 +6,11 @@ ...@@ -6,11 +6,11 @@
<ImageView <ImageView
android:id="@+id/app_logo" android:id="@+id/app_logo"
android:layout_width="wrap_content" android:layout_width="70dp"
android:layout_height="wrap_content" android:layout_height="70dp"
android:layout_centerHorizontal="true" android:layout_centerHorizontal="true"
android:layout_marginTop="140dp" android:layout_marginTop="140dp"
android:src="@mipmap/ic_splash_pic" /> android:src="@mipmap/ic_launcher_main" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment