Questions tagged [android-textinputedittext]
308 questions
2
votes
2 answers
TextInputEditText don't work on Android 5.1
I'm hoping you would help me to get to the problem I'm facing right now.
I created a custom search view using a TextInputEditText, it's really simple actually and works fine on all the Android version with the exception of 5.1(Lollipop), the…
2
votes
1 answer
Numeric Keypad ANdroid changes to alphanumeric keypad
I have a textinputedittext with input type=number. To close the keypad if user clicks anywhere other than textinputedittext i used the following function -
public static void hideSoftKeyboard(Activity activity) {
InputMethodManager…

Apoorv Singh
- 1,295
- 1
- 14
- 26
2
votes
0 answers
Android textview setTypeFace is not working for hindi text when implementing hindi fonts from Asset
I take a hindi text value(using gboard hindi keyboard) from editText and set it on TextView using a button click and then have 3 buttons which changes the font of the textview.
Hindi font is taken from the assets.
It is not working when I'm using…

Jack Stern
- 395
- 1
- 4
- 16
2
votes
1 answer
TextInputEditText fix character length with custom design underline
I want to design like below :
Before enter user input :
User input numbers
Is it possible to extend TextInputEditText to achieve this request?
I have been looking for the design discussion,
how can i underline each character in edittext?
Can I…

rodent_la
- 1,195
- 4
- 18
- 38
2
votes
0 answers
TextInputEditText border disappear when setError() is called
I'm using a style for TextInputEditText to put a border around the field and I'm usingTextInputLayout to set error messages. But when setError () is called the border disappears and remains only a space in place that should have a field.
xml:
…

Éowyn
- 187
- 3
- 17
2
votes
1 answer
Cannot see text in TextInputEditText after set its background color in Android Xamarin
I have a TextInputEditText as below:

Long Dao
- 1,341
- 4
- 15
- 33
2
votes
2 answers
How to get default edit line color after setting a drawable?
I am using a TextInputEditText. For this I am setting a drawable programatically on click of same edit text.
By default the edit text shows blue bottom line and hint color as blue i.e accent color which I have set in theme.
Now I after setting the…

Sid
- 2,792
- 9
- 55
- 111
1
vote
0 answers
setError icon overlapping the outline of TextInputLayout (TextInputEditText)
So I've been having this problem for a while now and can't figure out how to fix it. The same thing was happening with ExposedDropdownMenu and the arrow icon on the end, but I gave up eventually.
I've tried putting custom icons/backgrounds with…

tbesvir
- 11
- 2
1
vote
1 answer
How to remove right padding/margin to a TextInputLayout prefix
TextInputLayout prefix has a small but noticeable spacing to the subsequent text in the TextInputEditText.
In the following image, The first www is the prefix, the following are the regular text. I want to remove the spacing shown in the circle
My…

Nuno Costa
- 85
- 1
- 11
1
vote
1 answer
How to RTL OutlinedBox hint and text on Android?
How to change OutlinedBox hint and text RTL (support Persian and Arabic):

Sajad Hosseini
- 135
- 8
1
vote
1 answer
Android TextInputEditText doesn't focus on cursor position
When trying to edit long text inside TextInputEditText, the focus goes always to the bottom, so the top (where actually the cursor is) stays out of the screen and you cannot see actually what you are typing. See a GIF showing the TextInputEditText…

erkan.molla.dev
- 170
- 2
- 11
1
vote
1 answer
How to position drawable start icon at the start of the material text input layout
How to position the drawable start icon at the start of text input layout

Suman Radhakrishnan
- 438
- 8
- 16
1
vote
0 answers
How to use a RecyclerView inside TextInputLayout of MaterialDesign?
This is a screenshot from an Android app from the play store. I am trying to replicate the design of this screen. I used TextInputLayout from Material Design to create the input boxes. But I am unable to replicate the colour section in the above…

Rajesh kumar
- 982
- 1
- 9
- 17
1
vote
0 answers
onFocusChange is not getting called when launching an activity above android version 8
I'm having android.support.v7.widget.AppCompatEditText inside TextInputLayout in my activity and added setOnFocusChangeListener for the editText. When ever the activity is opened its automatically called onFocusChange for the top first editText till…

Olive Andrew
- 11
- 2
1
vote
2 answers
How to get text of textInputEditText in a dialog?
I am trying to get the text of a textInputEditText, which is in a dialog (to be exact the onCreateDialog method in the set positive button section), but it doesn't work. I've read many questions which already are on StackOverflow, but none helped…

RummsLetsPlay
- 13
- 4