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.
42 lines
1.5 KiB
42 lines
1.5 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<com.fongmi.android.tv.ui.custom.CustomLeftRightLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="56dp"
|
|
android:background="@drawable/selector_channel"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:paddingStart="20dp"
|
|
android:paddingEnd="20dp">
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/number"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="12dp"
|
|
android:duplicateParentState="true"
|
|
android:textColor="@color/channel"
|
|
android:textSize="16sp"
|
|
tools:text="01" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/logo"
|
|
android:layout_width="48dp"
|
|
android:layout_height="36dp"
|
|
android:layout_marginEnd="12dp"
|
|
android:visibility="gone" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:duplicateParentState="true"
|
|
android:ellipsize="marquee"
|
|
android:singleLine="true"
|
|
android:textColor="@color/channel"
|
|
android:textSize="16sp"
|
|
tools:text="CNN" />
|
|
|
|
</com.fongmi.android.tv.ui.custom.CustomLeftRightLayout> |