From d623f6c977838f9de67670543303c970ce8264a9 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 18 Jun 2014 12:29:00 +0300 Subject: [PATCH] Added action bar. Added mark as unvisited. Current point is always on top. Removed unused items. --- OsmAnd/res/layout/route_point_info.xml | 30 +- OsmAnd/res/layout/route_steps_main.xml | 16 +- OsmAnd/res/values/routepoints.xml | 4 + .../RoutePointsActivity.java | 352 ++++++++++++------ .../RoutePointsPlugin.java | 74 +++- 5 files changed, 316 insertions(+), 160 deletions(-) diff --git a/OsmAnd/res/layout/route_point_info.xml b/OsmAnd/res/layout/route_point_info.xml index 33a1ea2bba..a9defa7f29 100644 --- a/OsmAnd/res/layout/route_point_info.xml +++ b/OsmAnd/res/layout/route_point_info.xml @@ -4,24 +4,36 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" - android:padding="6dip" - android:weightSum="6"> + android:weightSum="1" + android:background="?android:attr/activatedBackgroundIndicator"> + - - + + \ No newline at end of file diff --git a/OsmAnd/res/layout/route_steps_main.xml b/OsmAnd/res/layout/route_steps_main.xml index ddada1c6e0..e190edb644 100644 --- a/OsmAnd/res/layout/route_steps_main.xml +++ b/OsmAnd/res/layout/route_steps_main.xml @@ -9,24 +9,22 @@ + android:layout_height="wrap_content" + android:layout_marginLeft="5dp" + android:textSize="20sp"/> -