Merge pull request #2061 from nEdAy/feature/add-highlight-focus-item-on-tv
新增 高亮焦点 为 Android TV 模式(首页- 书架/发现/订阅/我的);pull/2063/head
commit
7c93e8bfc1
@ -0,0 +1,4 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
<item android:drawable="@color/btn_bg_press" android:state_focused="true" /> |
||||
</selector> |
@ -1,4 +1,5 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
<item android:state_pressed="true" android:drawable="@color/btn_bg_press" /> |
||||
<item android:drawable="@color/btn_bg_press" android:state_focused="true" /> |
||||
<item android:drawable="@color/btn_bg_press" android:state_pressed="true" /> |
||||
</selector> |
Loading…
Reference in new issue