Jelajahi Sumber

反馈页面布局

yanglei 5 bulan lalu
induk
melakukan
0fc748e069
34 mengubah file dengan 946 tambahan dan 4 penghapusan
  1. 1 0
      app/build.gradle
  2. 5 3
      app/src/main/AndroidManifest.xml
  3. 41 0
      app/src/main/java/com/xwkj/jcjcgz/di/component/FzQzFkComponent.java
  4. 30 0
      app/src/main/java/com/xwkj/jcjcgz/di/module/FzQzFkModule.java
  5. 29 0
      app/src/main/java/com/xwkj/jcjcgz/mvp/contract/FzQzFkContract.java
  6. 46 0
      app/src/main/java/com/xwkj/jcjcgz/mvp/model/FzQzFkModel.java
  7. 53 0
      app/src/main/java/com/xwkj/jcjcgz/mvp/presenter/FzQzFkPresenter.java
  8. 177 0
      app/src/main/java/com/xwkj/jcjcgz/mvp/ui/activity/FzQzFkActivity.java
  9. TEMPAT SAMPAH
      app/src/main/res/drawable-xxxhdpi/btn_unfold_gray.png
  10. TEMPAT SAMPAH
      app/src/main/res/drawable-xxxhdpi/icon_radio_color.png
  11. TEMPAT SAMPAH
      app/src/main/res/drawable-xxxhdpi/icon_radio_gray.png
  12. 7 0
      app/src/main/res/drawable/rb_selected.xml
  13. 7 0
      app/src/main/res/drawable/rb_unselect.xml
  14. 9 0
      app/src/main/res/drawable/selector_radio.xml
  15. 7 0
      app/src/main/res/drawable/shape_gray.xml
  16. 11 0
      app/src/main/res/drawable/shape_line_selected.xml
  17. 7 0
      app/src/main/res/drawable/shape_select.xml
  18. 4 0
      app/src/main/res/drawable/shape_unselect.xml
  19. 9 0
      app/src/main/res/drawable/shape_wdh_white.xml
  20. 9 0
      app/src/main/res/drawable/shape_ydh_white.xml
  21. 489 0
      app/src/main/res/layout/activity_fz_qz_fk.xml
  22. 0 1
      app/src/main/res/layout/fragment_grzx.xml
  23. TEMPAT SAMPAH
      app/src/main/res/mipmap-hdpi/icon_radio_color.png
  24. TEMPAT SAMPAH
      app/src/main/res/mipmap-hdpi/icon_radio_gray.png
  25. TEMPAT SAMPAH
      app/src/main/res/mipmap-mdpi/icon_radio_color.png
  26. TEMPAT SAMPAH
      app/src/main/res/mipmap-mdpi/icon_radio_gray.png
  27. TEMPAT SAMPAH
      app/src/main/res/mipmap-xhdpi/icon_radio_color.png
  28. TEMPAT SAMPAH
      app/src/main/res/mipmap-xhdpi/icon_radio_gray.png
  29. TEMPAT SAMPAH
      app/src/main/res/mipmap-xxhdpi/icon_radio_color.png
  30. TEMPAT SAMPAH
      app/src/main/res/mipmap-xxhdpi/icon_radio_gray.png
  31. TEMPAT SAMPAH
      app/src/main/res/mipmap-xxxhdpi/icon_radio_color.png
  32. TEMPAT SAMPAH
      app/src/main/res/mipmap-xxxhdpi/icon_radio_gray.png
  33. TEMPAT SAMPAH
      app/src/main/res/mipmap-xxxhdpi/left_jt.png
  34. 5 0
      app/src/main/res/values/styles.xml

+ 1 - 0
app/build.gradle

@@ -167,6 +167,7 @@ dependencies {
     implementation  'io.github.scwang90:refresh-footer-ball:2.1.0'        //球脉冲加载
     implementation  'io.github.scwang90:refresh-footer-classics:2.1.0'    //经典加载
 
+    implementation "androidx.viewpager2:viewpager2:1.0.0"
 
     implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
 

+ 5 - 3
app/src/main/AndroidManifest.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
-    package="com.xwkj.jcjcgz" >
+    package="com.xwkj.jcjcgz">
 
     <uses-permission android:name="android.permission.INTERNET" />
     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
@@ -17,19 +17,21 @@
         android:label="@string/app_name"
         android:networkSecurityConfig="@xml/network_security_config"
         android:supportsRtl="true"
-        android:theme="@style/AppTheme" >
+        android:theme="@style/AppTheme">
+        <activity android:name=".mvp.ui.activity.FzQzFkActivity" />
         <activity android:name=".mvp.ui.activity.Test1Activity" />
         <activity android:name=".mvp.ui.activity.LoginActivity" />
         <activity android:name=".mvp.ui.activity.AppDetailActivity" />
         <activity android:name=".mvp.ui.activity.AppListActivity" />
         <activity android:name=".mvp.ui.activity.MainActivity" />
-        <activity android:name=".mvp.ui.activity.TestActivity" >
+        <activity android:name=".mvp.ui.activity.TestActivity">
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
 
                 <category android:name="android.intent.category.LAUNCHER" />
             </intent-filter>
         </activity>
+
         <!--
          只要依赖 AutoSize 就必须填写设计图尺寸, 否则报错, 不想使用 AutoSize 就不要依赖 AutoSize
         只要填写完设计图的尺寸, AutoSize 就会自动启动, 以下 dp 尺寸是根据公式 px / (dpi / 160) 求出, 运算时使用测试机的 dpi 即可

+ 41 - 0
app/src/main/java/com/xwkj/jcjcgz/di/component/FzQzFkComponent.java

@@ -0,0 +1,41 @@
+package com.xwkj.jcjcgz.di.component;
+
+import dagger.BindsInstance;
+import dagger.Component;
+
+import com.jess.arms.di.component.AppComponent;
+
+import com.xwkj.jcjcgz.di.module.FzQzFkModule;
+import com.xwkj.jcjcgz.mvp.contract.FzQzFkContract;
+
+import com.jess.arms.di.scope.ActivityScope;
+import com.xwkj.jcjcgz.mvp.ui.activity.FzQzFkActivity;
+
+
+/**
+ * ================================================
+ * Description:
+ * <p>
+ * Created by MVPArmsTemplate on 07/18/2024 16:09
+ * <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
+ * <a href="https://github.com/JessYanCoding">Follow me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms">Star me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms/wiki">See me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArmsTemplate">模版请保持更新</a>
+ * ================================================
+ */
+@ActivityScope
+@Component(modules = FzQzFkModule.class, dependencies = AppComponent.class)
+public interface FzQzFkComponent {
+    void inject(FzQzFkActivity activity);
+
+    @Component.Builder
+    interface Builder {
+        @BindsInstance
+        FzQzFkComponent.Builder view(FzQzFkContract.View view);
+
+        FzQzFkComponent.Builder appComponent(AppComponent appComponent);
+
+        FzQzFkComponent build();
+    }
+}

+ 30 - 0
app/src/main/java/com/xwkj/jcjcgz/di/module/FzQzFkModule.java

@@ -0,0 +1,30 @@
+package com.xwkj.jcjcgz.di.module;
+
+import com.jess.arms.di.scope.ActivityScope;
+
+import dagger.Binds;
+import dagger.Module;
+import dagger.Provides;
+
+import com.xwkj.jcjcgz.mvp.contract.FzQzFkContract;
+import com.xwkj.jcjcgz.mvp.model.FzQzFkModel;
+
+
+/**
+ * ================================================
+ * Description:
+ * <p>
+ * Created by MVPArmsTemplate on 07/18/2024 16:09
+ * <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
+ * <a href="https://github.com/JessYanCoding">Follow me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms">Star me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms/wiki">See me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArmsTemplate">模版请保持更新</a>
+ * ================================================
+ */
+@Module
+public abstract class FzQzFkModule {
+
+    @Binds
+    abstract FzQzFkContract.Model bindFzQzFkModel(FzQzFkModel model);
+}

+ 29 - 0
app/src/main/java/com/xwkj/jcjcgz/mvp/contract/FzQzFkContract.java

@@ -0,0 +1,29 @@
+package com.xwkj.jcjcgz.mvp.contract;
+
+import com.jess.arms.mvp.IView;
+import com.jess.arms.mvp.IModel;
+
+
+/**
+ * ================================================
+ * Description:
+ * <p>
+ * Created by MVPArmsTemplate on 07/18/2024 16:09
+ * <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
+ * <a href="https://github.com/JessYanCoding">Follow me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms">Star me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms/wiki">See me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArmsTemplate">模版请保持更新</a>
+ * ================================================
+ */
+public interface FzQzFkContract {
+    //对于经常使用的关于UI的方法可以定义到IView中,如显示隐藏进度条,和显示文字消息
+    interface View extends IView {
+
+    }
+
+    //Model层定义接口,外部只需关心Model返回的数据,无需关心内部细节,即是否使用缓存
+    interface Model extends IModel {
+
+    }
+}

+ 46 - 0
app/src/main/java/com/xwkj/jcjcgz/mvp/model/FzQzFkModel.java

@@ -0,0 +1,46 @@
+package com.xwkj.jcjcgz.mvp.model;
+
+import android.app.Application;
+
+import com.google.gson.Gson;
+import com.jess.arms.integration.IRepositoryManager;
+import com.jess.arms.mvp.BaseModel;
+
+import com.jess.arms.di.scope.ActivityScope;
+
+import javax.inject.Inject;
+
+import com.xwkj.jcjcgz.mvp.contract.FzQzFkContract;
+
+
+/**
+ * ================================================
+ * Description:
+ * <p>
+ * Created by MVPArmsTemplate on 07/18/2024 16:09
+ * <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
+ * <a href="https://github.com/JessYanCoding">Follow me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms">Star me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms/wiki">See me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArmsTemplate">模版请保持更新</a>
+ * ================================================
+ */
+@ActivityScope
+public class FzQzFkModel extends BaseModel implements FzQzFkContract.Model {
+    @Inject
+    Gson mGson;
+    @Inject
+    Application mApplication;
+
+    @Inject
+    public FzQzFkModel(IRepositoryManager repositoryManager) {
+        super(repositoryManager);
+    }
+
+    @Override
+    public void onDestroy() {
+        super.onDestroy();
+        this.mGson = null;
+        this.mApplication = null;
+    }
+}

+ 53 - 0
app/src/main/java/com/xwkj/jcjcgz/mvp/presenter/FzQzFkPresenter.java

@@ -0,0 +1,53 @@
+package com.xwkj.jcjcgz.mvp.presenter;
+
+import android.app.Application;
+
+import com.jess.arms.integration.AppManager;
+import com.jess.arms.di.scope.ActivityScope;
+import com.jess.arms.mvp.BasePresenter;
+import com.jess.arms.http.imageloader.ImageLoader;
+
+import me.jessyan.rxerrorhandler.core.RxErrorHandler;
+
+import javax.inject.Inject;
+
+import com.xwkj.jcjcgz.mvp.contract.FzQzFkContract;
+
+
+/**
+ * ================================================
+ * Description:
+ * <p>
+ * Created by MVPArmsTemplate on 07/18/2024 16:09
+ * <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
+ * <a href="https://github.com/JessYanCoding">Follow me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms">Star me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms/wiki">See me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArmsTemplate">模版请保持更新</a>
+ * ================================================
+ */
+@ActivityScope
+public class FzQzFkPresenter extends BasePresenter<FzQzFkContract.Model, FzQzFkContract.View> {
+    @Inject
+    RxErrorHandler mErrorHandler;
+    @Inject
+    Application mApplication;
+    @Inject
+    ImageLoader mImageLoader;
+    @Inject
+    AppManager mAppManager;
+
+    @Inject
+    public FzQzFkPresenter(FzQzFkContract.Model model, FzQzFkContract.View rootView) {
+        super(model, rootView);
+    }
+
+    @Override
+    public void onDestroy() {
+        super.onDestroy();
+        this.mErrorHandler = null;
+        this.mAppManager = null;
+        this.mImageLoader = null;
+        this.mApplication = null;
+    }
+}

+ 177 - 0
app/src/main/java/com/xwkj/jcjcgz/mvp/ui/activity/FzQzFkActivity.java

@@ -0,0 +1,177 @@
+package com.xwkj.jcjcgz.mvp.ui.activity;
+
+import android.content.Intent;
+import android.os.Bundle;
+import android.view.View;
+import android.widget.Button;
+import android.widget.LinearLayout;
+import android.widget.RadioButton;
+import android.widget.RadioGroup;
+import android.widget.RelativeLayout;
+import android.widget.TextView;
+
+import androidx.annotation.NonNull;
+import androidx.annotation.Nullable;
+
+import com.jess.arms.di.component.AppComponent;
+import com.jess.arms.utils.ArmsUtils;
+import com.xwkj.jcjcgz.R;
+import com.xwkj.jcjcgz.di.component.DaggerFzQzFkComponent;
+import com.xwkj.jcjcgz.mvp.contract.FzQzFkContract;
+import com.xwkj.jcjcgz.mvp.presenter.FzQzFkPresenter;
+import com.zkjc.common.base.ZkjcBaseActivity;
+
+import butterknife.BindView;
+import butterknife.ButterKnife;
+import butterknife.OnClick;
+
+import static com.jess.arms.utils.Preconditions.checkNotNull;
+
+
+/**
+ * ================================================
+ * Description:
+ * <p>
+ * Created by MVPArmsTemplate on 07/18/2024 16:09
+ * <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
+ * <a href="https://github.com/JessYanCoding">Follow me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms">Star me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms/wiki">See me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArmsTemplate">模版请保持更新</a>
+ * ================================================
+ */
+public class FzQzFkActivity extends ZkjcBaseActivity<FzQzFkPresenter> implements FzQzFkContract.View {
+
+    @BindView(R.id.bt_back)
+    Button btBack;
+    @BindView(R.id.view_wdhlx)
+    View viewWdhlx;
+    @BindView(R.id.rl_wdhlx)
+    RelativeLayout rlWdhlx;
+    @BindView(R.id.view_ydhlx)
+    View viewYdhlx;
+    @BindView(R.id.rl_ydhlx)
+    RelativeLayout rlYdhlx;
+    @BindView(R.id.rb_wdh_jj)
+    RadioButton rbWdhJj;
+    @BindView(R.id.rb_wdh_kh)
+    RadioButton rbWdhKh;
+    @BindView(R.id.rb_wdh_bzxq)
+    RadioButton rbWdhBzxq;
+    @BindView(R.id.rg_wdhlx)
+    RadioGroup rgWdhlx;
+    @BindView(R.id.rb_ydh_sddx)
+    RadioButton rbYdhSddx;
+    @BindView(R.id.rb_ydh_wsddx)
+    RadioButton rbYdhWsddx;
+    @BindView(R.id.rb_ydh_tdmh)
+    RadioButton rbYdhTdmh;
+    @BindView(R.id.rb_ydh_wfkxx)
+    RadioButton rbYdhWfkxx;
+    @BindView(R.id.rb_ydh_tdmh_jm)
+    RadioButton rbYdhTdmhJm;
+    @BindView(R.id.rb_ydh_wfk_jm)
+    RadioButton rbYdhWfkJm;
+    @BindView(R.id.rb_ydh_yba)
+    RadioButton rbYdhYba;
+    @BindView(R.id.rb_ydh_sjyhkhbf)
+    RadioButton rbYdhSjyhkhbf;
+    @BindView(R.id.rb_ydh_ydhqz_jm)
+    RadioButton rbYdhYdhqzJm;
+    @BindView(R.id.rg_ydhlx)
+    RadioGroup rgYdhlx;
+    @BindView(R.id.tv_bt)
+    TextView tvBt;
+    @BindView(R.id.tv_fk)
+    TextView tvFk;
+    @BindView(R.id.rg_fk)
+    RadioGroup rgFk;
+    @BindView(R.id.tv_xtts)
+    TextView tvXtts;
+    @BindView(R.id.rl_xtzs)
+    RelativeLayout rlXtzs;
+    @BindView(R.id.ll_yjdh)
+    LinearLayout llYjdh;
+    @BindView(R.id.tv)
+    TextView tv;
+    @BindView(R.id.tv_mj)
+    TextView tvMj;
+
+    @Override
+    public void setupActivityComponent(@NonNull AppComponent appComponent) {
+        DaggerFzQzFkComponent //如找不到该类,请编译一下项目
+                .builder()
+                .appComponent(appComponent)
+                .view(this)
+                .build()
+                .inject(this);
+    }
+
+    @Override
+    public int initView(@Nullable Bundle savedInstanceState) {
+        return R.layout.activity_fz_qz_fk; //如果你不需要框架帮你设置 setContentView(id) 需要自行设置,请返回 0
+    }
+
+    @Override
+    public void initData(@Nullable Bundle savedInstanceState) {
+
+    }
+
+    @Override
+    public void showLoading() {
+
+    }
+
+    @Override
+    public void hideLoading() {
+
+    }
+
+    @Override
+    public void showMessage(@NonNull String message) {
+        checkNotNull(message);
+        ArmsUtils.snackbarText(message);
+    }
+
+    @Override
+    public void launchActivity(@NonNull Intent intent) {
+        checkNotNull(intent);
+        ArmsUtils.startActivity(intent);
+    }
+
+    @Override
+    public void killMyself() {
+        finish();
+    }
+
+    @OnClick({R.id.rl_wdhlx, R.id.rl_ydhlx})
+    public void onViewClicked(View view) {
+        switch (view.getId()) {
+            case R.id.rl_wdhlx:
+                changeUI(R.id.rl_wdhlx);
+                break;
+            case R.id.rl_ydhlx:
+                changeUI(R.id.rl_ydhlx);
+                break;
+        }
+    }
+
+    private void changeUI(int id) {
+        switch (id) {
+            case R.id.rl_wdhlx:
+                rlWdhlx.setBackground(getDrawable(R.drawable.shape_select));
+                rlYdhlx.setBackground(getDrawable(R.drawable.shape_unselect));
+                rgWdhlx.setVisibility(View.VISIBLE);
+                rgYdhlx.setVisibility(View.GONE);
+                llYjdh.setVisibility(View.GONE);
+                break;
+            case R.id.rl_ydhlx:
+                rlYdhlx.setBackground(getDrawable(R.drawable.shape_select));
+                rlWdhlx.setBackground(getDrawable(R.drawable.shape_unselect));
+                rgYdhlx.setVisibility(View.VISIBLE);
+                rgWdhlx.setVisibility(View.GONE);
+                llYjdh.setVisibility(View.VISIBLE);
+                break;
+        }
+    }
+}

TEMPAT SAMPAH
app/src/main/res/drawable-xxxhdpi/btn_unfold_gray.png


TEMPAT SAMPAH
app/src/main/res/drawable-xxxhdpi/icon_radio_color.png


TEMPAT SAMPAH
app/src/main/res/drawable-xxxhdpi/icon_radio_gray.png


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

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+    <item
+        android:width="16dp"
+        android:height="16dp"
+        android:drawable="@drawable/icon_radio_color" />
+</layer-list>

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

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+    <item
+        android:width="16dp"
+        android:height="16dp"
+        android:drawable="@drawable/icon_radio_gray" />
+</layer-list>

+ 9 - 0
app/src/main/res/drawable/selector_radio.xml

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

+ 7 - 0
app/src/main/res/drawable/shape_gray.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="8dp" />
+    <solid android:color="#99C6C4C4" />
+
+</shape>

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

@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+    android:shape="rectangle">
+    <gradient
+        android:angle="270"
+        android:endColor="#ff106dff"
+        android:startColor="#ff6f87ff"
+        android:type="linear"
+        android:useLevel="true" />
+    <corners android:radius="2dp" />
+</shape>

+ 7 - 0
app/src/main/res/drawable/shape_select.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:topLeftRadius="8dp" android:topRightRadius="8dp"/>
+    <solid android:color="@color/white"/>
+
+</shape>

+ 4 - 0
app/src/main/res/drawable/shape_unselect.xml

@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
+
+</shape>

+ 9 - 0
app/src/main/res/drawable/shape_wdh_white.xml

@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+    android:shape="rectangle">
+    <solid android:color="@color/white" />
+    <corners
+        android:bottomLeftRadius="8dp"
+        android:bottomRightRadius="8dp"
+        android:topRightRadius="8dp" />
+</shape>

+ 9 - 0
app/src/main/res/drawable/shape_ydh_white.xml

@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+    android:shape="rectangle">
+    <solid android:color="@color/white" />
+    <corners
+        android:bottomLeftRadius="8dp"
+        android:bottomRightRadius="8dp"
+        android:topLeftRadius="8dp" />
+</shape>

+ 489 - 0
app/src/main/res/layout/activity_fz_qz_fk.xml

@@ -0,0 +1,489 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout 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:background="#f8f8f8"
+    android:orientation="vertical">
+
+    <RelativeLayout
+        android:layout_width="match_parent"
+        android:layout_height="44dp"
+        android:layout_marginTop="44dp">
+
+        <Button
+            android:id="@+id/bt_back"
+            android:layout_width="20dp"
+            android:layout_height="20dp"
+            android:layout_centerVertical="true"
+            android:layout_marginLeft="16dp"
+            android:background="@mipmap/left_jt" />
+
+        <TextView
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_centerInParent="true"
+            android:text="反馈"
+            android:textColor="#ff111111"
+            android:textSize="18sp" />
+    </RelativeLayout>
+
+    <ScrollView
+        android:layout_width="match_parent"
+        android:layout_height="match_parent">
+
+        <LinearLayout
+            android:layout_width="match_parent"
+            android:layout_height="match_parent"
+            android:orientation="vertical">
+
+            <LinearLayout
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:layout_marginLeft="16dp"
+                android:layout_marginRight="16dp"
+                android:background="@drawable/shape_gray"
+                android:minHeight="108dp"
+                android:orientation="vertical">
+
+                <LinearLayout
+                    android:layout_width="match_parent"
+                    android:layout_height="44dp"
+                    android:orientation="horizontal">
+
+                    <RelativeLayout
+                        android:id="@+id/rl_wdhlx"
+                        android:layout_width="0dp"
+                        android:layout_height="match_parent"
+                        android:layout_weight="1"
+                        android:background="@drawable/shape_select">
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_centerInParent="true"
+                            android:text="未电话联系"
+                            android:textColor="#111111"
+                            android:textSize="16sp" />
+
+                        <View
+                            android:id="@+id/view_wdhlx"
+                            android:layout_width="24dp"
+                            android:layout_height="3dp"
+                            android:layout_alignParentBottom="true"
+                            android:layout_centerHorizontal="true"
+                            android:background="@drawable/shape_line_selected" />
+
+                    </RelativeLayout>
+
+                    <RelativeLayout
+                        android:id="@+id/rl_ydhlx"
+                        android:layout_width="0dp"
+                        android:layout_height="match_parent"
+                        android:layout_weight="1">
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_centerInParent="true"
+                            android:text="已电话联系"
+                            android:textColor="#111111"
+                            android:textSize="16sp" />
+
+                        <View
+                            android:id="@+id/view_ydhlx"
+                            android:layout_width="24dp"
+                            android:layout_height="3dp"
+                            android:layout_alignParentBottom="true"
+                            android:layout_centerHorizontal="true"
+                            android:background="@drawable/shape_line_selected"
+                            android:visibility="gone" />
+                    </RelativeLayout>
+                </LinearLayout>
+
+                <RadioGroup
+                    android:id="@+id/rg_wdhlx"
+                    android:layout_width="match_parent"
+                    android:layout_height="match_parent"
+                    android:background="@drawable/shape_wdh_white"
+                    android:orientation="vertical">
+
+                    <RadioButton
+                        android:id="@+id/rb_wdh_jj"
+                        android:layout_width="wrap_content"
+                        android:layout_height="40dp"
+                        android:layout_marginLeft="12dp"
+                        android:button="@drawable/selector_radio"
+                        android:checked="true"
+                        android:paddingHorizontal="5dp"
+                        android:text="拒接/未接通"
+                        android:textSize="14sp" />
+
+                    <RadioButton
+                        android:id="@+id/rb_wdh_kh"
+                        android:layout_width="wrap_content"
+                        android:layout_height="40dp"
+                        android:layout_marginLeft="12dp"
+                        android:button="@drawable/selector_radio"
+                        android:paddingHorizontal="5dp"
+                        android:text="空号"
+                        android:textSize="14sp" />
+
+                    <RadioButton
+                        android:id="@+id/rb_wdh_bzxq"
+                        android:layout_width="wrap_content"
+                        android:layout_height="40dp"
+                        android:layout_marginLeft="12dp"
+                        android:button="@drawable/selector_radio"
+                        android:paddingHorizontal="5dp"
+                        android:text="不在本辖区致无法联系"
+                        android:textSize="14sp" />
+                </RadioGroup>
+
+                <RadioGroup
+                    android:id="@+id/rg_ydhlx"
+                    android:layout_width="match_parent"
+                    android:layout_height="match_parent"
+                    android:background="@drawable/shape_ydh_white"
+                    android:orientation="vertical"
+                    android:visibility="gone">
+
+                    <RadioButton
+                        android:id="@+id/rb_ydh_sddx"
+                        android:layout_width="wrap_content"
+                        android:layout_height="40dp"
+                        android:layout_marginLeft="12dp"
+                        android:button="@drawable/selector_radio"
+                        android:checked="true"
+                        android:paddingHorizontal="5dp"
+                        android:text="接到欺诈短信"
+                        android:textSize="14sp" />
+
+                    <RadioButton
+                        android:id="@+id/rb_ydh_wsddx"
+                        android:layout_width="wrap_content"
+                        android:layout_height="40dp"
+                        android:layout_marginLeft="12dp"
+                        android:button="@drawable/selector_radio"
+                        android:paddingHorizontal="5dp"
+                        android:text="未接到欺诈短信"
+                        android:textSize="14sp" />
+
+                    <RadioButton
+                        android:id="@+id/rb_ydh_tdmh"
+                        android:layout_width="wrap_content"
+                        android:layout_height="40dp"
+                        android:layout_marginLeft="12dp"
+                        android:button="@drawable/selector_radio"
+                        android:paddingHorizontal="5dp"
+                        android:text="事主表述/态度模糊"
+                        android:textSize="14sp" />
+
+                    <RadioButton
+                        android:id="@+id/rb_ydh_wfkxx"
+                        android:layout_width="wrap_content"
+                        android:layout_height="40dp"
+                        android:layout_marginLeft="12dp"
+                        android:button="@drawable/selector_radio"
+                        android:paddingHorizontal="5dp"
+                        android:text="事主未反馈任何信息"
+                        android:textSize="14sp" />
+
+                    <RadioButton
+                        android:id="@+id/rb_ydh_tdmh_jm"
+                        android:layout_width="wrap_content"
+                        android:layout_height="40dp"
+                        android:layout_marginLeft="12dp"
+                        android:button="@drawable/selector_radio"
+                        android:paddingHorizontal="5dp"
+                        android:text="预警对象表达/态度模糊,需见面劝阻"
+                        android:textSize="14sp" />
+
+                    <RadioButton
+                        android:id="@+id/rb_ydh_wfk_jm"
+                        android:layout_width="wrap_content"
+                        android:layout_height="40dp"
+                        android:layout_marginLeft="12dp"
+                        android:button="@drawable/selector_radio"
+                        android:paddingHorizontal="5dp"
+                        android:text="预警对象未反馈任何信息,需见面劝阻"
+                        android:textSize="14sp" />
+
+                    <RadioButton
+                        android:id="@+id/rb_ydh_yba"
+                        android:layout_width="wrap_content"
+                        android:layout_height="40dp"
+                        android:layout_marginLeft="12dp"
+                        android:button="@drawable/selector_radio"
+                        android:paddingHorizontal="5dp"
+                        android:text="预警对象已被骗报案,不需见面劝阻"
+                        android:textSize="14sp" />
+
+                    <RadioButton
+                        android:id="@+id/rb_ydh_sjyhkhbf"
+                        android:layout_width="wrap_content"
+                        android:layout_height="40dp"
+                        android:layout_marginLeft="12dp"
+                        android:button="@drawable/selector_radio"
+                        android:paddingHorizontal="5dp"
+                        android:text="预警手机号码非预警银行账户开户人"
+                        android:textSize="14sp" />
+
+                    <RadioButton
+                        android:id="@+id/rb_ydh_ydhqz_jm"
+                        android:layout_width="wrap_content"
+                        android:layout_height="40dp"
+                        android:layout_marginLeft="12dp"
+                        android:button="@drawable/selector_radio"
+                        android:paddingHorizontal="5dp"
+                        android:text="预警对象已经电话劝阻,还需见面劝阻"
+                        android:textSize="14sp" />
+
+
+                </RadioGroup>
+            </LinearLayout>
+
+            <LinearLayout
+                android:visibility="gone"
+                android:id="@+id/ll_yjdh"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:layout_marginLeft="16dp"
+                android:layout_marginTop="12dp"
+                android:layout_marginRight="16dp"
+                android:background="@drawable/white_shape"
+                android:minHeight="148dp"
+                android:orientation="vertical">
+
+                <RelativeLayout
+                    android:layout_width="match_parent"
+                    android:layout_height="53dp">
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_centerVertical="true"
+                        android:layout_marginLeft="12dp"
+                        android:text="反馈情况"
+                        android:textColor="#111111"
+                        android:textSize="16sp" />
+                </RelativeLayout>
+
+                <View
+                    android:layout_width="match_parent"
+                    android:layout_height="1dp"
+                    android:layout_marginLeft="12dp"
+                    android:layout_marginRight="12dp"
+                    android:background="#E7E7E7" />
+
+                <RelativeLayout
+                    android:layout_width="match_parent"
+                    android:layout_height="50dp">
+
+                    <TextView
+                        android:id="@+id/tv_bt"
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_centerVertical="true"
+                        android:layout_marginLeft="12dp"
+                        android:text="*"
+                        android:textColor="#FF1D1D"
+                        android:textSize="14sp" />
+
+                    <TextView
+                        android:id="@+id/tv_fk"
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_centerVertical="true"
+                        android:layout_toRightOf="@id/tv_bt"
+                        android:text="反馈结果"
+                        android:textColor="#666"
+                        android:textSize="14sp" />
+
+                    <RadioGroup
+                        android:id="@+id/rg_fk"
+                        android:layout_width="match_parent"
+                        android:layout_height="match_parent"
+                        android:layout_toRightOf="@id/tv_fk"
+                        android:gravity="center_vertical"
+                        android:orientation="horizontal">
+
+                        <RadioButton
+                            android:id="@+id/rg_wbp"
+                            android:layout_width="wrap_content"
+                            android:layout_height="40dp"
+                            android:layout_marginLeft="12dp"
+                            android:button="@drawable/selector_radio"
+                            android:checked="true"
+                            android:paddingHorizontal="4dp"
+                            android:text="未被骗"
+                            android:textSize="14sp" />
+
+                        <RadioButton
+                            android:id="@+id/rg_ybp"
+                            android:layout_width="wrap_content"
+                            android:layout_height="40dp"
+                            android:layout_marginLeft="12dp"
+                            android:button="@drawable/selector_radio"
+                            android:paddingHorizontal="4dp"
+                            android:text="已被骗"
+                            android:textSize="14sp" />
+
+                        <RadioButton
+                            android:id="@+id/rg_wz"
+                            android:layout_width="wrap_content"
+                            android:layout_height="40dp"
+                            android:layout_marginLeft="12dp"
+                            android:button="@drawable/selector_radio"
+                            android:paddingHorizontal="4dp"
+                            android:text="未知"
+                            android:textSize="14sp" />
+                    </RadioGroup>
+
+
+                </RelativeLayout>
+
+                <View
+                    android:layout_width="match_parent"
+                    android:layout_height="1dp"
+                    android:layout_marginLeft="12dp"
+                    android:layout_marginRight="12dp"
+                    android:background="#E7E7E7" />
+
+                <RelativeLayout
+                    android:layout_width="match_parent"
+                    android:layout_height="50dp">
+
+                    <RelativeLayout
+                        android:id="@+id/rl_xtzs"
+                        android:layout_width="wrap_content"
+                        android:layout_height="match_parent"
+                        android:layout_centerInParent="true"
+                        android:layout_marginLeft="5dp"
+                        android:layout_marginRight="12dp">
+
+                        <TextView
+                            android:id="@+id/tv_xtts"
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_centerVertical="true"
+                            android:layout_marginLeft="12dp"
+                            android:text="更多反馈资料(选填)"
+                            android:textColor="#666"
+                            android:textSize="14sp" />
+
+                        <ImageView
+                            android:layout_width="16dp"
+                            android:layout_height="16dp"
+                            android:layout_centerVertical="true"
+                            android:layout_toRightOf="@id/tv_xtts"
+                            android:src="@drawable/btn_unfold_gray" />
+                    </RelativeLayout>
+                </RelativeLayout>
+            </LinearLayout>
+
+            <LinearLayout
+                android:layout_width="match_parent"
+                android:layout_height="154dp"
+                android:layout_marginLeft="16dp"
+                android:layout_marginTop="12dp"
+                android:layout_marginRight="16dp"
+                android:background="@drawable/white_shape"
+                android:orientation="vertical">
+
+                <RelativeLayout
+                    android:layout_width="match_parent"
+                    android:layout_height="54dp">
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_centerVertical="true"
+                        android:layout_marginLeft="12dp"
+                        android:text="需上门预警"
+                        android:textColor="#111111"
+                        android:textSize="16sp" />
+                </RelativeLayout>
+
+                <View
+                    android:layout_width="match_parent"
+                    android:layout_height="1dp"
+                    android:layout_marginLeft="12dp"
+                    android:layout_marginRight="12dp"
+                    android:background="#E7E7E7" />
+
+                <RelativeLayout
+                    android:layout_width="match_parent"
+                    android:layout_height="50dp">
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_centerVertical="true"
+                        android:layout_marginLeft="12dp"
+                        android:text="归属单位"
+                        android:textColor="#666"
+                        android:textSize="14sp" />
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_alignParentRight="true"
+                        android:layout_centerVertical="true"
+                        android:layout_marginRight="26dp"
+                        android:text="长春市南关分局红旗街派出所"
+                        android:textColor="#666"
+                        android:textSize="14sp" />
+                </RelativeLayout>
+
+                <View
+                    android:layout_width="match_parent"
+                    android:layout_height="1dp"
+                    android:layout_marginLeft="12dp"
+                    android:layout_marginRight="12dp"
+                    android:background="#E7E7E7" />
+
+                <RelativeLayout
+                    android:layout_width="match_parent"
+                    android:layout_height="50dp">
+
+                    <TextView
+                        android:id="@+id/tv"
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_centerVertical="true"
+                        android:layout_marginLeft="12dp"
+                        android:text="上门民警"
+                        android:textColor="#666"
+                        android:textSize="14sp" />
+
+                    <RelativeLayout
+                        android:layout_width="wrap_content"
+                        android:layout_height="match_parent"
+                        android:layout_alignParentRight="true"
+                        android:layout_marginLeft="5dp"
+                        android:layout_marginRight="12dp">
+
+                        <TextView
+                            android:id="@+id/tv_mj"
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_centerVertical="true"
+                            android:layout_marginLeft="12dp"
+                            android:text="请选择上门民警"
+                            android:textColor="#666"
+                            android:textSize="14sp" />
+
+                        <ImageView
+                            android:layout_width="15dp"
+                            android:layout_height="15dp"
+                            android:layout_centerVertical="true"
+                            android:layout_toRightOf="@id/tv_mj"
+                            android:src="@mipmap/btn_next_gray" />
+                    </RelativeLayout>
+                </RelativeLayout>
+            </LinearLayout>
+        </LinearLayout>
+    </ScrollView>
+
+</LinearLayout>

+ 0 - 1
app/src/main/res/layout/fragment_grzx.xml

@@ -371,7 +371,6 @@
                         android:layout_height="24dp"
                         android:layout_gravity="center_horizontal"
                         android:src="@mipmap/icon_my_about" />
-
                     <TextView
                         android:layout_width="wrap_content"
                         android:layout_height="wrap_content"

TEMPAT SAMPAH
app/src/main/res/mipmap-hdpi/icon_radio_color.png


TEMPAT SAMPAH
app/src/main/res/mipmap-hdpi/icon_radio_gray.png


TEMPAT SAMPAH
app/src/main/res/mipmap-mdpi/icon_radio_color.png


TEMPAT SAMPAH
app/src/main/res/mipmap-mdpi/icon_radio_gray.png


TEMPAT SAMPAH
app/src/main/res/mipmap-xhdpi/icon_radio_color.png


TEMPAT SAMPAH
app/src/main/res/mipmap-xhdpi/icon_radio_gray.png


TEMPAT SAMPAH
app/src/main/res/mipmap-xxhdpi/icon_radio_color.png


TEMPAT SAMPAH
app/src/main/res/mipmap-xxhdpi/icon_radio_gray.png


TEMPAT SAMPAH
app/src/main/res/mipmap-xxxhdpi/icon_radio_color.png


TEMPAT SAMPAH
app/src/main/res/mipmap-xxxhdpi/icon_radio_gray.png


TEMPAT SAMPAH
app/src/main/res/mipmap-xxxhdpi/left_jt.png


+ 5 - 0
app/src/main/res/values/styles.xml

@@ -26,4 +26,9 @@
         <attr name="borderWidth" format="dimension"/>
 
     </declare-styleable>
+
+    <!-- CustomRadiotheme -->
+    <style name="CustomRadioTheme" parent="@android:style/Widget.CompoundButton.CheckBox">
+        <item name="android:button">@drawable/selector_radio</item>
+    </style>
 </resources>