|
@@ -40,11 +40,23 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="25dp" />
|
|
|
|
|
|
+ <androidx.core.widget.NestedScrollView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_below="@id/title_bar"
|
|
|
+ android:focusableInTouchMode="false"
|
|
|
+ android:focusable="true"
|
|
|
+ android:layout_above="@id/rl_back"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <include layout="@layout/layout_rwfx"/>
|
|
|
+
|
|
|
+ </androidx.core.widget.NestedScrollView>
|
|
|
+
|
|
|
<RelativeLayout
|
|
|
android:id="@+id/rl_back"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="70dp"
|
|
|
- android:background="#E8C591"
|
|
|
+ android:background="@drawable/bj_btn_home"
|
|
|
android:layout_alignParentBottom="true">
|
|
|
|
|
|
<TextView
|
|
@@ -64,232 +76,319 @@
|
|
|
android:layout_height="wrap_content" />
|
|
|
</com.scwang.smart.refresh.header.TwoLevelHeader>
|
|
|
|
|
|
- <ScrollView
|
|
|
- android:id="@+id/scrollView"
|
|
|
+
|
|
|
+ <androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:background="#fff"
|
|
|
- android:fillViewport="true"
|
|
|
- android:overScrollMode="never"
|
|
|
- >
|
|
|
- <FrameLayout
|
|
|
+ android:id="@+id/layout_rwzx"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+ <com.google.android.material.appbar.AppBarLayout
|
|
|
+ android:id="@+id/layout_app_bar"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:background="@drawable/bg_rwzx"
|
|
|
- android:layout_height="480dp"/>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="#F5F5F7"
|
|
|
+ app:elevation="0dp"
|
|
|
+ app:layout_behavior=".app.view.AppBarLayoutBehavior"
|
|
|
+ >
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <com.google.android.material.appbar.CollapsingToolbarLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:orientation="vertical"
|
|
|
- android:layout_height="match_parent">
|
|
|
+ app:expandedTitleMarginEnd="60dp"
|
|
|
+ app:contentScrim="#FF0000"
|
|
|
+ app:layout_scrollFlags="scroll|exitUntilCollapsed"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
- <RelativeLayout
|
|
|
+ <View
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_marginTop="48dp"
|
|
|
- android:layout_marginLeft="16dp"
|
|
|
- android:layout_marginRight="16dp"
|
|
|
- android:background="@drawable/bg_rwzx_search"
|
|
|
- android:layout_height="36dp">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:layout_width="16dp"
|
|
|
- android:layout_marginLeft="12dp"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:background="@drawable/icon_rwzx_search"
|
|
|
- android:layout_height="16sp"/>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:id="@+id/rwzx_tv_search"
|
|
|
- android:text="请输入信息查询"
|
|
|
- android:paddingLeft="36dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:textColor="#ff999999"
|
|
|
- android:textSize="13sp"
|
|
|
- />
|
|
|
-
|
|
|
- </RelativeLayout>
|
|
|
+ app:layout_collapseMode="parallax"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ android:background="@drawable/bg_rwzx"
|
|
|
+ android:layout_height="480dp"/>
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:layout_marginTop="12dp"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
+ android:layout_marginTop="55dp"
|
|
|
+ android:layout_marginBottom="19dp"
|
|
|
+ app:layout_collapseParallaxMultiplier="0.5"
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:layout_marginLeft="6dp"
|
|
|
- android:layout_marginRight="6dp"
|
|
|
android:orientation="vertical"
|
|
|
- android:layout_height="122dp">
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:background="@drawable/bg_shape_white_corner8"
|
|
|
- android:layout_height="104dp">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:layout_width="53dp"
|
|
|
- android:id="@+id/rwzx_iv_task_1"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:layout_marginTop="11dp"
|
|
|
- android:layout_height="53dp"/>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/rwzx_tv_task_1"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:layout_below="@id/rwzx_iv_task_1"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="4dp"
|
|
|
- android:text="指令任务"
|
|
|
- android:textColor="#ff111111"
|
|
|
- android:textSize="14sp"
|
|
|
- />
|
|
|
-
|
|
|
-
|
|
|
- </RelativeLayout>
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/rwzx_iv_triangle_1"
|
|
|
- android:layout_width="44dp"
|
|
|
- android:layout_gravity="center_horizontal"
|
|
|
- android:layout_marginTop="8dp"
|
|
|
- android:background="@drawable/pic_triangle"
|
|
|
- android:layout_height="13dp"/>
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
+ android:id="@+id/rwzx_appbar"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:layout_marginLeft="6dp"
|
|
|
- android:layout_marginRight="6dp"
|
|
|
- android:orientation="vertical"
|
|
|
- android:layout_height="122dp">
|
|
|
+ android:background="@color/transparent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
<RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:background="@drawable/bg_shape_white_corner8"
|
|
|
- android:layout_height="104dp">
|
|
|
+ android:layout_marginTop="48dp"
|
|
|
+ android:layout_marginLeft="16dp"
|
|
|
+ android:focusable="true"
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ app:layout_scrollFlags="scroll|enterAlways"
|
|
|
+ android:layout_marginRight="16dp"
|
|
|
+ android:background="@drawable/bg_rwzx_search"
|
|
|
+ android:layout_height="36dp">
|
|
|
|
|
|
<ImageView
|
|
|
- android:layout_width="53dp"
|
|
|
- android:id="@+id/rwzx_iv_task_2"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:layout_marginTop="11dp"
|
|
|
- android:layout_height="53dp"/>
|
|
|
+ android:layout_width="16dp"
|
|
|
+ android:layout_marginLeft="12dp"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:background="@drawable/icon_rwzx_search"
|
|
|
+ android:layout_height="16sp"/>
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/rwzx_tv_task_2"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:layout_below="@id/rwzx_iv_task_2"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="4dp"
|
|
|
- android:text="规定任务"
|
|
|
- android:textColor="#ff666666"
|
|
|
- android:textSize="14sp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:id="@+id/rwzx_tv_search"
|
|
|
+ android:text="请输入信息查询"
|
|
|
+ android:paddingLeft="36dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:textColor="#ff999999"
|
|
|
+ android:textSize="13sp"
|
|
|
/>
|
|
|
|
|
|
-
|
|
|
</RelativeLayout>
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/rwzx_iv_triangle_2"
|
|
|
- android:layout_width="44dp"
|
|
|
- android:layout_gravity="center_horizontal"
|
|
|
- android:layout_marginTop="8dp"
|
|
|
- android:background="@drawable/pic_triangle"
|
|
|
- android:layout_height="13dp"/>
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:layout_marginLeft="6dp"
|
|
|
- android:layout_marginRight="6dp"
|
|
|
- android:orientation="vertical"
|
|
|
- android:layout_height="122dp">
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:background="@drawable/bg_shape_white_corner8"
|
|
|
- android:layout_height="104dp">
|
|
|
+ android:overScrollMode="never"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_marginLeft="6dp"
|
|
|
+ android:layout_marginRight="6dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_height="122dp">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:id="@+id/rwzx_layout_task_1"
|
|
|
+ android:background="@drawable/bg_shape_white_corner8"
|
|
|
+ android:layout_height="104dp">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="53dp"
|
|
|
+ android:id="@+id/rwzx_iv_task_1"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginTop="11dp"
|
|
|
+ android:layout_height="53dp"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_marginLeft="60dp"
|
|
|
+ android:text="9"
|
|
|
+ android:textColor="#ffffffff"
|
|
|
+ android:id="@+id/rwzx_tv_task_num_1"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:background="@drawable/bg_red"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/rwzx_tv_task_1"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_below="@id/rwzx_iv_task_1"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:text="指令任务"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textColor="#ff111111"
|
|
|
+ android:textSize="14sp"
|
|
|
+ />
|
|
|
+
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/rwzx_iv_triangle_1"
|
|
|
+ android:layout_width="44dp"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:background="@drawable/pic_triangle"
|
|
|
+ android:layout_height="13dp"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_marginLeft="6dp"
|
|
|
+ android:layout_marginRight="6dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_height="122dp">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:id="@+id/rwzx_layout_task_2"
|
|
|
+ android:background="@drawable/bg_shape_white_corner8"
|
|
|
+ android:layout_height="104dp">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="53dp"
|
|
|
+ android:id="@+id/rwzx_iv_task_2"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginTop="11dp"
|
|
|
+ android:layout_height="53dp"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_marginLeft="60dp"
|
|
|
+ android:text="9"
|
|
|
+ android:textColor="#ffffffff"
|
|
|
+ android:id="@+id/rwzx_tv_task_num_2"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:background="@drawable/bg_red"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/rwzx_tv_task_2"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_below="@id/rwzx_iv_task_2"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:text="规定任务"
|
|
|
+ android:textColor="#ff666666"
|
|
|
+ android:textSize="14sp"
|
|
|
+ />
|
|
|
+
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/rwzx_iv_triangle_2"
|
|
|
+ android:layout_width="44dp"
|
|
|
+ android:visibility="gone"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:background="@drawable/pic_triangle"
|
|
|
+ android:layout_height="13dp"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_marginLeft="6dp"
|
|
|
+ android:layout_marginRight="6dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_height="122dp">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:id="@+id/rwzx_layout_task_3"
|
|
|
+ android:background="@drawable/bg_shape_white_corner8"
|
|
|
+ android:layout_height="104dp">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="53dp"
|
|
|
+ android:id="@+id/rwzx_iv_task_3"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginTop="11dp"
|
|
|
+ android:layout_height="53dp"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_marginLeft="60dp"
|
|
|
+ android:text="99+"
|
|
|
+ android:textColor="#ffffffff"
|
|
|
+ android:id="@+id/rwzx_tv_task_num_3"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:background="@drawable/bg_red"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/rwzx_tv_task_3"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_below="@id/rwzx_iv_task_3"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:text="推送任务"
|
|
|
+ android:textColor="#666666"
|
|
|
+ android:textSize="14sp"
|
|
|
+ />
|
|
|
+
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/rwzx_iv_triangle_3"
|
|
|
+ android:layout_width="44dp"
|
|
|
+ android:visibility="gone"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:background="@drawable/pic_triangle"
|
|
|
+ android:layout_height="13dp"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <ImageView
|
|
|
- android:layout_width="53dp"
|
|
|
- android:id="@+id/rwzx_iv_task_3"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:layout_marginTop="11dp"
|
|
|
- android:layout_height="53dp"/>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/rwzx_tv_task_3"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:layout_below="@id/rwzx_iv_task_3"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="4dp"
|
|
|
- android:text="推送任务"
|
|
|
- android:textColor="#666666"
|
|
|
- android:textSize="14sp"
|
|
|
- />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
- </RelativeLayout>
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/rwzx_iv_triangle_3"
|
|
|
- android:layout_width="44dp"
|
|
|
- android:layout_gravity="center_horizontal"
|
|
|
- android:layout_marginTop="8dp"
|
|
|
- android:background="@drawable/pic_triangle"
|
|
|
- android:layout_height="13dp"/>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
+ </com.google.android.material.appbar.CollapsingToolbarLayout>
|
|
|
|
|
|
+ <androidx.core.widget.NestedScrollView
|
|
|
+ android:id="@+id/nestedScrollView"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="#FFFFFFFF"
|
|
|
+ android:fillViewport="true"
|
|
|
+ app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:orientation="vertical"
|
|
|
+ android:id="@+id/rwzx_container"
|
|
|
android:background="@drawable/bg_shape_f8f8f8_corner12"
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
- <com.google.android.material.tabs.TabLayout
|
|
|
- android:id="@+id/rwzx_tab"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="40dp"
|
|
|
- android:layout_below="@id/title_bar"
|
|
|
- android:paddingLeft="8dp"
|
|
|
- android:paddingRight="8dp"
|
|
|
- app:tabIndicatorHeight="0dp"
|
|
|
- app:tabMode="fixed"
|
|
|
- app:tabSelectedTextColor="@color/blue"
|
|
|
- app:tabTextColor="#666666" />
|
|
|
-
|
|
|
- <androidx.viewpager2.widget.ViewPager2
|
|
|
- android:id="@+id/rwzx_vp"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"/>
|
|
|
+
|
|
|
|
|
|
</LinearLayout>
|
|
|
+ </androidx.core.widget.NestedScrollView>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ </com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
|
- </FrameLayout>
|
|
|
+ </androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
|
|
|
|
- </ScrollView>
|
|
|
|
|
|
<com.scwang.smart.refresh.header.ClassicsHeader
|
|
|
android:layout_width="match_parent"
|