mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Flag E-Mail-Inputs fields.
This commit is contained in:
@@ -238,7 +238,7 @@ public class ContactAddActivity extends BaseFragment implements NotificationCent
|
||||
emailTextView.setTextColor(0xff212121);
|
||||
emailTextView.setMaxLines(4);
|
||||
emailTextView.setGravity(LocaleController.isRTL ? Gravity.RIGHT : Gravity.LEFT);
|
||||
emailTextView.setInputType(InputType.TYPE_TEXT_FLAG_CAP_SENTENCES);
|
||||
emailTextView.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS | InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS);
|
||||
emailTextView.setImeOptions(EditorInfo.IME_FLAG_NO_EXTRACT_UI);
|
||||
emailTextView.setPadding(0, 0, 0, AndroidUtilities.dp(8));
|
||||
emailTextView.setHint(LocaleController.getString("EmailAddress", R.string.EmailAddress));
|
||||
|
||||
@@ -338,6 +338,7 @@ public class MrAccountSettingsActivity extends BaseFragment {
|
||||
addrCell = new MrEditTextCell(mContext);
|
||||
addrCell.setValueHintAndLabel(MrMailbox.MrMailboxGetConfig(MrMailbox.hMailbox, "addr", ""),
|
||||
"", LocaleController.getString("MyEmailAddress", R.string.MyEmailAddress), false);
|
||||
addrCell.getEditTextView().setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS | InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS);
|
||||
}
|
||||
view = addrCell;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user