diff --git a/OsmAnd/res/layout/quick_action_list.xml b/OsmAnd/res/layout/quick_action_list.xml index 9273637cee..1f9b455446 100644 --- a/OsmAnd/res/layout/quick_action_list.xml +++ b/OsmAnd/res/layout/quick_action_list.xml @@ -29,6 +29,7 @@ android:layout_alignParentRight="true" android:layout_margin="16dp" android:src="@drawable/ic_action_plus" + android:contentDescription="@string/quick_action_new_action" app:backgroundTint="@color/dashboard_blue"/> \ No newline at end of file diff --git a/OsmAnd/res/layout/quick_action_list_item.xml b/OsmAnd/res/layout/quick_action_list_item.xml index 0c75b469bb..794fe3749a 100644 --- a/OsmAnd/res/layout/quick_action_list_item.xml +++ b/OsmAnd/res/layout/quick_action_list_item.xml @@ -73,6 +73,7 @@ android:background="?attr/selectableItemBackground" android:scaleType="centerInside" android:tint="?attr/secondary_icon_color" + android:contentDescription="@string/action_delete" android:src="@drawable/ic_action_remove_dark"/> diff --git a/OsmAnd/res/layout/quick_action_switchable_item.xml b/OsmAnd/res/layout/quick_action_switchable_item.xml index 31bb68315e..ee096dc73a 100644 --- a/OsmAnd/res/layout/quick_action_switchable_item.xml +++ b/OsmAnd/res/layout/quick_action_switchable_item.xml @@ -56,6 +56,7 @@ android:background="?attr/selectableItemBackground" android:scaleType="centerInside" android:src="@drawable/ic_action_remove_dark" + android:contentDescription="@string/action_delete" android:tint="?attr/secondary_icon_color" /> diff --git a/OsmAnd/src/net/osmand/plus/quickaction/CreateEditActionDialog.java b/OsmAnd/src/net/osmand/plus/quickaction/CreateEditActionDialog.java index 3d734d9963..cf1c7513de 100644 --- a/OsmAnd/src/net/osmand/plus/quickaction/CreateEditActionDialog.java +++ b/OsmAnd/src/net/osmand/plus/quickaction/CreateEditActionDialog.java @@ -155,6 +155,8 @@ public class CreateEditActionDialog extends DialogFragment { R.drawable.abc_ic_ab_back_mtrl_am_alpha, R.color.color_white)); + toolbar.setNavigationContentDescription(R.string.access_shared_string_navigate_up); + toolbar.setNavigationOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { diff --git a/OsmAnd/src/net/osmand/plus/quickaction/QuickActionListFragment.java b/OsmAnd/src/net/osmand/plus/quickaction/QuickActionListFragment.java index c08cd7dc6e..8b5e254ebd 100644 --- a/OsmAnd/src/net/osmand/plus/quickaction/QuickActionListFragment.java +++ b/OsmAnd/src/net/osmand/plus/quickaction/QuickActionListFragment.java @@ -111,6 +111,7 @@ public class QuickActionListFragment extends BaseOsmAndFragment implements Quick Drawable back = getMyApplication().getIconsCache().getIcon(R.drawable.abc_ic_ab_back_mtrl_am_alpha); back.setColorFilter(ContextCompat.getColor(getContext(), R.color.color_white), PorterDuff.Mode.MULTIPLY); toolbar.setNavigationIcon(back); + toolbar.setNavigationContentDescription(R.string.access_shared_string_navigate_up); toolbar.setNavigationOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) {