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.
75 lines
2.7 KiB
75 lines
2.7 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout 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:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:animateLayoutChanges="true"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingStart="24dp"
|
|
android:paddingTop="24dp"
|
|
android:paddingEnd="24dp"
|
|
android:paddingBottom="8dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/logo"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:layout_marginEnd="12dp"
|
|
android:visibility="gone"
|
|
tools:src="@drawable/ic_logo"
|
|
tools:visibility="visible" />
|
|
|
|
<com.fongmi.android.tv.ui.custom.CustomTitleView
|
|
android:id="@+id/site"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="12dp"
|
|
android:layout_weight="1"
|
|
android:ellipsize="marquee"
|
|
android:focusable="false"
|
|
android:nextFocusLeft="@id/site"
|
|
android:nextFocusRight="@id/site"
|
|
android:singleLine="true"
|
|
android:text="@string/app_name"
|
|
android:textColor="@color/white"
|
|
android:textSize="24sp"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:id="@+id/clock"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@color/white"
|
|
android:textSize="24sp"
|
|
tools:text="07/25 09:20:00" />
|
|
|
|
</LinearLayout>
|
|
|
|
<com.fongmi.android.tv.ui.custom.ProgressLayout
|
|
android:id="@+id/progressLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<androidx.leanback.widget.VerticalGridView
|
|
android:id="@+id/recycler"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clipChildren="false"
|
|
android:clipToPadding="false"
|
|
android:paddingStart="24dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingEnd="24dp"
|
|
android:paddingBottom="24dp"
|
|
app:focusOutEnd="true"
|
|
app:focusOutFront="true" />
|
|
|
|
</com.fongmi.android.tv.ui.custom.ProgressLayout>
|
|
</LinearLayout> |