use content description in search fields
This commit is contained in:
parent
2de8f3d35b
commit
ce81123112
|
@ -121,6 +121,7 @@ public class SearchActivity extends XmppActivity implements TextWatcher, OnSearc
|
|||
}
|
||||
searchField.addTextChangedListener(this);
|
||||
searchField.setHint(R.string.search_messages);
|
||||
searchField.setContentDescription(getString(R.string.search_messages));
|
||||
searchField.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE);
|
||||
if (term == null) {
|
||||
showKeyboard(searchField);
|
||||
|
|
|
@ -621,8 +621,10 @@ public class StartConversationActivity extends XmppActivity implements XmppConne
|
|||
}
|
||||
if (binding.startConversationViewPager.getCurrentItem() == 0) {
|
||||
mSearchEditText.setHint(R.string.search_contacts);
|
||||
mSearchEditText.setContentDescription(getString(R.string.search_contacts));
|
||||
} else {
|
||||
mSearchEditText.setHint(R.string.search_bookmarks);
|
||||
mSearchEditText.setContentDescription(getString(R.string.search_bookmarks));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
android:id="@+id/action_security"
|
||||
android:icon="?attr/icon_not_secure"
|
||||
android:orderInCategory="20"
|
||||
android:title="@string/action_secure"
|
||||
android:title="@string/encrypted_with_omemo"
|
||||
app:showAsAction="always">
|
||||
<menu>
|
||||
<group android:checkableBehavior="single">
|
||||
|
|
Loading…
Reference in New Issue