Fix color

This commit is contained in:
Victor Shcherb 2015-03-18 15:52:05 +01:00
parent 04a45faa43
commit 51127d4c58
5 changed files with 46 additions and 21 deletions

View file

@ -1,19 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true"><inset android:insetBottom="@dimen/map_button_inset" android:insetLeft="@dimen/map_button_inset" android:insetRight="@dimen/map_button_inset" android:insetTop="@dimen/map_button_inset">
<shape android:shape="oval">
<solid android:color="@color/map_widget_light_pressed" />
<stroke android:width="@dimen/map_button_stroke" android:color="@color/map_widget_stroke" />
</shape>
</inset></item>
<item><inset android:insetBottom="@dimen/map_button_inset" android:insetLeft="@dimen/map_button_inset" android:insetRight="@dimen/map_button_inset" android:insetTop="@dimen/map_button_inset">
<shape android:shape="oval">
<solid android:color="@color/map_widget_light" />
<stroke android:width="@dimen/map_button_stroke" android:color="@color/map_widget_stroke" />
</shape>
</inset></item>
<item android:drawable="@drawable/btn_inset_circle_p" android:state_pressed="true"/>
<item android:drawable="@drawable/btn_inset_circle_n"></item>
</selector>

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item>
<bitmap android:src="@drawable/bt_round_2_shadow" android:gravity="center" />
</item>
<item>
<inset
android:insetBottom="@dimen/map_button_inset"
android:insetLeft="@dimen/map_button_inset"
android:insetRight="@dimen/map_button_inset"
android:insetTop="@dimen/map_button_inset" >
<shape android:shape="oval" >
<solid android:color="@color/map_widget_light" />
</shape>
</inset>
</item>
</layer-list>

View file

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item>
<bitmap android:src="@drawable/bt_round_2_shadow" android:gravity="center" />
</item>
<item>
<inset
android:insetBottom="@dimen/map_button_inset"
android:insetLeft="@dimen/map_button_inset"
android:insetRight="@dimen/map_button_inset"
android:insetTop="@dimen/map_button_inset" >
<shape android:shape="oval" >
<solid android:color="@color/map_widget_light_pressed" />
</shape>
</inset>
</item>
</layer-list>

View file

@ -2,7 +2,8 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
android:orientation="vertical"
android:background="@color/color_favorite" >
<!-- TOP ROW -->

View file

@ -18,11 +18,11 @@
<color name="list_item_background_dark_pressed">#be39464d</color>
<color name="map_widget_stroke">#333333</color>
<color name="map_widget_light">#eeffffff</color>
<color name="map_widget_dark">#aa3f3f3f</color>
<color name="map_widget_light">#ffffff</color>
<color name="map_widget_dark">#bb3f3f3f</color>
<color name="map_widget_dark_pressed">#ddcccccc</color>
<color name="map_widget_light_trans">#88bbbbbb</color>
<color name="map_widget_light_pressed">#ddcccccc</color>
<color name="map_widget_light_trans">#40ffffff</color>
<color name="map_widget_light_pressed">#e5e5e5</color>
<color name="map_widget_blue">#30A0FF</color>
<color name="map_widget_blue_pressed">#dd30D0FF</color>