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.
 
 
 
 
 
JY-TVBoxOS/app/src/main/res/layout/item_live_channel_layout.xml

36 lines
1.2 KiB

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10mm"
android:layout_marginBottom="10mm"
android:background="@drawable/live_focus"
android:layout_marginLeft="10mm"
android:layout_marginRight="10mm"
android:focusable="true"
android:focusableInTouchMode="false"
android:orientation="horizontal">
<TextView
android:id="@+id/tvChannelNum"
android:layout_width="60mm"
android:layout_height="50mm"
android:ellipsize="marquee"
android:gravity="center"
android:marqueeRepeatLimit="marquee_forever"
android:singleLine="true"
android:textColor="@android:color/white"
android:textSize="22mm" />
<TextView
android:id="@+id/tvChannel"
android:layout_width="0mm"
android:layout_height="60mm"
android:layout_weight="1"
android:ellipsize="marquee"
android:gravity="left"
android:marqueeRepeatLimit="marquee_forever"
android:singleLine="true"
android:textColor="@android:color/white"
android:textSize="22mm" />
</LinearLayout>