diff --git a/OsmAnd/res/layout/list_bigtextview.xml b/OsmAnd/res/layout/list_bigtextview.xml new file mode 100644 index 0000000000..bccefe39b4 --- /dev/null +++ b/OsmAnd/res/layout/list_bigtextview.xml @@ -0,0 +1,11 @@ + + + + \ No newline at end of file diff --git a/OsmAnd/res/layout/waypoint_reached.xml b/OsmAnd/res/layout/waypoint_reached.xml index 0540448cd4..78545c36d5 100644 --- a/OsmAnd/res/layout/waypoint_reached.xml +++ b/OsmAnd/res/layout/waypoint_reached.xml @@ -6,7 +6,8 @@ android:layout_height="match_parent" android:background="@drawable/view_transparent_selection" android:id="@+id/package_delivered_layout" - android:minHeight="48dp"> + android:minHeight="48dp" + android:descendantFocusability="blocksDescendants" > diff --git a/OsmAnd/src/net/osmand/plus/helpers/AvoidSpecificRoads.java b/OsmAnd/src/net/osmand/plus/helpers/AvoidSpecificRoads.java index 8dacef0b7f..36ccf16bc3 100644 --- a/OsmAnd/src/net/osmand/plus/helpers/AvoidSpecificRoads.java +++ b/OsmAnd/src/net/osmand/plus/helpers/AvoidSpecificRoads.java @@ -58,8 +58,7 @@ public class AvoidSpecificRoads { // User super class to create the View View v = convertView; if (position == 0) { - TextView tv = (TextView) ctx.getLayoutInflater().inflate(R.layout.list_textview, null); - tv.setTextSize(TypedValue.COMPLEX_UNIT_SP, 18); + TextView tv = (TextView) ctx.getLayoutInflater().inflate(R.layout.list_menu_item_native, null); tv.setText(app.getString(R.string.select_impassable_road)); v = tv; } else {