mirror of https://github.com/FongMi/TV.git
parent
0fb8106ebf
commit
e8fb13a9eb
@ -1,4 +1,4 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
<item android:drawable="@drawable/shape_live_group" android:state_selected="true" /> |
||||
<item android:drawable="@drawable/shape_channel" android:state_selected="true" /> |
||||
</selector> |
||||
@ -1,4 +1,4 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
<item android:drawable="@drawable/shape_live_channel" android:state_selected="true" /> |
||||
<item android:drawable="@drawable/shape_group" android:state_selected="true" /> |
||||
</selector> |
||||
@ -0,0 +1,15 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:tools="http://schemas.android.com/tools" |
||||
android:id="@+id/text" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:background="@drawable/selector_item" |
||||
android:focusable="true" |
||||
android:focusableInTouchMode="true" |
||||
android:gravity="center" |
||||
android:nextFocusUp="@id/episode" |
||||
android:nextFocusDown="@id/part" |
||||
android:textColor="@color/white" |
||||
android:textSize="16sp" |
||||
tools:text="11" /> |
||||
@ -1,15 +1,33 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android" |
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:tools="http://schemas.android.com/tools" |
||||
android:id="@+id/text" |
||||
android:layout_width="wrap_content" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
android:background="@drawable/selector_item" |
||||
android:background="@drawable/selector_group" |
||||
android:focusable="true" |
||||
android:focusableInTouchMode="true" |
||||
android:gravity="center" |
||||
android:nextFocusUp="@id/episode" |
||||
android:nextFocusDown="@id/part" |
||||
android:textColor="@color/white" |
||||
android:textSize="16sp" |
||||
tools:text="11" /> |
||||
android:gravity="center_vertical" |
||||
android:orientation="horizontal" |
||||
android:paddingStart="20dp" |
||||
android:paddingTop="12dp" |
||||
android:paddingEnd="20dp" |
||||
android:paddingBottom="12dp"> |
||||
|
||||
<ImageView |
||||
android:id="@+id/icon" |
||||
android:layout_width="36dp" |
||||
android:layout_height="36dp" |
||||
android:layout_marginEnd="12dp" |
||||
android:scaleType="fitCenter" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/name" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:letterSpacing="0.05" |
||||
android:singleLine="true" |
||||
android:textColor="@color/white" |
||||
android:textSize="16sp" |
||||
android:textStyle="bold" |
||||
tools:text="收藏" /> |
||||
|
||||
</LinearLayout> |
||||
@ -1,33 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:tools="http://schemas.android.com/tools" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
android:background="@drawable/selector_live_group" |
||||
android:focusable="true" |
||||
android:gravity="center_vertical" |
||||
android:orientation="horizontal" |
||||
android:paddingStart="20dp" |
||||
android:paddingTop="12dp" |
||||
android:paddingEnd="20dp" |
||||
android:paddingBottom="12dp"> |
||||
|
||||
<ImageView |
||||
android:id="@+id/icon" |
||||
android:layout_width="36dp" |
||||
android:layout_height="36dp" |
||||
android:layout_marginEnd="12dp" |
||||
android:scaleType="fitCenter" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/name" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:letterSpacing="0.05" |
||||
android:singleLine="true" |
||||
android:textColor="@color/white" |
||||
android:textSize="16sp" |
||||
android:textStyle="bold" |
||||
tools:text="收藏" /> |
||||
|
||||
</LinearLayout> |
||||
Loading…
Reference in new issue