feat: 优化代码

pull/379/head
kunfei 5 years ago
parent d860028a00
commit d7e4debe61
  1. 4
      app/src/main/res/drawable/ic_bottom_books.xml
  2. 4
      app/src/main/res/drawable/ic_bottom_explore_black.xml
  3. 4
      app/src/main/res/drawable/ic_bottom_person.xml
  4. 4
      app/src/main/res/drawable/ic_bottom_rss_feed.xml

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/ic_bottom_books_e" android:state_checked="false"></item>
<item android:drawable="@drawable/ic_bottom_books_s" android:state_checked="true"></item>
<item android:drawable="@drawable/ic_bottom_books_e" android:state_checked="false" />
<item android:drawable="@drawable/ic_bottom_books_s" android:state_checked="true" />
</selector>

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/ic_bottom_explore_black_e" android:state_checked="false"></item>
<item android:drawable="@drawable/ic_bottom_explore_black_s" android:state_checked="true"></item>
<item android:drawable="@drawable/ic_bottom_explore_black_e" android:state_checked="false" />
<item android:drawable="@drawable/ic_bottom_explore_black_s" android:state_checked="true" />
</selector>

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/ic_bottom_person_e" android:state_checked="false"></item>
<item android:drawable="@drawable/ic_bottom_person_s" android:state_checked="true"></item>
<item android:drawable="@drawable/ic_bottom_person_e" android:state_checked="false" />
<item android:drawable="@drawable/ic_bottom_person_s" android:state_checked="true" />
</selector>

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/ic_bottom_rss_feed_e" android:state_checked="false"></item>
<item android:drawable="@drawable/ic_bottom_rss_feed_s" android:state_checked="true"></item>
<item android:drawable="@drawable/ic_bottom_rss_feed_e" android:state_checked="false" />
<item android:drawable="@drawable/ic_bottom_rss_feed_s" android:state_checked="true" />
</selector>
Loading…
Cancel
Save