You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
FONGMITV/app/src/main/res/layout/activity_detail.xml

183 lines
6.3 KiB

<?xml version="1.0" encoding="utf-8"?>
<com.fongmi.bear.ui.custom.ProgressLayout 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/progressLayout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:id="@+id/frame"
android:layout_width="360dp"
android:layout_height="200dp"
android:layout_marginStart="24dp"
android:layout_marginTop="24dp"
android:layout_marginEnd="24dp"
android:layout_marginBottom="12dp"
android:focusable="true"
android:focusableInTouchMode="true">
<com.google.android.exoplayer2.ui.PlayerView
android:id="@+id/video"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:use_controller="false" />
<include
android:id="@+id/progress"
layout="@layout/view_progress"
android:visibility="gone" />
</FrameLayout>
<TextView
android:id="@+id/name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:layout_marginEnd="24dp"
android:layout_toEndOf="@+id/frame"
android:singleLine="true"
android:textColor="@color/white"
android:textSize="24sp"
android:textStyle="bold"
tools:text="慶餘年第二季" />
<LinearLayout
android:id="@+id/row"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/name"
android:layout_alignStart="@+id/name"
android:layout_marginEnd="24dp"
android:layout_toEndOf="@+id/frame"
android:orientation="horizontal">
<TextView
android:id="@+id/site"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginEnd="12dp"
android:singleLine="true"
android:textColor="@color/white"
android:textSize="16sp"
tools:text="站源:泥巴" />
<TextView
android:id="@+id/year"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginEnd="12dp"
android:singleLine="true"
android:textColor="@color/white"
android:textSize="16sp"
tools:text="年份:2022" />
<TextView
android:id="@+id/area"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginEnd="12dp"
android:singleLine="true"
android:textColor="@color/white"
android:textSize="16sp"
tools:text="地區:台灣" />
<TextView
android:id="@+id/type"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:singleLine="true"
android:textColor="@color/white"
android:textSize="16sp"
tools:text="類型:科幻" />
</LinearLayout>
<TextView
android:id="@+id/director"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/row"
android:layout_alignStart="@+id/name"
android:layout_marginTop="8dp"
android:layout_marginEnd="24dp"
android:layout_toEndOf="@+id/frame"
android:singleLine="true"
android:textColor="@color/white"
android:textSize="16sp"
tools:text="導演:FongMi" />
<TextView
android:id="@+id/actor"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/director"
android:layout_alignStart="@+id/name"
android:layout_marginTop="8dp"
android:layout_marginEnd="24dp"
android:layout_toEndOf="@+id/frame"
android:singleLine="true"
android:textColor="@color/white"
android:textSize="16sp"
tools:text="演員:FongMi" />
<TextView
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/actor"
android:layout_alignStart="@+id/name"
android:layout_marginTop="8dp"
android:layout_marginEnd="24dp"
android:layout_toEndOf="@+id/frame"
android:ellipsize="end"
android:lineSpacingExtra="4dp"
android:maxLines="3"
android:textColor="@color/white"
android:textSize="16sp"
tools:text="簡介:" />
<com.fongmi.bear.ui.custom.CustomHorizontalGridView
android:id="@+id/flag"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/frame"
android:clipChildren="false"
android:clipToPadding="false"
android:paddingStart="24dp"
android:paddingTop="12dp"
android:paddingEnd="24dp"
android:paddingBottom="8dp" />
<com.fongmi.bear.ui.custom.CustomHorizontalGridView
android:id="@+id/episode"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/flag"
android:clipChildren="false"
android:clipToPadding="false"
android:paddingStart="24dp"
android:paddingTop="8dp"
android:paddingEnd="24dp"
android:paddingBottom="8dp" />
<com.fongmi.bear.ui.custom.CustomHorizontalGridView
android:id="@+id/group"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/episode"
android:clipChildren="false"
android:clipToPadding="false"
android:paddingStart="24dp"
android:paddingTop="8dp"
android:paddingEnd="24dp"
android:paddingBottom="8dp"
android:visibility="gone"
tools:visibility="visible" />
</com.fongmi.bear.ui.custom.ProgressLayout>