theming for tabs in start conversation
After Width: | Height: | Size: 99 B |
After Width: | Height: | Size: 99 B |
After Width: | Height: | Size: 105 B |
After Width: | Height: | Size: 101 B |
After Width: | Height: | Size: 93 B |
After Width: | Height: | Size: 100 B |
After Width: | Height: | Size: 96 B |
After Width: | Height: | Size: 96 B |
After Width: | Height: | Size: 102 B |
After Width: | Height: | Size: 105 B |
After Width: | Height: | Size: 90 B |
After Width: | Height: | Size: 97 B |
After Width: | Height: | Size: 104 B |
After Width: | Height: | Size: 103 B |
After Width: | Height: | Size: 110 B |
After Width: | Height: | Size: 112 B |
After Width: | Height: | Size: 93 B |
After Width: | Height: | Size: 101 B |
After Width: | Height: | Size: 108 B |
After Width: | Height: | Size: 108 B |
After Width: | Height: | Size: 114 B |
After Width: | Height: | Size: 109 B |
After Width: | Height: | Size: 95 B |
After Width: | Height: | Size: 102 B |
|
@ -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"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<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:actionBarStyle">@style/ConversationsActionBar</item>
|
||||||
<item name="android:actionBarWidgetTheme">@style/ConversationsActionBarWidget</item>
|
<item name="android:actionBarWidgetTheme">@style/ConversationsActionBarWidget</item>
|
||||||
|
<item name="android:actionBarTabStyle">@style/ConversationsActionBarTabs</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="ConversationsActionBar"
|
<style name="ConversationsActionBar" parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse">
|
||||||
parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse">
|
|
||||||
<item name="android:background">#259b24</item>
|
<item name="android:background">#259b24</item>
|
||||||
|
<item name="android:backgroundStacked">#0a7e07</item>
|
||||||
<item name="android:displayOptions">showHome|homeAsUp|showTitle</item>
|
<item name="android:displayOptions">showHome|homeAsUp|showTitle</item>
|
||||||
<item name="android:icon">@android:color/transparent</item>
|
<item name="android:icon">@android:color/transparent</item>
|
||||||
</style>
|
</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:popupMenuStyle">@android:style/Widget.Holo.Light.PopupMenu</item>
|
||||||
<item name="android:dropDownListViewStyle">@android:style/Widget.Holo.Light.ListView.DropDown</item>
|
<item name="android:dropDownListViewStyle">@android:style/Widget.Holo.Light.ListView.DropDown</item>
|
||||||
</style>
|
</style>
|
||||||
</resources>
|
|
||||||
|
|
||||||
|
<style name="ConversationsActionBarTabs" parent="@android:style/Widget.Holo.ActionBar.TabView">
|
||||||
|
<item name="android:background">@drawable/actionbar_tab_indicator</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
</resources>
|