ソースを参照

邀请赚钱优化

zengjiebin 7 年 前
コミット
8e80d918f8

+ 1 - 1
app/src/main/java/com/sheep/gamegroup/module/webview/fragment/FgtWebX5.java

@@ -82,7 +82,7 @@ public class FgtWebX5 extends BaseFgtWeb {
 
     @Override
     public int getLayoutId() {
-        return R.layout.act_web_x5;
+        return R.layout.fgt_web_x5;
     }
 
     @Override

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

@@ -85,7 +85,7 @@ public class Config {
     //赏金任务列表
     public static final String PATH_WELFARE_MONEY_REWARD_LIST = STATION_WELFARE + "/money-reward-list";
     //邀请赚钱主页
-    public static final String PATH_SMALL_SHEEP_INVITATION_HOME = STATION_WELFARE + "/home-page";
+    public static final String PATH_SMALL_SHEEP_INVITATION_HOME = STATION_SMALL_SHEEP_INVITATION + "/home-page";
     public static final String NAME_WELFARE_MONEY_REWARD_LIST = "赏金任务";
     //small_station地址 key
     public static final String KEY_SMALL_STATION_URL = "small_station_url";

+ 30 - 0
app/src/main/res/layout/fgt_web_x5.xml

@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:background="@color/white_F9F9F9">
+
+    <com.tencent.smtt.sdk.WebView
+        android:id="@+id/webview"
+        android:layout_width="match_parent"
+        android:layout_height="match_parent"
+        android:background="@drawable/x_shap_shadow_bg_rectgangle_white"
+        android:scrollbars="none" />
+
+    <ProgressBar
+        android:id="@+id/act_web_loading_pb"
+        style="?android:attr/progressBarStyleHorizontal"
+        android:layout_width="match_parent"
+        android:layout_height="2dp"
+        android:layout_alignParentTop="true"
+        android:max="100"
+        android:progress="0"
+        android:progressDrawable="@drawable/lay_list_progress_yellow" />
+
+    <ImageView
+        android:id="@+id/act_web_loading_iv"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_centerInParent="true" />
+
+</RelativeLayout>