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.addTextChangedListener(this);
|
||||||
searchField.setHint(R.string.search_messages);
|
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);
|
searchField.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE);
|
||||||
if (term == null) {
|
if (term == null) {
|
||||||
showKeyboard(searchField);
|
showKeyboard(searchField);
|
||||||
|
|
|
@ -621,8 +621,10 @@ public class StartConversationActivity extends XmppActivity implements XmppConne
|
||||||
}
|
}
|
||||||
if (binding.startConversationViewPager.getCurrentItem() == 0) {
|
if (binding.startConversationViewPager.getCurrentItem() == 0) {
|
||||||
mSearchEditText.setHint(R.string.search_contacts);
|
mSearchEditText.setHint(R.string.search_contacts);
|
||||||
|
mSearchEditText.setContentDescription(getString(R.string.search_contacts));
|
||||||
} else {
|
} else {
|
||||||
mSearchEditText.setHint(R.string.search_bookmarks);
|
mSearchEditText.setHint(R.string.search_bookmarks);
|
||||||
|
mSearchEditText.setContentDescription(getString(R.string.search_bookmarks));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
android:id="@+id/action_security"
|
android:id="@+id/action_security"
|
||||||
android:icon="?attr/icon_not_secure"
|
android:icon="?attr/icon_not_secure"
|
||||||
android:orderInCategory="20"
|
android:orderInCategory="20"
|
||||||
android:title="@string/action_secure"
|
android:title="@string/encrypted_with_omemo"
|
||||||
app:showAsAction="always">
|
app:showAsAction="always">
|
||||||
<menu>
|
<menu>
|
||||||
<group android:checkableBehavior="single">
|
<group android:checkableBehavior="single">
|
||||||
|
|
Loading…
Reference in a new issue