diff --git a/OsmAnd/res/layout/change_order_item.xml b/OsmAnd/res/layout/change_order_item.xml
index 013f7edb4f..c5745ca82b 100644
--- a/OsmAnd/res/layout/change_order_item.xml
+++ b/OsmAnd/res/layout/change_order_item.xml
@@ -15,6 +15,7 @@
android:id="@+id/title"
android:layout_width="0dp"
android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
android:gravity="center_vertical"
android:text="@string/layer_poi"
android:textSize="18sp"
diff --git a/OsmAnd/res/layout/drawer_list_radius.xml b/OsmAnd/res/layout/drawer_list_radius.xml
index 7b7ff5d4d9..e4b1cd3ab4 100644
--- a/OsmAnd/res/layout/drawer_list_radius.xml
+++ b/OsmAnd/res/layout/drawer_list_radius.xml
@@ -5,6 +5,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
+ android:minHeight="40dp"
android:layout_marginBottom="5dp">
-
+ android:layout_marginRight="16dp"/>
-
+ android:layout_marginRight="16dp"/>
\ No newline at end of file
diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml
index f3e208772d..2ce9870305 100644
--- a/OsmAnd/res/values/strings.xml
+++ b/OsmAnd/res/values/strings.xml
@@ -10,8 +10,7 @@
PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy
-->
Details
- Hiking
- Routes
+ Transport
Others map attributes
Remaining elements
Rendering attributes
diff --git a/OsmAnd/src/net/osmand/plus/helpers/WaypointDialogHelper.java b/OsmAnd/src/net/osmand/plus/helpers/WaypointDialogHelper.java
index 43ff305d40..7f979632f1 100644
--- a/OsmAnd/src/net/osmand/plus/helpers/WaypointDialogHelper.java
+++ b/OsmAnd/src/net/osmand/plus/helpers/WaypointDialogHelper.java
@@ -523,8 +523,8 @@ public class WaypointDialogHelper implements OsmAndLocationListener {
protected View createDialogHeader(final FragmentActivity ctx, final boolean editF, final boolean flat, final AlertDialog dlg) {
View v;
v = ctx.getLayoutInflater().inflate(R.layout.waypoint_title, null);
- ImageView edit = (ImageView) v.findViewById(R.id.edit);
- ImageView all = (ImageView) v.findViewById(R.id.all);
+ ImageButton edit = (ImageButton) v.findViewById(R.id.edit);
+ ImageButton all = (ImageButton) v.findViewById(R.id.all);
edit.setImageResource(app.getSettings().isLightContent() ? R.drawable.ic_action_edit_light
: R.drawable.ic_action_edit_dark);
edit.setVisibility(editF ? View.GONE : View.VISIBLE);
@@ -618,7 +618,7 @@ public class WaypointDialogHelper implements OsmAndLocationListener {
v = ctx.getLayoutInflater().inflate(R.layout.waypoint_header, null);
ImageView sort = (ImageView) v.findViewById(R.id.sort);
//sort button in Destination header
- if (type == 0 && sort != null){
+ if (type == 0 && sort != null && app.getTargetPointsHelper().getIntermediatePoints().size() > 0){
sort.setVisibility(View.VISIBLE);
if (app.getSettings().isLightContent()){
sort.setImageResource(R.drawable.ic_sort_waypoint_white);
@@ -631,6 +631,8 @@ public class WaypointDialogHelper implements OsmAndLocationListener {
IntermediatePointsDialog.openIntermediatePointsDialog(ctx, app, true);
}
});
+ } else {
+ sort.setVisibility(View.GONE);
}
final CompoundButton btn = (CompoundButton) v.findViewById(R.id.check_item);
btn.setVisibility(waypointHelper.isTypeConfigurable(type) ? View.VISIBLE : View.GONE);
@@ -658,9 +660,6 @@ public class WaypointDialogHelper implements OsmAndLocationListener {
return v;
}
}
-
-
-
private static void showOnMap(OsmandApplication app, Activity a, LocationPoint locationPoint, DialogFragment dialog) {
if (!(a instanceof MapActivity)) {