From 3f5123c19125143137a83b7a10574e774ea48845 Mon Sep 17 00:00:00 2001 From: Denis Date: Wed, 11 Mar 2015 18:09:05 +0200 Subject: [PATCH] Updated parking card --- OsmAnd/res/drawable/dash_parking_dark.xml | 7 +++ OsmAnd/res/drawable/dash_parking_light.xml | 7 +++ OsmAnd/res/layout/dash_parking_fragment.xml | 1 + OsmAnd/res/values/attrs.xml | 2 +- OsmAnd/res/values/colors.xml | 6 +- OsmAnd/res/values/styles.xml | 4 +- OsmAnd/src/net/osmand/plus/IconsCache.java | 3 +- .../plus/dashboard/DashLocationFragment.java | 58 +++++++++++-------- .../parkingpoint/DashParkingFragment.java | 40 ++++++++++--- .../parkingpoint/ParkingPositionLayer.java | 41 ++----------- .../parkingpoint/ParkingPositionPlugin.java | 41 +++++++++++++ .../osmand/plus/views/DirectionDrawable.java | 5 ++ 12 files changed, 140 insertions(+), 75 deletions(-) create mode 100644 OsmAnd/res/drawable/dash_parking_dark.xml create mode 100644 OsmAnd/res/drawable/dash_parking_light.xml diff --git a/OsmAnd/res/drawable/dash_parking_dark.xml b/OsmAnd/res/drawable/dash_parking_dark.xml new file mode 100644 index 0000000000..b416e9a9b7 --- /dev/null +++ b/OsmAnd/res/drawable/dash_parking_dark.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/drawable/dash_parking_light.xml b/OsmAnd/res/drawable/dash_parking_light.xml new file mode 100644 index 0000000000..36da79539a --- /dev/null +++ b/OsmAnd/res/drawable/dash_parking_light.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/layout/dash_parking_fragment.xml b/OsmAnd/res/layout/dash_parking_fragment.xml index 8f867bb58d..17dac2fa86 100644 --- a/OsmAnd/res/layout/dash_parking_fragment.xml +++ b/OsmAnd/res/layout/dash_parking_fragment.xml @@ -7,6 +7,7 @@ android:orientation="vertical"> - + diff --git a/OsmAnd/res/values/colors.xml b/OsmAnd/res/values/colors.xml index d4661f41de..c1e3add23f 100644 --- a/OsmAnd/res/values/colors.xml +++ b/OsmAnd/res/values/colors.xml @@ -1,6 +1,10 @@ + #234DDE + #54778c + #446072 + #1f2326 @color/color_white #292f33 @@ -33,7 +37,7 @@ #212121 #ff8f00 #536DFE - #54778c + #00000000 #ffC8C8C8 diff --git a/OsmAnd/res/values/styles.xml b/OsmAnd/res/values/styles.xml index 9a61d1c1c5..33bd4a6b2f 100644 --- a/OsmAnd/res/values/styles.xml +++ b/OsmAnd/res/values/styles.xml @@ -165,7 +165,7 @@ @color/color_white @drawable/ic_overflow_menu_light @drawable/size_progressbar_light - @color/dashboard_blue + @drawable/dash_parking_light