Capitalize words instead of sentences on name input.

This commit is contained in:
B. Petersen
2016-11-25 16:06:01 +01:00
parent bbd06d37da
commit e033c04d7a
2 changed files with 2 additions and 2 deletions
@@ -228,7 +228,7 @@ public class ContactAddActivity extends BaseFragment implements NotificationCent
nameTextView.setTextSize(TypedValue.COMPLEX_UNIT_DIP, 16);
nameTextView.setHintTextColor(0xff979797);
nameTextView.setImeOptions(EditorInfo.IME_FLAG_NO_EXTRACT_UI);
nameTextView.setInputType(InputType.TYPE_TEXT_FLAG_CAP_SENTENCES);
nameTextView.setInputType(InputType.TYPE_TEXT_FLAG_CAP_WORDS);
nameTextView.setPadding(0, 0, 0, AndroidUtilities.dp(8));
InputFilter[] inputFilters = new InputFilter[1];
inputFilters[0] = new InputFilter.LengthFilter(100);