Top "Android-edittext" questions

The EditText is the standard text entry widget in Android apps.

margin inside the edit text in android

My question is : I have an EditText and I want set a margin inside the EditText, I mean margin for …

android android-layout android-edittext margin textview
Prevent dialog dismissal on screen rotation in Android

I am trying to prevent dialogs built with Alert builder from being dismissed when the Activity is restarted. If I …

android dialog android-edittext onconfigurationchanged
How to do something after user clicks on my EditText

I have an EditText that shows time. After user clicks the EditText I want to show a TimePickerDialog, so I …

android android-edittext onclicklistener
Android Email Validation on EditText

I have one edittext and I would to to write email validation in my Editttext this is a xml code &…

android android-edittext email-validation
Remove the error indicator from a previously-validated EditText widget

I am using an EditText widget, and I am validating it with the setError() method of EditText and it validates …

android android-edittext
Get Cursor Position in Android in Edit Text?

I am using a custom EditText View. I have overridden the OnKeyUp event and am able to capture the Enter …

android android-edittext android-keypad
Scroll the screen up when keyboard appears

I have an activity with an editText in the middle. When I click on the editText the keyboard appears, and …

android scroll android-edittext keyboard android-scrollview
InflateException when using TextInputLayout

I'm trying to use TextInputEditText from Material Design (https://github.com/material-components/material-components-android/blob/master/docs/components/TextInputLayout.md) and …

android android-edittext android-textinputlayout android-textinputedittext
EditText added is not a TextInputEditText. Please switch to using that class instead

I'm using an EditText inside a TextInputLayout, but after upgrading the support library to 23.2.0, I get this warning in the …

android android-layout android-edittext android-support-library android-textinputlayout
Android EditText and Button on same line

I need to have a Edittext beside a Search button. The EditText should fill as much of the width as …

android layout android-edittext android-button