Fix color
This commit is contained in:
parent
04a45faa43
commit
51127d4c58
5 changed files with 46 additions and 21 deletions
|
@ -1,19 +1,5 @@
|
||||||
<?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 android:drawable="@drawable/btn_inset_circle_p" android:state_pressed="true"/>
|
||||||
<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">
|
<item android:drawable="@drawable/btn_inset_circle_n"></item>
|
||||||
<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>
|
|
||||||
|
|
||||||
</selector>
|
</selector>
|
18
OsmAnd/res/drawable/btn_inset_circle_n.xml
Normal file
18
OsmAnd/res/drawable/btn_inset_circle_n.xml
Normal 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>
|
20
OsmAnd/res/drawable/btn_inset_circle_p.xml
Normal file
20
OsmAnd/res/drawable/btn_inset_circle_p.xml
Normal 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>
|
|
@ -2,7 +2,8 @@
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical"
|
||||||
|
android:background="@color/color_favorite" >
|
||||||
|
|
||||||
<!-- TOP ROW -->
|
<!-- TOP ROW -->
|
||||||
|
|
||||||
|
|
|
@ -18,11 +18,11 @@
|
||||||
<color name="list_item_background_dark_pressed">#be39464d</color>
|
<color name="list_item_background_dark_pressed">#be39464d</color>
|
||||||
|
|
||||||
<color name="map_widget_stroke">#333333</color>
|
<color name="map_widget_stroke">#333333</color>
|
||||||
<color name="map_widget_light">#eeffffff</color>
|
<color name="map_widget_light">#ffffff</color>
|
||||||
<color name="map_widget_dark">#aa3f3f3f</color>
|
<color name="map_widget_dark">#bb3f3f3f</color>
|
||||||
<color name="map_widget_dark_pressed">#ddcccccc</color>
|
<color name="map_widget_dark_pressed">#ddcccccc</color>
|
||||||
<color name="map_widget_light_trans">#88bbbbbb</color>
|
<color name="map_widget_light_trans">#40ffffff</color>
|
||||||
<color name="map_widget_light_pressed">#ddcccccc</color>
|
<color name="map_widget_light_pressed">#e5e5e5</color>
|
||||||
<color name="map_widget_blue">#30A0FF</color>
|
<color name="map_widget_blue">#30A0FF</color>
|
||||||
<color name="map_widget_blue_pressed">#dd30D0FF</color>
|
<color name="map_widget_blue_pressed">#dd30D0FF</color>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue