<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"
xmlns:app="http://schemas.android.com/apk/res-auto"
tools:context=".view.fragment.FytFragment"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="新片上线"
android:textSize="20sp"
android:layout_margin="10dp"
/>
<androidx.recyclerview.widget.RecyclerView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/recyclerView_jzvd"
/>
</LinearLayout>
<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"
tools:context=".view.fragment.TjFragment"
android:orientation="vertical">
<com.stx.xhb.androidx.XBanner
android:layout_width="match_parent"
android:layout_height="200dp"
android:id="@+id/xBanner_TJ"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="正在上映"
android:textSize="20sp"
android:layout_margin="10dp"
/>
<androidx.recyclerview.widget.RecyclerView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/recyclerView_ZZSY"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="精彩演出"
android:textSize="20sp"
android:layout_margin="10dp"
/>
<androidx.recyclerview.widget.RecyclerView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/recyclerView_JCYC"
/>
</LinearLayout>
item
放映厅item
<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:orientation="vertical">
<com.facebook.drawee.view.SimpleDraweeView
android:layout_width="match_parent"
android:layout_height="300dp"
app:placeholderImage="@mipmap/ic_launcher"
app:failureImage="@mipmap/ic_launcher"
android:id="@+id/simpler_fyt"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
>
<LinearLayout
android:layout_width="0dp"
android:layout_weight="3"
android:layout_height="wrap_content"
android:orientation="vertical"
>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="影视名称"
android:id="@+id/textView_Name_Fyt"
android:gravity="center"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="评分"
android:id="@+id/textView_Pf_Fyt"
android:gravity="center"
android:textColor="#F8A706"
/>
</LinearLayout>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="在线看"
android:id="@+id/button_ZXK"
/>
</LinearLayout>
</LinearLayout>
正在上映item
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:gravity="center">
<com.facebook.drawee.view.SimpleDraweeView
android:layout_width="100dp"
android:layout_height="150dp"
app:placeholderImage="@mipmap/ic_launcher"
app:failureImage="@mipmap/ic_launcher"
android:id="@+id/simpler_ZZSY"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="影视名称"
android:id="@+id/textView_Name_ZZSY"
android:gravity="center"
/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="购票"
android:textSize="20sp"
android:textColor="#fff"
android:background="#f00"
android:id="@+id/button_GP"
/>
</LinearLayout>
精彩演出item
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:gravity="center">
<com.facebook.drawee.view.SimpleDraweeView
android:layout_width="100dp"
android:layout_height="150dp"
app:placeholderImage="@mipmap/ic_launcher"
app:failureImage="@mipmap/ic_launcher"
android:id="@+id/simpler_JCYC"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="影视名称"
android:id="@+id/textView_Name_JCYC"
android:gravity="center"
/>
</LinearLayout>
评论item
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="#C9F602"
>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="影视名称"
android:id="@+id/textView_Name_Pl"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="评论留言"
android:id="@+id/textView_Ly"
/>
<androidx.recyclerview.widget.RecyclerView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/recyclerView_Pl2"
android:layout_marginTop="10dp"
/>
</LinearLayout>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="#04C1F1">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/child_Name"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/child_content"
android:layout_marginLeft="20dp"
/>
</LinearLayout>