update styles

This commit is contained in:
Vadim Lopatin 2015-01-21 12:18:06 +03:00
parent d34ece5a58
commit 140e1a8e11
4 changed files with 46 additions and 11 deletions

View File

@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" > <selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item <item
android:drawable="#C0000000,1px" android:drawable="btn_disabled"
android:state_enabled="false" android:state_enabled="false"
android:state_focused="true" /> android:state_focused="true" />
<item <item
android:drawable="#80000000,1px,#E04040FF" android:drawable="btn_pressed"
android:state_focused="true" /> android:state_focused="true" />
<item <item
android:drawable="#A00000FF" android:drawable="btn_normal"
android:state_selected="true" /> android:state_selected="true" />
<item <item
android:drawable="#E04040FF" android:drawable="#E04040FF"

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:drawable="#C0000000,1px"
android:state_enabled="false"
android:state_focused="true" />
<item
android:drawable="#80000000,1px,#E04040FF"
android:state_focused="true" />
<item
android:drawable="#A00000FF"
android:state_selected="true" />
<item
android:drawable="#E04040FF"
android:state_hovered="true" />
<item
android:drawable="@null" />
</selector>

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:drawable="btn_disabled"
android:state_enabled="false"
android:state_focused="true" />
<item
android:drawable="btn_pressed"
android:state_focused="true" />
<item
android:drawable="btn_normal"
android:state_selected="true" />
<item
android:drawable="#E04040FF"
android:state_hovered="true" />
<item
android:drawable="@null" />
</selector>

View File

@ -159,12 +159,9 @@
textFlags="Parent" textFlags="Parent"
/> />
<style id="MENU_ITEM" <style id="MENU_ITEM"
backgroundImageId="menu_item_background"
padding="4,2,4,2" padding="4,2,4,2"
> >
<state state_focused="true" backgroundColor="#40C0C000"/>
<state state_pressed="true" backgroundColor="#4080C000"/>
<state state_selected="true" backgroundColor="#00F8F9Fa"/>
<state state_hovered="true" backgroundColor="#C0FFFF00"/>
</style> </style>
<style id="MENU_ICON" <style id="MENU_ICON"
margins="2,2,2,2" margins="2,2,2,2"
@ -314,16 +311,18 @@
fontFace="Arial" fontFace="Arial"
fontFamily="SansSerif" fontFamily="SansSerif"
fontSize="16"> fontSize="16">
<state state_focused="true" backgroundColor="#40C0C000"/>
<state state_pressed="true" backgroundColor="#4080C000"/>
<state state_selected="true" backgroundColor="#00F8F9Fa"/>
<state state_hovered="true" backgroundColor="#C0FFFF00"/>
</style> </style>
<style id="TREE_ITEM_EXPAND_ICON" <style id="TREE_ITEM_EXPAND_ICON"
margins="2,0,2,0" margins="2,0,2,0"
align="Left|VCenter" align="Left|VCenter"
textFlags="Parent" textFlags="Parent"
/> />
<style id="TREE_ITEM_BODY"
margins="2,0,2,0"
align="Left|VCenter"
textFlags="Parent"
backgroundImageId="list_item_background"
/>
<style id="TREE_ITEM_ICON" <style id="TREE_ITEM_ICON"
margins="2,0,2,0" margins="2,0,2,0"
align="Left|VCenter" align="Left|VCenter"