Kaynağa Gözat

躺着玩界面添加

zengjiebin 8 yıl önce
ebeveyn
işleme
c51f471de0
23 değiştirilmiş dosya ile 556 ekleme ve 18 silme
  1. 1 0
      app/build.gradle
  2. 1 0
      app/src/main/AndroidManifest.xml
  3. 5 3
      app/src/main/java/com/kfzs/duanduan/fragment/FgtSmallSheep.java
  4. 5 0
      app/src/main/java/com/sheep/gamegroup/model/entity/RecyleType.java
  5. 2 1
      app/src/main/java/com/sheep/gamegroup/util/Jump2View.java
  6. 105 0
      app/src/main/java/com/sheep/gamegroup/view/activity/LieMakeMoneyAct.java
  7. 193 0
      app/src/main/java/com/sheep/gamegroup/view/adapter/LieMakeMoneyAdp.java
  8. BIN
      app/src/main/res/drawable-xhdpi/start_on_hook.png
  9. BIN
      app/src/main/res/drawable-xhdpi/start_on_hook_click.png
  10. BIN
      app/src/main/res/drawable-xxhdpi/start_on_hook.png
  11. BIN
      app/src/main/res/drawable-xxhdpi/start_on_hook_click.png
  12. 8 0
      app/src/main/res/drawable/selector_start_on_hook.xml
  13. 7 0
      app/src/main/res/drawable/shape_btn_account_abnormal.xml
  14. 7 0
      app/src/main/res/drawable/shape_btn_wx_is_open.xml
  15. 11 0
      app/src/main/res/drawable/shape_small_black_oval.xml
  16. 60 3
      app/src/main/res/layout/lie_make_money_abnormal_item.xml
  17. 2 2
      app/src/main/res/layout/lie_make_money_listview.xml
  18. 28 0
      app/src/main/res/layout/lie_make_money_operation_item.xml
  19. 0 6
      app/src/main/res/layout/lie_make_money_other_item.xml
  20. 46 3
      app/src/main/res/layout/lie_make_money_processing_item.xml
  21. 43 0
      app/src/main/res/layout/lie_make_money_prompt_item.xml
  22. 29 0
      app/src/main/res/layout/lie_make_money_start_item.xml
  23. 3 0
      app/src/main/res/values/gamegroup_color.xml

+ 1 - 0
app/build.gradle

@@ -218,4 +218,5 @@ dependencies {
     compile files('libs/jackson-core-2.2.1.jar')
     compile files('libs/jackson-dataformat-xml-2.1.2.jar')
     compile 'io.reactivex:rxandroid:1.2.1'
+    compile 'com.github.ithedan:TextViewDrawable:v1.0'
 }

+ 1 - 0
app/src/main/AndroidManifest.xml

@@ -208,6 +208,7 @@
         <activity android:name="com.sheep.gamegroup.view.activity.WithdrawalResultAct"/>
         <activity android:name="com.sheep.gamegroup.view.activity.BindOrChangeWeixinAct"/>
         <activity android:name="com.sheep.gamegroup.view.activity.TryMakeMoneyact"/>
+        <activity android:name="com.sheep.gamegroup.view.activity.LieMakeMoneyAct"/>
         <activity android:name="com.sheep.gamegroup.view.activity.HomePageAct"/>
         <activity android:name="com.sheep.gamegroup.view.activity.BindDataAct"/>
         <activity android:name="com.sheep.gamegroup.view.activity.DialogActivity"

+ 5 - 3
app/src/main/java/com/kfzs/duanduan/fragment/FgtSmallSheep.java

@@ -119,12 +119,14 @@ public class FgtSmallSheep extends BaseCompatFragment  implements SmallSheepCont
                 break;
             case R.id.couple_red_packets_iv:
                 break;
-            case R.id.try_play_layout:
+            case R.id.try_play_layout://试玩赚钱
                 Jump2View.getInstance().goTryplayView(activity, null);
                 break;
-            case R.id.invitation_layout:
+            case R.id.invitation_layout://邀请赚钱
+                Jump2View.getInstance().goInvitationView(activity, null);
                 break;
-            case R.id.lying_layout:
+            case R.id.lying_layout://躺着赚钱
+                Jump2View.getInstance().goLyingView(activity, null);
                 break;
         }
     }

+ 5 - 0
app/src/main/java/com/sheep/gamegroup/model/entity/RecyleType.java

@@ -11,4 +11,9 @@ public enum RecyleType  implements Serializable {
     NONE,//无用占位
     RELEASE_TASK,//获取已发布的
     RUN_TASK,//获取我正在运行的任务
+    START_ON_HOOK,//开始挂机
+    ABNORMAL_ON_HOOK,//挂机不正常
+    NORMAL_ON_HOOK,//挂机正常
+    PROCESS_ON_HOOK,//挂机进行中
+    PROMPT_ON_HOOK,//挂机提示信息
 }

+ 2 - 1
app/src/main/java/com/sheep/gamegroup/util/Jump2View.java

@@ -11,6 +11,7 @@ import com.sheep.gamegroup.view.activity.BindDataAct;
 import com.sheep.gamegroup.view.activity.BindOrChangeWeixinAct;
 import com.sheep.gamegroup.view.activity.DialogActivity;
 import com.sheep.gamegroup.view.activity.HomePageAct;
+import com.sheep.gamegroup.view.activity.LieMakeMoneyAct;
 import com.sheep.gamegroup.view.activity.LoginAct;
 import com.sheep.gamegroup.view.activity.PersonalCenterAct;
 import com.sheep.gamegroup.view.activity.PhoneAct;
@@ -144,7 +145,7 @@ public class Jump2View {
      * @param o
      */
     public void goLyingView(Context context, Object o){
-        Intent intent = new Intent(context, BindOrChangeWeixinAct.class);
+        Intent intent = new Intent(context, LieMakeMoneyAct.class);
         context.startActivity(intent);
     }
 

+ 105 - 0
app/src/main/java/com/sheep/gamegroup/view/activity/LieMakeMoneyAct.java

@@ -0,0 +1,105 @@
+package com.sheep.gamegroup.view.activity;
+
+import android.app.Activity;
+import android.os.Handler;
+import android.os.Message;
+import android.support.v4.widget.SwipeRefreshLayout;
+import android.support.v7.widget.LinearLayoutManager;
+import android.support.v7.widget.RecyclerView;
+
+import com.alibaba.fastjson.JSONArray;
+import com.alibaba.fastjson.JSONObject;
+import com.sheep.gamegroup.model.entity.BaseMessage;
+import com.sheep.gamegroup.model.entity.RecyleObj;
+import com.sheep.gamegroup.model.entity.RecyleType;
+import com.sheep.gamegroup.model.entity.TaskAcceptedEty;
+import com.sheep.gamegroup.model.entity.TaskReleaseEty;
+import com.sheep.gamegroup.presenter.TryMakeMoneyContract;
+import com.sheep.gamegroup.view.adapter.LieMakeMoneyAdp;
+import com.sheep.jiuyan.samllsheep.R;
+import com.sheep.jiuyan.samllsheep.base.BaseActivity;
+import com.sheep.jiuyan.samllsheep.utils.G;
+import com.sheep.jiuyan.samllsheep.utils.TitleBarUtils;
+
+import java.util.List;
+
+import butterknife.BindView;
+import butterknife.ButterKnife;
+
+/**
+ * Created by ljy on 2018/3/10.
+ */
+
+public class LieMakeMoneyAct extends BaseActivity {
+    @BindView(R.id.recyclerview)
+    RecyclerView recyclerview;
+    @BindView(R.id.refresh)
+    SwipeRefreshLayout refresh;
+
+    private Activity activity;
+    private LieMakeMoneyAdp lieMakeMoneyAdp;
+
+    Handler mhandler = new Handler(){
+        @Override
+        public void handleMessage(Message msg) {
+            super.handleMessage(msg);
+
+            lieMakeMoneyAdp.notifyDataSetChanged();
+        }
+    };
+
+    @Override
+    protected int getLayoutId() {
+        return R.layout.lie_make_money_listview;
+    }
+
+    @Override
+    public void initView() {
+        ButterKnife.bind(this);
+        activity = this;
+        TitleBarUtils
+                .getInstance()
+                .setTitle(activity, "躺着赚钱")
+                .setTitleFinish(activity);
+        recyclerview.setLayoutManager(new LinearLayoutManager(activity));
+        lieMakeMoneyAdp = new LieMakeMoneyAdp(this);
+        boolean hasData = false;
+        if(!hasData)
+            lieMakeMoneyAdp.add(RecyleObj.make(RecyleType.START_ON_HOOK, null));
+        lieMakeMoneyAdp.add(RecyleObj.make(RecyleType.PROMPT_ON_HOOK, hasData));
+        recyclerview.setAdapter(lieMakeMoneyAdp);
+    }
+
+    @Override
+    public void initListener() {
+        refresh.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() {
+            @Override
+            public void onRefresh() {
+                initData();
+                refresh.setRefreshing(false);
+            }
+        });
+        recyclerview.setOnScrollListener(new RecyclerView.OnScrollListener() {
+            @Override
+            public void onScrollStateChanged(RecyclerView recyclerView, int newState) {
+                super.onScrollStateChanged(recyclerView, newState);
+                int topRowVerticalPosition =
+                        (recyclerView == null || recyclerView.getChildCount() == 0) ? 0 : recyclerView.getChildAt(0).getTop();
+                refresh.setEnabled(topRowVerticalPosition >= 0);
+            }
+
+            @Override
+            public void onScrolled(RecyclerView recyclerView, int dx, int dy) {
+                super.onScrolled(recyclerView, dx, dy);
+            }
+        });
+    }
+
+    @Override
+    public void initData() {
+
+    }
+
+
+
+}

+ 193 - 0
app/src/main/java/com/sheep/gamegroup/view/adapter/LieMakeMoneyAdp.java

@@ -0,0 +1,193 @@
+package com.sheep.gamegroup.view.adapter;
+
+import android.content.Context;
+import android.support.v7.widget.RecyclerView;
+import android.support.v7.widget.StaggeredGridLayoutManager;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.ImageView;
+import android.widget.TextView;
+
+import com.bumptech.glide.Glide;
+import com.sheep.gamegroup.model.entity.RecyleObj;
+import com.sheep.gamegroup.model.entity.RecyleType;
+import com.sheep.gamegroup.model.entity.TaskAcceptedEty;
+import com.sheep.gamegroup.model.entity.TaskEty;
+import com.sheep.gamegroup.model.entity.TaskReleaseEty;
+import com.sheep.gamegroup.util.Jump2View;
+import com.sheep.gamegroup.util.ViewHolder;
+import com.sheep.jiuyan.samllsheep.R;
+import com.sheep.jiuyan.samllsheep.utils.G;
+
+import java.util.List;
+
+/**
+ * Created by ljy on 2018/3/20.
+ */
+
+public class LieMakeMoneyAdp extends AdbCommonRecycler<RecyleObj> {
+    private final static int TAG_ID_TEMP = R.id.view_tag_1;
+
+    public LieMakeMoneyAdp(Context context) {
+        super(context);
+        this.context = context;
+    }
+
+    @Override
+    public int getViewIdByType(int type) {
+        int resId = R.layout.empty;
+        RecyleType recyleType = RecyleType.values()[type];
+        switch (recyleType){
+            case START_ON_HOOK:
+                resId = R.layout.lie_make_money_start_item;
+                break;
+            case ABNORMAL_ON_HOOK:
+                resId = R.layout.lie_make_money_abnormal_item;
+                break;
+            case NORMAL_ON_HOOK:
+                resId = R.layout.lie_make_money_normal_item;
+                break;
+            case PROCESS_ON_HOOK:
+                resId = R.layout.lie_make_money_processing_item;
+                break;
+            case PROMPT_ON_HOOK:
+                resId = R.layout.lie_make_money_prompt_item;
+                break;
+        }
+        return resId;
+    }
+
+    @Override
+    public void convert(ViewHolder holder, RecyleObj recyleObj) {
+
+        switch (recyleObj.getRecyleType()){
+            case START_ON_HOOK:
+                bindStartOnHook(holder);
+                break;
+            case ABNORMAL_ON_HOOK:
+                bindAbnormalOnHook(holder, recyleObj.getDataObjT());
+                break;
+            case NORMAL_ON_HOOK:
+                bindAbnormalOnHook(holder, recyleObj.getDataObjT());
+                break;
+            case PROCESS_ON_HOOK:
+                bindAbnormalOnHook(holder, recyleObj.getDataObjT());
+                break;
+            case PROMPT_ON_HOOK:
+                bindPromptOnHook(holder, recyleObj.getDataObjT());
+                break;
+        }
+    }
+
+    private void bindAbnormalOnHook(ViewHolder holder, Object dataObjT) {
+    }
+
+    @Override
+    public int getItemViewType(int position) {
+        return getListDatas().get(position).getRecyleType().ordinal();
+    }
+
+    private void bindStartOnHook(ViewHolder holder) {
+        ImageView imageView = holder.getView(R.id.start_on_hook_iv, ImageView.class);
+        imageView.setOnClickListener(view -> {
+            //TODO 跳转到添加微信账号来进行挂机的界面
+            G.showToast("该功能正在建设中");
+        });
+    }
+    private void bindPromptOnHook(ViewHolder holder, boolean hasData) {
+        View ll = holder.getView(R.id.lie_make_operation_ll);
+        ll.setVisibility(hasData ? View.VISIBLE : View.GONE);
+        ll.findViewById(R.id.account_abnormal_tv).setOnClickListener(view -> {
+            //TODO 跳转到添加微信账号来进行挂机的界面
+            G.showToast("该功能正在建设中");
+        });
+    }
+    /**
+     * 获取已发布的
+     */
+    private void bindReleaseTask(ViewHolder holder, List<TaskReleaseEty> etyList){
+        RecyclerView recyclerView = holder.getView(R.id.release_task_listview, RecyclerView.class);
+//        recyclerView.setHasFixedSize(true);
+//        recyclerView.setLayoutManager(new LinearLayoutManager(context));
+        recyclerView.setHasFixedSize(true);
+        recyclerView.setLayoutManager(new StaggeredGridLayoutManager(1,
+                StaggeredGridLayoutManager.HORIZONTAL));
+        recyclerView.setAdapter(new RecyclerView.Adapter(){
+
+            @Override
+            public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup viewGroup, int i) {
+                View view = LayoutInflater.from(context)
+                        .inflate(R.layout.try_makemoney_item, viewGroup,false);
+                view.setOnClickListener(new View.OnClickListener() {
+                    @Override
+                    public void onClick(View v) {
+                        TaskEty taskEty = etyList.get(i).getTask();
+                        taskEty.setRunTask(0);
+//                        taskEty.setRelease_task_id(etyList.getRelease_task_id());
+                        Jump2View.getInstance().goDialogActivityView(context, taskEty);
+                    }
+                });
+                RecyclerView.ViewHolder viewHolder = new RecyclerView.ViewHolder(view) {
+                    @Override
+                    public String toString() {
+                        return super.toString();
+                    }
+                };
+                return viewHolder;
+            }
+
+            @Override
+            public void onBindViewHolder(RecyclerView.ViewHolder viewHolder, int i) {
+                viewHolder.itemView.setTag(TAG_ID_TEMP, etyList.get(i).getId());
+                if(i == 0){
+
+                    viewHolder.itemView.findViewById(R.id.item_title_tv).setVisibility(View.VISIBLE);
+                    ((TextView)viewHolder.itemView.findViewById(R.id.item_title_tv)).setText("推荐");
+                }else{
+
+                    viewHolder.itemView.findViewById(R.id.item_title_tv).setVisibility(View.GONE);
+                }
+                ((TextView)viewHolder.itemView.findViewById(R.id.item_anem_tv)).setText(etyList.get(i).getTask().getTask_name()+"");
+                ((TextView)viewHolder.itemView.findViewById(R.id.item_num_tv)).setText("剩余"+ etyList.get(i).getLast_num()+"份");
+                ((TextView)viewHolder.itemView.findViewById(R.id.item_money)).setText("+"+ etyList.get(i).getBonus() +"元");
+                Glide.with(context)
+                        .load(etyList.get(i).getTask().getIcon()+"")
+                        .placeholder(R.mipmap.ic_launcher)
+                        .into((ImageView) viewHolder.itemView.findViewById(R.id.item_icon_iv));
+            }
+
+            @Override
+            public int getItemCount() {
+                return etyList.size();
+            }
+        });
+    }
+
+    /**
+     * 获取我正在运行的任务
+     */
+    private void bindRunTask(ViewHolder holder, TaskAcceptedEty acceptedEty){
+        ImageView icon = holder.getView(R.id.item_icon_iv);
+        TextView item_anem_tv = holder.getView(R.id.item_anem_tv);
+        TextView item_num_tv = holder.getView(R.id.item_num_tv);
+        TextView item_money = holder.getView(R.id.item_money);
+        Glide.with(context)
+                .load(acceptedEty.getRelease_task().getTask().getIcon()+"")
+                .placeholder(R.mipmap.ic_launcher)
+                .dontAnimate()
+                .into(icon);
+        item_anem_tv.setText(acceptedEty.getRelease_task().getTask().getTask_name()+"");
+        item_num_tv.setText("剩余"+ acceptedEty.getRelease_task().getLast_num()+"份");
+        item_money.setText("+"+ acceptedEty.getRelease_task().getBonus() +"元");
+        holder.itemView.setOnClickListener(new View.OnClickListener() {
+            @Override
+            public void onClick(View v) {
+                TaskEty taskEty = acceptedEty.getRelease_task().getTask();
+                taskEty.setRunTask(1);
+                taskEty.setRelease_task_id(acceptedEty.getRelease_task_id());
+                Jump2View.getInstance().goDialogActivityView(context, taskEty);
+            }
+        });
+    }
+}

BIN
app/src/main/res/drawable-xhdpi/start_on_hook.png


BIN
app/src/main/res/drawable-xhdpi/start_on_hook_click.png


BIN
app/src/main/res/drawable-xxhdpi/start_on_hook.png


BIN
app/src/main/res/drawable-xxhdpi/start_on_hook_click.png


+ 8 - 0
app/src/main/res/drawable/selector_start_on_hook.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android" >
+  <item android:state_focused="true" android:drawable="@drawable/start_on_hook_click" />
+  <item android:state_checked="true" android:drawable="@drawable/start_on_hook_click"/>
+  <item android:state_selected="true" android:drawable="@drawable/start_on_hook_click"/>
+  <item android:state_pressed="true" android:drawable="@drawable/start_on_hook_click"/>
+  <item android:drawable="@drawable/start_on_hook"/>
+</selector>

+ 7 - 0
app/src/main/res/drawable/shape_btn_account_abnormal.xml

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+    android:shape="rectangle">
+
+    <corners android:radius="4dp" />
+    <solid android:color="#7a7a7a" />
+</shape>

+ 7 - 0
app/src/main/res/drawable/shape_btn_wx_is_open.xml

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+    android:shape="rectangle">
+
+    <corners android:radius="4dp" />
+    <solid android:color="#dadada" />
+</shape>

+ 11 - 0
app/src/main/res/drawable/shape_small_black_oval.xml

@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+    android:shape="oval" >
+
+    <solid android:color="#949494" />
+
+    <corners android:radius="4dp" />
+    <size android:width= "8dp"
+        android:height= "8dp" />
+
+</shape>

+ 60 - 3
app/src/main/res/layout/lie_make_money_abnormal_item.xml

@@ -1,6 +1,63 @@
 <?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
-    android:layout_height="match_parent">
+    android:layout_height="match_parent"
+    xmlns:app="http://schemas.android.com/apk/res-auto"
+    android:background="@drawable/x_shap_shadow_bg_rectgangle_white"
+    android:padding="@dimen/content_padding_15">
 
-</LinearLayout>
+    <TextView
+        android:id="@+id/state_name_tv"
+        style="@style/txt_style_15"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:text="账号异常"
+        tools:layout_editor_absoluteX="0dp"
+        tools:layout_editor_absoluteY="0dp" />
+    <TextView
+        android:id="@+id/weixin_number_tv"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:text="微信号"
+        style="@style/nomal_txt_style"
+        app:layout_constraintTop_toBottomOf="@+id/state_name_tv"
+        tools:layout_editor_absoluteX="15dp"
+        android:layout_marginTop="@dimen/content_padding_10" />
+    <TextView
+        android:id="@+id/weixin_name_tv"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:text="xiaomianyang"
+        style="@style/hint_txt_style"
+        app:layout_constraintTop_toBottomOf="@+id/weixin_number_tv"
+        app:layout_editor_absoluteX="@dimen/content_padding_15"
+        android:layout_marginTop="@dimen/content_padding_10"
+        tools:layout_editor_absoluteX="15dp" />
+
+    <TextView
+        android:id="@+id/wx_is_open_tv"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:background="@drawable/shape_btn_wx_is_open"
+        android:paddingTop="5dp"
+        android:paddingBottom="5dp"
+        android:paddingLeft="8dp"
+        android:paddingRight="8dp"
+        android:text="已解封,继续赚钱"
+        android:textColor="@color/txt_black_cc444444"
+        android:textSize="@dimen/text_size_2"
+        app:layout_constraintBaseline_toBaselineOf="@+id/weixin_name_tv"
+        app:layout_constraintRight_toRightOf="parent" />
+    <TextView
+        android:id="@+id/earnings_name_tv"
+        style="@style/nomal_txt_style"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:text="账号封禁"
+        app:layout_constraintBaseline_toBaselineOf="@+id/weixin_number_tv"
+        app:layout_constraintStart_toStartOf="@id/wx_is_open_tv"
+        app:layout_constraintEnd_toEndOf="@id/wx_is_open_tv" />
+
+
+</android.support.constraint.ConstraintLayout>

+ 2 - 2
app/src/main/res/layout/lie_make_money_listview.xml

@@ -3,7 +3,7 @@
     android:layout_width="match_parent"
     android:layout_height="match_parent"
     android:orientation="vertical"
-    android:background="@color/bg_gray">
+    android:background="@color/white_F9F9F9">
 
     <include
         layout="@layout/title"/>
@@ -13,11 +13,11 @@
         android:layout_width="wrap_content"
         android:layout_height="match_parent">
         <android.support.v7.widget.RecyclerView
+            android:id="@+id/recyclerview"
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
             android:orientation="vertical"
             android:scrollbars="none"
-            android:background="@color/bg_gray"
             android:layout_margin="@dimen/content_padding_10">
 
         </android.support.v7.widget.RecyclerView>

+ 28 - 0
app/src/main/res/layout/lie_make_money_operation_item.xml

@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    android:id="@+id/lie_make_operation_ll"
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:gravity="center_horizontal"
+    android:layout_marginBottom="20dp"
+    android:orientation="vertical">
+    <TextView
+        android:id="@+id/account_abnormal_tv"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:background="@drawable/shape_btn_account_abnormal"
+        android:paddingTop="5dp"
+        android:paddingBottom="5dp"
+        android:paddingLeft="15dp"
+        android:paddingRight="15dp"
+        android:textSize="@dimen/text_size_15"
+        android:textColor="@color/white"
+        android:text="账号异常"/>
+    <TextView
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_marginTop="15dp"
+        android:textSize="@dimen/text_size_12"
+        android:textColor="@color/txt_black_444444"
+        android:text="遇到问题?点我联系客服"/>
+</LinearLayout>

+ 0 - 6
app/src/main/res/layout/lie_make_money_other_item.xml

@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-    android:layout_width="match_parent"
-    android:layout_height="match_parent">
-
-</LinearLayout>

+ 46 - 3
app/src/main/res/layout/lie_make_money_processing_item.xml

@@ -1,6 +1,49 @@
 <?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
-    android:layout_height="match_parent">
+    android:layout_height="match_parent"
+    xmlns:app="http://schemas.android.com/apk/res-auto"
+    android:background="@drawable/x_shap_shadow_bg_rectgangle_white"
+    android:padding="@dimen/content_padding_15">
 
-</LinearLayout>
+    <TextView
+        android:id="@+id/state_name_tv"
+        style="@style/txt_style_15"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:text="账号处理中"
+        tools:layout_editor_absoluteX="0dp"
+        tools:layout_editor_absoluteY="0dp" />
+    <TextView
+        android:id="@+id/weixin_number_tv"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:text="微信号"
+        style="@style/nomal_txt_style"
+        app:layout_constraintTop_toBottomOf="@+id/state_name_tv"
+        tools:layout_editor_absoluteX="15dp"
+        android:layout_marginTop="@dimen/content_padding_10" />
+    <TextView
+        android:id="@+id/weixin_name_tv"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:text="xiaomianyang"
+        style="@style/hint_txt_style"
+        app:layout_constraintTop_toBottomOf="@+id/weixin_number_tv"
+        app:layout_editor_absoluteX="@dimen/content_padding_15"
+        android:layout_marginTop="@dimen/content_padding_10"
+        tools:layout_editor_absoluteX="15dp" />
+
+    <TextView
+        android:id="@+id/customer_service_name_tv"
+        style="@style/nomal_txt_style"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_marginRight="@dimen/content_padding"
+        android:text="客服沟通"
+        app:layout_constraintBaseline_toBaselineOf="@+id/weixin_number_tv"
+        app:layout_constraintRight_toRightOf="parent" />
+
+
+</android.support.constraint.ConstraintLayout>

+ 43 - 0
app/src/main/res/layout/lie_make_money_prompt_item.xml

@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    xmlns:app="http://schemas.android.com/apk/res-auto"
+    android:padding="20dp"
+    android:layout_margin="10dp"
+    android:background="@drawable/x_shap_shadow_bg_rectgangle_white"
+    android:orientation="vertical">
+    <include layout="@layout/lie_make_money_operation_item"/>
+    <com.hedan.textdrawablelibrary.TextViewDrawable
+        style="@style/hint_txt_style"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:drawableLeft="@drawable/shape_small_black_oval"
+        android:drawablePadding="5dp"
+        app:isAliganCenter="false"
+        android:text="将微信号托管到小绵羊(数量不限),由平台免费帮助用户自动挂机完成任务,每个微信号每月躺着赚300元!" />
+    <com.hedan.textdrawablelibrary.TextViewDrawable
+        style="@style/hint_txt_style"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:drawableLeft="@drawable/shape_small_black_oval"
+        android:drawablePadding="5dp"
+        app:isAliganCenter="false"
+        android:text="投机收益每日早上9点结算。" />
+    <com.hedan.textdrawablelibrary.TextViewDrawable
+        style="@style/hint_txt_style"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:drawableLeft="@drawable/shape_small_black_oval"
+        android:drawablePadding="5dp"
+        app:isAliganCenter="false"
+        android:text="小绵羊不会将你提供的微信号泄露或进行非法违规操作。" />
+    <com.hedan.textdrawablelibrary.TextViewDrawable
+        style="@style/hint_txt_style"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:drawableLeft="@drawable/shape_small_black_oval"
+        android:drawablePadding="5dp"
+        app:isAliganCenter="false"
+        android:text="挂机过程中微信号有可能被微信封禁,请完成微信号的解封后点击“已解封,继续赚钱”,小绵羊会继续帮你干活赚钱。" />
+</LinearLayout>

+ 29 - 0
app/src/main/res/layout/lie_make_money_start_item.xml

@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:layout_marginTop="60dp"
+    android:layout_marginBottom="60dp"
+    android:orientation="vertical">
+    <ImageView
+        android:id="@+id/start_on_hook_iv"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_gravity="center_horizontal"
+        android:src="@drawable/selector_start_on_hook"/>
+    <TextView
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_gravity="center_horizontal"
+        android:layout_marginTop="30dp"
+        android:textSize="@dimen/text_size_15"
+        android:textColor="@color/txt_black_565656"
+        android:text="云端挂机"/>
+    <TextView
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_gravity="center_horizontal"
+        android:textSize="@dimen/text_size_15"
+        android:textColor="@color/txt_black_565656"
+        android:text="平台自动完成任务"/>
+</LinearLayout>

+ 3 - 0
app/src/main/res/values/gamegroup_color.xml

@@ -17,6 +17,9 @@
     <color name="red_fd2d54">#fd2d54</color>
     <color name="txt_black_818181">#818181</color>
     <color name="txt_black_9e9c9c">#9e9c9c</color>
+    <color name="txt_black_cc444444">#cc444444</color>
+    <color name="txt_black_444444">#444444</color>
+    <color name="txt_black_565656">#565656</color>
     <color name="txt_red_ff4a5f">#ff4a5f</color>
 
     <color name="yellow_start">#f4c76c</color>