android-edittext tag

16 questions


1 answers
74 views
0
How do I avoid focusing on EditText when the activity is executed?

There are two elements in the activity, EditText and ListView. When the activity is turned on, a cursor is created in EditText EditText.setSelected(false);I did it like this, but it's still like that...


1 answers
131 views
0
How do I read values from the EditText field?

I'm learning how to make UI on Android these days. I made a few EditTexts to get the price. What I want to make is to press the button and read the values in EditText.<EditText android:id=@+id/name...


1 answers
97 views
0
Can I place the cursor at the end of the text in EditText?

When changing the value of EditText in the keyListenerThere's a cursor at the beginning of EditText, and I want to put it at the end of the text. How do I move the cursor to the end?


1 answers
156 views
0
I want to count the number of characters in EditText.

I have EditText in my project and I want to count the number of characters in EditText. And I wrote the code below to print that number in TextView. It works well. If I type in backspace, the number o...


1 answers
113 views
0
Can I limit the text length of EditText on Android?

What is the best way to limit the text length of EditText on Android? Is it possible by writing XML?


1 answers
113 views
0
Can I process it separately when I enter "Enter" in EditText?

If you type Enter while typing in EditText, I want to process it like an onSubmit event in HTML.Well, I'm trying to make it work like a move or an on-Submit when I click on the Done button on the virt...

« - 2 -

© 2024 OneMinuteCode. All rights reserved.