diff --git a/OsmAnd/res/layout/bottom_sheet_item_description_long.xml b/OsmAnd/res/layout/bottom_sheet_item_description_long.xml index d841ca0430..caa5a6ae92 100644 --- a/OsmAnd/res/layout/bottom_sheet_item_description_long.xml +++ b/OsmAnd/res/layout/bottom_sheet_item_description_long.xml @@ -12,4 +12,5 @@ android:textColor="?android:textColorSecondary" android:textSize="@dimen/default_desc_text_size" android:linksClickable="true" + android:lineSpacingMultiplier="1.25" tools:text="Some long description"/> diff --git a/OsmAnd/res/layout/order_poi_list_item.xml b/OsmAnd/res/layout/order_poi_list_item.xml index f1d493e094..fc68ff274d 100644 --- a/OsmAnd/res/layout/order_poi_list_item.xml +++ b/OsmAnd/res/layout/order_poi_list_item.xml @@ -11,20 +11,18 @@ - @@ -47,6 +45,8 @@ android:ellipsize="marquee" android:paddingLeft="@dimen/content_padding" android:paddingRight="@dimen/content_padding" + android:paddingTop="@dimen/content_padding_half" + android:paddingBottom="@dimen/content_padding_half" android:singleLine="true" android:textColor="?android:textColorPrimary" android:textSize="@dimen/default_list_text_size" @@ -56,7 +56,7 @@ Rearrange categories You can add custom categories hide categories that you don’t find necessary and change the sort order of the list. The list can be imported and exported with profiles. You can add a new custom category by selecting one or a few needed categories. - Reset to default will delete or custom categories and reset sort order to the default state after installation. + Reset to default will reset sort order to the default state after installation. Available Add custom category Show only at night diff --git a/OsmAnd/src/net/osmand/plus/poi/PoiUIFilter.java b/OsmAnd/src/net/osmand/plus/poi/PoiUIFilter.java index 5b7ad8dc85..facbc5a6ed 100644 --- a/OsmAnd/src/net/osmand/plus/poi/PoiUIFilter.java +++ b/OsmAnd/src/net/osmand/plus/poi/PoiUIFilter.java @@ -800,7 +800,7 @@ public class PoiUIFilter implements SearchPoiTypeFilter, Comparable String anotherFilterByName = another.filterByName == null ? "" : another.filterByName; return thisFilterByName.compareToIgnoreCase(anotherFilterByName); } else { - return this.name.compareTo(another.name); + return this.name.compareToIgnoreCase(another.name); } } diff --git a/OsmAnd/src/net/osmand/plus/poi/RearrangePoiFiltersFragment.java b/OsmAnd/src/net/osmand/plus/poi/RearrangePoiFiltersFragment.java index 01500d3007..5bb86da388 100644 --- a/OsmAnd/src/net/osmand/plus/poi/RearrangePoiFiltersFragment.java +++ b/OsmAnd/src/net/osmand/plus/poi/RearrangePoiFiltersFragment.java @@ -212,7 +212,7 @@ public class RearrangePoiFiltersFragment extends DialogFragment { String filterByName2 = o2.filterByName == null ? "" : o2.filterByName; return filterByName1.compareToIgnoreCase(filterByName2); } else { - return o1.name.compareTo(o2.name); + return o1.name.compareToIgnoreCase(o2.name); } } }); @@ -641,7 +641,7 @@ public class RearrangePoiFiltersFragment extends DialogFragment { private TextView title; private TextView description; private ImageView icon; - private ImageButton actionIcon; + private ImageView actionIcon; private ImageView moveIcon; private View itemsContainer;