241 lines
9.3 KiB
XML
241 lines
9.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/srl_main_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/white"
|
|
android:orientation="vertical"
|
|
tools:ignore="MissingDefaultResource">
|
|
|
|
<com.youth.banner.Banner
|
|
android:id="@+id/banner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="220dp" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rlv_main_func"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/white"
|
|
android:overScrollMode="never"
|
|
android:paddingTop="10dp"
|
|
android:paddingBottom="10dp"
|
|
tools:itemCount="4"
|
|
tools:layoutManager="LinearLayoutManager"
|
|
tools:listitem="@layout/item_main_func"
|
|
tools:orientation="horizontal" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_arrow_hint"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:src="@drawable/ic_arrow_gray_right" />
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="5dp"
|
|
android:background="@color/gray_line" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:background="@color/white"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_tab_icon_left" />
|
|
|
|
<com.sucstepsoft.cm_utils.core.widget.views.TypeFaceTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:gravity="center"
|
|
android:padding="8dp"
|
|
android:text="精彩推荐"
|
|
android:textColor="@color/app_title_9f_no"
|
|
android:textSize="16sp"
|
|
app:text_type_cus="1" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_right"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_tab_icon_right" />
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="@color/gray_line" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_commend_empty"
|
|
android:layout_width="60dp"
|
|
android:layout_height="60dp"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_margin="10dp"
|
|
android:background="@drawable/ic_empty_data"
|
|
android:visibility="gone" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rlv_commend"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:overScrollMode="never" />
|
|
</RelativeLayout>
|
|
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="2dp"
|
|
android:background="@color/gray_line" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_main_news"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_tab_icon_left" />
|
|
|
|
<com.sucstepsoft.cm_utils.core.widget.views.TypeFaceTextView
|
|
android:id="@+id/tv_main_news"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:padding="8dp"
|
|
android:text="文化动态"
|
|
android:textColor="@color/app_title_9f_no"
|
|
android:textSize="16sp"
|
|
app:text_type_cus="1" />
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_tab_icon_right" />
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="@color/gray_line" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rlv_main_news"
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
android:overScrollMode="never" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_news_empty"
|
|
android:layout_width="60dp"
|
|
android:layout_height="60dp"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_margin="10dp"
|
|
android:background="@drawable/ic_empty_data"
|
|
android:visibility="gone" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="2dp"
|
|
android:background="@color/gray_line" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_live"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_tab_icon_left" />
|
|
|
|
<com.sucstepsoft.cm_utils.core.widget.views.TypeFaceTextView
|
|
android:id="@+id/tv_live"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:padding="8dp"
|
|
android:text="直播专区"
|
|
android:textColor="@color/app_title_9f_no"
|
|
android:textSize="16sp"
|
|
app:text_type_cus="1" />
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_tab_icon_right" />
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="@color/gray_line" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rlv_lives"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:overScrollMode="never" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_live_empty"
|
|
android:layout_width="60dp"
|
|
android:layout_height="60dp"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_margin="10dp"
|
|
android:background="@drawable/ic_empty_data"
|
|
android:visibility="gone" />
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
|