if I had 2 drawables:
- btn_bar_bottom_normal
- btn_bar_bottom_focused_pressed
plugin would generate selector
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" item android:state_focused="true" android:drawable="@drawable/btn_bar_bottom_focused_pressed"/>
<item android:drawable="@drawable/btn_bar_bottom_normal"/>
</selector>
but that won't work since view isn't pressed and focused at the same time. Instead I would expect something like:
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/btn_bar_bottom_focused_pressed"/>
<item android:state_focused="true" android:drawable="@drawable/btn_bar_bottom_focused_pressed"/>
<item android:drawable="@drawable/btn_bar_bottom_normal"/>
</selector>
if I had 2 drawables:
plugin would generate selector
but that won't work since view isn't pressed and focused at the same time. Instead I would expect something like: