Commit 5b4d3d4b authored by fallenstardust's avatar fallenstardust

升级x5

gradle:3.6.3
微调布局
parent e97875dc
......@@ -7,7 +7,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.1'
classpath 'com.android.tools.build:gradle:3.6.3'
//classpath 'me.tatarka:gradle-retrolambda:3.2.5'
}
}
......
......@@ -118,6 +118,7 @@ dependencies {
//Tencent bugly
implementation 'com.tencent.bugly:crashreport_upgrade:latest.release'
implementation 'com.tencent.bugly:nativecrashreport:latest.release'
api 'com.tencent.tbs.tbssdk:sdk:43903'
//http请求库
implementation 'com.squareup.okhttp3:okhttp:3.12.0'
}
......@@ -121,9 +121,9 @@ public abstract class HomeActivity extends BaseActivity implements NavigationVie
public void onViewInitFinished(boolean arg0) {
//x5內核初始化完成的回调,为true表示x5内核加载成功,否则表示x5内核加载失败,会自动切换到系统内核。
if (arg0) {
// Toast.makeText(getActivity(), "加载成功", Toast.LENGTH_LONG).show();
Toast.makeText(getActivity(), "加载成功", Toast.LENGTH_LONG).show();
} else {
//Toast.makeText(getActivity(), "部分资源因机型原因加载错误,不影响使用", Toast.LENGTH_LONG).show();
Toast.makeText(getActivity(), "部分资源因机型原因加载错误,不影响使用", Toast.LENGTH_LONG).show();
}
}
......
......@@ -262,6 +262,7 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginRight="5dp"
android:text="@string/label_pendulum"
android:textAppearance="@style/TextAppearance.AppCompat.Caption"
......
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