Commit 5043b5e2 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 6dd0e72d
...@@ -13,8 +13,8 @@ android { ...@@ -13,8 +13,8 @@ android {
applicationId rootProject.APPLICATION_ID applicationId rootProject.APPLICATION_ID
minSdkVersion rootProject.ext.androidMinSdkVersion minSdkVersion rootProject.ext.androidMinSdkVersion
targetSdkVersion rootProject.ext.androidTargetSdkVersion targetSdkVersion rootProject.ext.androidTargetSdkVersion
versionCode 20211025 versionCode 20211026
versionName "1.1.9" versionName "1.2.0"
flavorDimensions "default" flavorDimensions "default"
// dex突破65535的限制 // dex突破65535的限制
......
...@@ -30,8 +30,8 @@ ...@@ -30,8 +30,8 @@
android:drawablePadding="4dp" android:drawablePadding="4dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:text="@string/appName" android:text="@string/appName"
android:textColor="@color/color_20000000" android:textColor="@color/color_60000000"
android:textSize="6sp" /> android:textSize="10sp" />
<ImageView <ImageView
android:id="@+id/iv_close" android:id="@+id/iv_close"
......
...@@ -4,19 +4,6 @@ ...@@ -4,19 +4,6 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/color_40000000"> android:background="@color/color_40000000">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:layout_marginStart="10dp"
android:layout_marginTop="30dp"
android:drawableLeft="@drawable/ic_launcher_app_out"
android:drawablePadding="4dp"
android:gravity="center_vertical"
android:text="@string/appName"
android:textColor="@color/color_50FFFFFF"
android:textSize="6sp" />
<LinearLayout <LinearLayout
android:id="@+id/adContainer_home" android:id="@+id/adContainer_home"
android:layout_width="match_parent" android:layout_width="match_parent"
...@@ -33,6 +20,18 @@ ...@@ -33,6 +20,18 @@
android:layout_marginBottom="10dp" android:layout_marginBottom="10dp"
android:background="@mipmap/ic_app_out_background"> android:background="@mipmap/ic_app_out_background">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="2dp"
android:layout_marginTop="2dp"
android:drawableLeft="@drawable/ic_launcher_app_out"
android:drawablePadding="4dp"
android:gravity="center_vertical"
android:text="@string/appName"
android:textColor="@color/color_60000000"
android:textSize="10sp" />
<ImageView <ImageView
android:id="@+id/iv_close_boost_home" android:id="@+id/iv_close_boost_home"
android:layout_width="22dp" android:layout_width="22dp"
......
...@@ -30,8 +30,8 @@ ...@@ -30,8 +30,8 @@
android:gravity="center_vertical" android:gravity="center_vertical"
android:drawableLeft="@drawable/ic_launcher_app_out" android:drawableLeft="@drawable/ic_launcher_app_out"
android:text="@string/appName" android:text="@string/appName"
android:textColor="@color/color_20000000" android:textColor="@color/color_60000000"
android:textSize="6sp" /> android:textSize="10sp" />
<ImageView <ImageView
android:id="@+id/iv_close" android:id="@+id/iv_close"
......
...@@ -32,8 +32,8 @@ ...@@ -32,8 +32,8 @@
android:drawablePadding="4dp" android:drawablePadding="4dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:text="@string/appName" android:text="@string/appName"
android:textColor="@color/color_20000000" android:textColor="@color/color_60000000"
android:textSize="6sp" /> android:textSize="10sp" />
<ImageView <ImageView
android:id="@+id/iv_close_timing" android:id="@+id/iv_close_timing"
......
...@@ -3,19 +3,6 @@ ...@@ -3,19 +3,6 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/transparent"> android:background="@color/transparent">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:layout_marginStart="10dp"
android:layout_marginTop="30dp"
android:drawableLeft="@drawable/ic_launcher_app_out"
android:drawablePadding="4dp"
android:gravity="center_vertical"
android:text="@string/appName"
android:textColor="@color/color_50FFFFFF"
android:textSize="6sp" />
<LinearLayout <LinearLayout
android:id="@+id/adContainerTran" android:id="@+id/adContainerTran"
android:layout_width="match_parent" android:layout_width="match_parent"
...@@ -32,6 +19,18 @@ ...@@ -32,6 +19,18 @@
android:layout_marginBottom="10dp" android:layout_marginBottom="10dp"
android:background="@mipmap/ic_app_out_background"> android:background="@mipmap/ic_app_out_background">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="2dp"
android:layout_marginTop="2dp"
android:drawableLeft="@drawable/ic_launcher_app_out"
android:drawablePadding="4dp"
android:gravity="center_vertical"
android:text="@string/appName"
android:textColor="@color/color_60000000"
android:textSize="10sp" />
<ImageView <ImageView
android:id="@+id/iv_close_boostTran" android:id="@+id/iv_close_boostTran"
android:layout_width="22dp" android:layout_width="22dp"
......
...@@ -3,26 +3,13 @@ ...@@ -3,26 +3,13 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/transparent"> android:background="@color/transparent">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:layout_marginStart="10dp"
android:layout_marginTop="30dp"
android:drawableLeft="@drawable/ic_launcher_app_out"
android:drawablePadding="4dp"
android:gravity="center_vertical"
android:text="@string/appName"
android:textColor="@color/color_50FFFFFF"
android:textSize="6sp" />
<LinearLayout <LinearLayout
android:id="@+id/adContainerTranTwo" android:id="@+id/adContainerTranTwo"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:orientation="vertical" android:visibility="gone"
android:visibility="gone"> android:orientation="vertical">
<RelativeLayout <RelativeLayout
android:layout_width="match_parent" android:layout_width="match_parent"
...@@ -32,6 +19,18 @@ ...@@ -32,6 +19,18 @@
android:layout_marginBottom="10dp" android:layout_marginBottom="10dp"
android:background="@mipmap/ic_app_out_background"> android:background="@mipmap/ic_app_out_background">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="2dp"
android:layout_marginTop="2dp"
android:drawableLeft="@drawable/ic_launcher_app_out"
android:drawablePadding="4dp"
android:gravity="center_vertical"
android:text="@string/appName"
android:textColor="@color/color_60000000"
android:textSize="10sp" />
<ImageView <ImageView
android:id="@+id/iv_close_boostTranTwo" android:id="@+id/iv_close_boostTranTwo"
android:layout_width="22dp" android:layout_width="22dp"
......
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