Contextually filled contentDescription field of the list format toggle
button.
This commit is contained in:
parent
6eca1ca255
commit
d9a68aaabc
3 changed files with 3 additions and 0 deletions
|
@ -1990,4 +1990,5 @@
|
|||
<string name="access_shared_string_navigate_up">Перейти вверх</string>
|
||||
<string name="access_widget_expand">Развернуть</string>
|
||||
<string name="access_shared_string_not_installed">Не установлен</string>
|
||||
<string name="access_tree_list">Иерархический список</string>
|
||||
</resources>
|
||||
|
|
|
@ -10,6 +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
|
||||
-->
|
||||
|
||||
<string name="access_tree_list">Tree list</string>
|
||||
<string name="access_shared_string_not_installed">Not installed</string>
|
||||
<string name="access_widget_expand">Expand</string>
|
||||
<string name="access_shared_string_navigate_up">Navigate up</string>
|
||||
|
|
|
@ -479,6 +479,7 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks, DynamicLis
|
|||
final boolean flatNow = visibleType == DashboardType.WAYPOINTS_FLAT;
|
||||
flat.setImageDrawable(iconsCache.getIcon(flatNow ? R.drawable.ic_tree_list_dark
|
||||
: R.drawable.ic_flat_list_dark));
|
||||
flat.setContentDescription(mapActivity.getString(flatNow ? R.string.access_tree_list : R.string.drawer));
|
||||
flat.setOnClickListener(new View.OnClickListener() {
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue