Last active
August 29, 2015 14:04
-
-
Save ryokosuge/fbc2895c71a2c387866f to your computer and use it in GitHub Desktop.
【Android】 ActionBarのTabBarのTextの色を変更する rel : http://blog.ryochin.xyz/archives/87
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- res/color/action_bar_tab_text.xml --> | |
<?xml version="1.0" encoding="utf-8"?> | |
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | |
<!-- 現在選択されている --> | |
<item android:color="@color/action_bar_tab_selected_color" android:state_selected="true" /> | |
<item android:color="@color/action_bar_tab_selected_color" android:state_focused="true" /> | |
<item android:color="@color/action_bar_tab_selected_color" android:state_active="true" /> | |
<item android:color="@color/action_bar_tab_selected_color" android:state_pressed="true" /> | |
<!-- 選択されていない --> | |
<item android:color="@color/action_bar_tab_un_selected_color" android:state_selected="false" /> | |
<item android:color="@color/action_bar_tab_un_selected_color" android:state_active="false" /> | |
<item android:color="@color/action_bar_tab_un_selected_color" android:state_focused="false" /> | |
<item android:color="@color/action_bar_tab_un_selected_color" android:state_pressed="false" /> | |
</selector> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment