Kaynağa Gözat

引导页面优化

zengjiebin 7 yıl önce
ebeveyn
işleme
73492c7497

+ 1 - 1
app/src/main/java/com/sheep/jiuyan/samllsheep/service/FloatService.java

@@ -244,7 +244,7 @@ public class FloatService extends Service {
         }
         }
     }
     }
     private boolean canTouchWindow = false;//是否可以操作悬浮窗
     private boolean canTouchWindow = false;//是否可以操作悬浮窗
-    private boolean isShowFloat = false;//是否显示悬浮窗
+    private boolean isShowFloat = TestUtil.isTest();//是否显示悬浮窗
 
 
     public void setCanTouchWindow(boolean canTouchWindow) {
     public void setCanTouchWindow(boolean canTouchWindow) {
         this.canTouchWindow = canTouchWindow;
         this.canTouchWindow = canTouchWindow;

+ 2 - 4
app/src/main/res/drawable/shape_ash_stroke_rectangle_small.xml

@@ -1,8 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <?xml version="1.0" encoding="utf-8"?>
 <shape xmlns:android="http://schemas.android.com/apk/res/android"
 <shape xmlns:android="http://schemas.android.com/apk/res/android"
     android:shape="rectangle">
     android:shape="rectangle">
-    <corners android:radius="10dp" />
-    <stroke
-        android:width="1dp"
-        android:color="#E5E5E5" />
+    <corners android:radius="12dp" />
+    <solid android:color="#4c000000" />
 </shape>
 </shape>

+ 6 - 8
app/src/main/res/layout/splash_activity.xml

@@ -30,18 +30,16 @@
     <TextView
     <TextView
         android:id="@+id/splash_skip"
         android:id="@+id/splash_skip"
         android:layout_width="wrap_content"
         android:layout_width="wrap_content"
-        android:layout_height="wrap_content"
+        android:layout_height="24dp"
         android:layout_gravity="top|end"
         android:layout_gravity="top|end"
-        android:paddingTop="2dp"
-        android:paddingBottom="2dp"
+        android:gravity="center"
         android:paddingStart="10dp"
         android:paddingStart="10dp"
         android:paddingEnd="10dp"
         android:paddingEnd="10dp"
         android:layout_margin="@dimen/content_padding_20"
         android:layout_margin="@dimen/content_padding_20"
-        android:textColor="#918F8F"
-        android:textSize="14sp"
-        android:background="@drawable/shape_ash_stroke_rectangle_small"
-        android:visibility="gone"
-        android:text="跳过" />
+        android:textColor="#ffffff"
+        android:textSize="13sp"
+        android:background="@drawable/shape_ash_solid_rectangle_small_tra30"
+        android:visibility="gone" />
     <TextView
     <TextView
         android:id="@+id/splash_know_ad_tv"
         android:id="@+id/splash_know_ad_tv"
         android:layout_width="wrap_content"
         android:layout_width="wrap_content"

+ 1 - 1
app/src/main/res/values/gamegroup_string.xml

@@ -25,7 +25,7 @@
     <string name="sheep_id">绵羊号</string>
     <string name="sheep_id">绵羊号</string>
     <string name="my_qr">我的二维码</string>
     <string name="my_qr">我的二维码</string>
 
 
-    <string name="tip_skip">(%1$d秒)后自动跳过</string>
+    <string name="tip_skip">%1$d | 跳过</string>
     <string name="tip_newbie_task_1">我知道了(%1$d秒)</string>
     <string name="tip_newbie_task_1">我知道了(%1$d秒)</string>
     <string name="friend_extract_count">共%1d条</string>
     <string name="friend_extract_count">共%1d条</string>
 </resources>
 </resources>