<selector xmlns:android="http://schemas.android.com/apk/res/android"
android:exitFadeDuration="@android:integer/config_mediumAnimTime">
+ <!-- Non focused states -->
+ <item android:state_focused="false" android:state_selected="false" android:state_pressed="false" android:drawable="@android:color/transparent" />
+ <item android:state_focused="false" android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/photoeditor_tab_selected_holo" />
- <item android:state_selected="true" android:drawable="@drawable/photoeditor_toggle_button_highlight" />
- <item android:state_pressed="true" android:drawable="@drawable/photoeditor_toggle_button_highlight" />
- <item android:drawable="@android:color/transparent" />
+ <!-- Focused states -->
+ <item android:state_focused="true" android:state_selected="false" android:state_pressed="false" android:drawable="@drawable/photoeditor_tab_unselected_focused_holo" />
+ <item android:state_focused="true" android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/photoeditor_tab_selected_focused_holo" />
+ <!-- Pressed (non focused) -->
+ <item android:state_focused="false" android:state_selected="false" android:state_pressed="true" android:drawable="@drawable/photoeditor_tab_unselected_pressed_holo" />
+ <item android:state_focused="false" android:state_selected="true" android:state_pressed="true" android:drawable="@drawable/photoeditor_tab_selected_pressed_holo" />
+
+ <!-- Pressed (focused) -->
+ <item android:state_focused="true" android:state_selected="false" android:state_pressed="true" android:drawable="@drawable/photoeditor_tab_unselected_pressed_holo" />
+ <item android:state_focused="true" android:state_selected="true" android:state_pressed="true" android:drawable="@drawable/photoeditor_tab_selected_pressed_holo" />
</selector>