Added Ok button title in the accessibility mode.
This commit is contained in:
parent
02031fcd91
commit
a8fecfca7a
1 changed files with 2 additions and 0 deletions
|
@ -82,6 +82,8 @@ public class SearchAddressFragment extends Fragment {
|
|||
if(getActivity() instanceof SearchAddressActivity) {
|
||||
MenuItem menuItem = menu.add(0, SELECT_POINT, 0, "");
|
||||
MenuItemCompat.setShowAsAction(menuItem, MenuItemCompat.SHOW_AS_ACTION_ALWAYS);
|
||||
if (getApplication().accessibilityEnabled())
|
||||
menuItem.setTitle(R.string.shared_string_ok);
|
||||
menuItem = menuItem.setIcon(R.drawable.ic_action_done);
|
||||
menuItem.setOnMenuItemClickListener(new OnMenuItemClickListener() {
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue