Переглянути джерело

反馈页面布局颜色调整UI联动

yanglei 5 місяців тому
батько
коміт
07b8adbc4b

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

@@ -164,6 +164,8 @@ public class FzQzFkActivity extends ZkjcBaseActivity<FzQzFkPresenter> implements
                 rgWdhlx.setVisibility(View.VISIBLE);
                 rgYdhlx.setVisibility(View.GONE);
                 llYjdh.setVisibility(View.GONE);
+                viewWdhlx.setVisibility(View.VISIBLE);
+                viewYdhlx.setVisibility(View.GONE);
                 break;
             case R.id.rl_ydhlx:
                 rlYdhlx.setBackground(getDrawable(R.drawable.shape_select));
@@ -171,6 +173,8 @@ public class FzQzFkActivity extends ZkjcBaseActivity<FzQzFkPresenter> implements
                 rgYdhlx.setVisibility(View.VISIBLE);
                 rgWdhlx.setVisibility(View.GONE);
                 llYjdh.setVisibility(View.VISIBLE);
+                viewWdhlx.setVisibility(View.GONE);
+                viewYdhlx.setVisibility(View.VISIBLE);
                 break;
         }
     }

+ 1 - 1
app/src/main/res/drawable/shape_gray.xml

@@ -2,6 +2,6 @@
 <shape xmlns:android="http://schemas.android.com/apk/res/android"
     android:shape="rectangle">
     <corners android:radius="8dp" />
-    <solid android:color="#99C6C4C4" />
+    <solid android:color="#f0f0f0" />
 
 </shape>

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

@@ -29,6 +29,7 @@
     </RelativeLayout>
 
     <ScrollView
+        android:layout_marginTop="12dp"
         android:layout_width="match_parent"
         android:layout_height="match_parent">