mirror of https://github.com/FongMi/TV.git
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.
217 lines
7.8 KiB
217 lines
7.8 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout 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"
|
|
android:background="@color/black_10">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/top"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="16dp"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:letterSpacing="0.02"
|
|
android:singleLine="true"
|
|
android:textColor="@color/white"
|
|
android:textSize="14sp"
|
|
tools:text="慶餘年第一季:第一集" />
|
|
|
|
<TextView
|
|
android:id="@+id/size"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@color/white"
|
|
android:textSize="12sp"
|
|
tools:text="1920 x 1080" />
|
|
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
android:id="@+id/keep"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:src="@drawable/ic_control_keep_off" />
|
|
|
|
<ImageView
|
|
android:id="@+id/share"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:src="@drawable/ic_control_share" />
|
|
|
|
<ImageView
|
|
android:id="@+id/setting"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:src="@drawable/ic_control_setting" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/center"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:gravity="center"
|
|
android:orientation="horizontal">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/prevRoot"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/shape_control"
|
|
android:visibility="gone"
|
|
tools:visibility="visible">
|
|
|
|
<ImageView
|
|
android:id="@+id/prev"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:src="@drawable/exo_icon_previous" />
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="48dp"
|
|
android:layout_marginEnd="48dp"
|
|
android:background="@drawable/shape_control">
|
|
|
|
<ImageView
|
|
android:id="@+id/play"
|
|
android:layout_width="44dp"
|
|
android:layout_height="44dp"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:src="@drawable/exo_icon_play" />
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/nextRoot"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/shape_control"
|
|
android:visibility="gone"
|
|
tools:visibility="visible">
|
|
|
|
<ImageView
|
|
android:id="@+id/next"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:src="@drawable/exo_icon_next" />
|
|
|
|
</FrameLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/right"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginEnd="24dp"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:id="@+id/back"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:padding="4dp"
|
|
android:src="@drawable/ic_control_back" />
|
|
|
|
<ImageView
|
|
android:id="@+id/lock"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginBottom="16dp"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:padding="4dp"
|
|
android:src="@drawable/ic_control_lock_off" />
|
|
|
|
<ImageView
|
|
android:id="@+id/rotate"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:padding="4dp"
|
|
android:src="@drawable/ic_control_rotate" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/bottom"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginBottom="8dp"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/parse"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="8dp"
|
|
android:clipChildren="false"
|
|
android:clipToPadding="false"
|
|
android:orientation="horizontal"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="16dp"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
tools:itemCount="1"
|
|
tools:listitem="@layout/adapter_parse" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="16dp">
|
|
|
|
<com.fongmi.android.tv.ui.custom.CustomSeekView
|
|
android:id="@+id/seek"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<ImageView
|
|
android:id="@+id/full"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="8dp"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:src="@drawable/ic_control_full" />
|
|
|
|
</LinearLayout>
|
|
|
|
<include
|
|
android:id="@+id/action"
|
|
layout="@layout/view_control_vod_action"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
</RelativeLayout> |