theming for tabs in start conversation
BIN
res/drawable-hdpi/tab_selected_conversations.9.png
Normal file
After Width: | Height: | Size: 99 B |
BIN
res/drawable-hdpi/tab_selected_focused_conversations.9.png
Normal file
After Width: | Height: | Size: 99 B |
BIN
res/drawable-hdpi/tab_selected_pressed_conversations.9.png
Normal file
After Width: | Height: | Size: 105 B |
BIN
res/drawable-hdpi/tab_unselected_conversations.9.png
Normal file
After Width: | Height: | Size: 101 B |
BIN
res/drawable-hdpi/tab_unselected_focused_conversations.9.png
Normal file
After Width: | Height: | Size: 93 B |
BIN
res/drawable-hdpi/tab_unselected_pressed_conversations.9.png
Normal file
After Width: | Height: | Size: 100 B |
BIN
res/drawable-mdpi/tab_selected_conversations.9.png
Normal file
After Width: | Height: | Size: 96 B |
BIN
res/drawable-mdpi/tab_selected_focused_conversations.9.png
Normal file
After Width: | Height: | Size: 96 B |
BIN
res/drawable-mdpi/tab_selected_pressed_conversations.9.png
Normal file
After Width: | Height: | Size: 102 B |
BIN
res/drawable-mdpi/tab_unselected_conversations.9.png
Normal file
After Width: | Height: | Size: 105 B |
BIN
res/drawable-mdpi/tab_unselected_focused_conversations.9.png
Normal file
After Width: | Height: | Size: 90 B |
BIN
res/drawable-mdpi/tab_unselected_pressed_conversations.9.png
Normal file
After Width: | Height: | Size: 97 B |
BIN
res/drawable-xhdpi/tab_selected_conversations.9.png
Normal file
After Width: | Height: | Size: 104 B |
BIN
res/drawable-xhdpi/tab_selected_focused_conversations.9.png
Normal file
After Width: | Height: | Size: 103 B |
BIN
res/drawable-xhdpi/tab_selected_pressed_conversations.9.png
Normal file
After Width: | Height: | Size: 110 B |
BIN
res/drawable-xhdpi/tab_unselected_conversations.9.png
Normal file
After Width: | Height: | Size: 112 B |
BIN
res/drawable-xhdpi/tab_unselected_focused_conversations.9.png
Normal file
After Width: | Height: | Size: 93 B |
BIN
res/drawable-xhdpi/tab_unselected_pressed_conversations.9.png
Normal file
After Width: | Height: | Size: 101 B |
BIN
res/drawable-xxhdpi/tab_selected_conversations.9.png
Normal file
After Width: | Height: | Size: 108 B |
BIN
res/drawable-xxhdpi/tab_selected_focused_conversations.9.png
Normal file
After Width: | Height: | Size: 108 B |
BIN
res/drawable-xxhdpi/tab_selected_pressed_conversations.9.png
Normal file
After Width: | Height: | Size: 114 B |
BIN
res/drawable-xxhdpi/tab_unselected_conversations.9.png
Normal file
After Width: | Height: | Size: 109 B |
BIN
res/drawable-xxhdpi/tab_unselected_focused_conversations.9.png
Normal file
After Width: | Height: | Size: 95 B |
BIN
res/drawable-xxhdpi/tab_unselected_pressed_conversations.9.png
Normal file
After Width: | Height: | Size: 102 B |
19
res/drawable/actionbar_tab_indicator.xml
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- 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/tab_selected_conversations" />
|
||||
|
||||
<!-- Focused states -->
|
||||
<item android:state_focused="true" android:state_selected="false" android:state_pressed="false" android:drawable="@drawable/tab_unselected_focused_conversations" />
|
||||
<item android:state_focused="true" android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/tab_selected_focused_conversations" />
|
||||
|
||||
<!-- Pressed -->
|
||||
<!-- Non focused states -->
|
||||
<item android:state_focused="false" android:state_selected="false" android:state_pressed="true" android:drawable="@drawable/tab_unselected_pressed_conversations" />
|
||||
<item android:state_focused="false" android:state_selected="true" android:state_pressed="true" android:drawable="@drawable/tab_selected_pressed_conversations" />
|
||||
|
||||
<!-- Focused states -->
|
||||
<item android:state_focused="true" android:state_selected="false" android:state_pressed="true" android:drawable="@drawable/tab_unselected_pressed_conversations" />
|
||||
<item android:state_focused="true" android:state_selected="true" android:state_pressed="true" android:drawable="@drawable/tab_selected_pressed_conversations" />
|
||||
</selector>
|
|
@ -1,23 +1,26 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="ConversationsTheme"
|
||||
parent="@android:style/Theme.Holo.Light.DarkActionBar">
|
||||
|
||||
<style name="ConversationsTheme" parent="@android:style/Theme.Holo.Light.DarkActionBar">
|
||||
<item name="android:actionBarStyle">@style/ConversationsActionBar</item>
|
||||
<item name="android:actionBarWidgetTheme">@style/ConversationsActionBarWidget</item>
|
||||
<item name="android:actionBarTabStyle">@style/ConversationsActionBarTabs</item>
|
||||
</style>
|
||||
|
||||
<style name="ConversationsActionBar"
|
||||
parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse">
|
||||
<style name="ConversationsActionBar" parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse">
|
||||
<item name="android:background">#259b24</item>
|
||||
<item name="android:backgroundStacked">#0a7e07</item>
|
||||
<item name="android:displayOptions">showHome|homeAsUp|showTitle</item>
|
||||
<item name="android:icon">@android:color/transparent</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="ConversationsActionBarWidget"
|
||||
parent="android:Theme.Holo.Light">
|
||||
<style name="ConversationsActionBarWidget" parent="android:Theme.Holo.Light">
|
||||
<item name="android:popupMenuStyle">@android:style/Widget.Holo.Light.PopupMenu</item>
|
||||
<item name="android:dropDownListViewStyle">@android:style/Widget.Holo.Light.ListView.DropDown</item>
|
||||
</style>
|
||||
</resources>
|
||||
</style>
|
||||
|
||||
<style name="ConversationsActionBarTabs" parent="@android:style/Widget.Holo.ActionBar.TabView">
|
||||
<item name="android:background">@drawable/actionbar_tab_indicator</item>
|
||||
</style>
|
||||
|
||||
</resources>
|