Skip to content

Commit

Permalink
Merge pull request CatVodTVOfficial#63 from ixiumu/dev
Browse files Browse the repository at this point in the history
fix live layout
  • Loading branch information
Scut-Demo authored Jun 26, 2022
2 parents 095fb71 + 50b64ed commit fd7be81
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions app/src/main/res/drawable/live_focus.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true">
<shape>
<stroke android:width="2mm" android:color="@android:color/white" />
<solid android:color="@android:color/transparent" />
<solid android:color="@color/color_99000000" />
</shape>
</item>
<item android:state_focused="false">
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/item_channel_group_layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
android:layout_height="wrap_content"
android:layout_marginTop="10mm"
android:layout_marginBottom="10mm"
android:background="@drawable/live_focus"
android:focusable="true"
android:focusableInTouchMode="true"
android:focusableInTouchMode="false"
android:orientation="horizontal">

<TextView
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/item_live_channel_layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
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="true"
android:focusableInTouchMode="false"
android:orientation="horizontal">

<TextView
Expand Down

0 comments on commit fd7be81

Please sign in to comment.