Nebuluxe/app/src/main/res/layout/item_genres.xml
2025-09-24 18:25:12 +08:00

87 lines
3.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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:id="@+id/rl"
android:layout_width="match_parent"
android:layout_height="@dimen/padding_263px"
android:layout_marginTop="@dimen/padding_n_120px"
android:background="@drawable/iv_genres_1">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:weightSum="20">
<View
android:layout_width="0px"
android:layout_height="match_parent"
android:layout_weight="1" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="18"
android:orientation="vertical">
<View
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="1" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tv_type"
android:layout_width="wrap_content"
android:layout_gravity="center_vertical"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/padding_18px"
android:textColor="#0F0F0F"
android:textSize="@dimen/text_size_15px"
tools:text="CEO" />
<View
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="1" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tv_num"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_marginEnd="@dimen/padding_21px"
android:textColor="#0F0F0F"
android:textSize="@dimen/text_size_12px"
tools:text="43\nDramas" />
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_genres_item"
android:layout_width="match_parent"
android:layout_height="@dimen/padding_140px"
android:layout_below="@id/tv_type"
android:layout_alignParentBottom="true"
android:layout_marginLeft="@dimen/padding_10px"
android:layout_marginTop="@dimen/padding_10px"
android:layout_marginRight="@dimen/padding_10px"
android:layout_marginBottom="@dimen/padding_20px"
android:background="@drawable/bg_genres"
android:paddingLeft="@dimen/padding_7px"
android:paddingRight="@dimen/padding_10px"
tools:itemCount="1"
tools:listitem="@layout/item_genres_img" />
</LinearLayout>
<View
android:layout_width="0px"
android:layout_height="match_parent"
android:layout_weight="1" />
</LinearLayout>
</FrameLayout>