Questions tagged [android-edittext]

The EditText is the standard text entry widget in Android apps. If the user needs to enter text into an app, this is the primary way for them to do that.

0
votes
2answers
24 views

Modifying text in EditText after entering

Suppose I have an EditText view in an activity. I want to modify the text in EditText after it had been entered. For example, after I put "Andrew" in the EditText it automatically changes the text to "...
0
votes
0answers
4 views

GuidedActionEditText example snippet

I am developing a leanback app using guidedstepfragment. I want to use GuidedActionEditText but don't know how and google has very low results about that.Explicitly I want to add a ...
0
votes
1answer
20 views

Issue while trying to focus on an EditText

Actually i'm trying to make an app for devices with or without physical keyboard.I've added a setOnEditorActionListener on my first editText and when actionDone is pressed or Enter button is pressed ...
1
vote
1answer
27 views

Disable EditText but receive touch/click events

I would like to have Recyclerview with EditText views inside each row. I need to disable EditText for each row except the first one. I do it with holder.edittext.isCursorVisible=falseholder....
0
votes
0answers
17 views

Adding time from a time picker to EditTextPrefrence

So, I'am writing a code to pick a time a from the timepicker and add this text to the edittextprefrence, I'am not able to do this for some reason.This is my code to add time from a time picker to ...
0
votes
0answers
12 views

Blocking event from ediitext to other view

I have a fragment with edit text. This fragment is the part of activity which has one textview. I have a method dispatchKeyEvent in activity which append the number to textview once we press. I want ...
1
vote
1answer
32 views

How to store the EditText style (Bold, Italic, Color, etc.) using Sharedpreferences

Please anyone tell meHow to save selected text in the EditText style (Bold, Italic, Color, etc.) using SharedPreferences. Here is my code: int selectionStart=editTxt.getSelectionStart(); ...
1
vote
1answer
42 views

Android EditText value replacing hint

I want to have an EditText for 6-digit verification code which should work like thisWhen empty:When filled 2 digit number:How to achieve this in my Android app?
-1
votes
0answers
13 views

How to validate this type of 1 M 8 G D M 9 A K P 0 4 2 7 8 8 Frame number

I have need to validate for two wheeler frame no. Just assume this is the Frame number User entered in edit text like this 1 M 8 G D M 9 A K P 0 4 2 7 8 8,For example second position M means at the ...
1
vote
0answers
7 views

View Pager EditText hint issue in Landscape mode

Using View Pager I want to change edit text hint runtime, It displays correct hint when I scroll view pager but when I tape on edit text to write something it shows wrong hint(Hint of the previous ...
1
vote
0answers
28 views

Edit text showing not suitable for children gifs (GBoard)

I have this app that is made for kids and today I received a complaint that Gboard gifs is showing not suitable for kids gifs. ¿Do you know if there is any option I can disable the Gboard feature on ...
0
votes
0answers
19 views

How to delete an edittext from a listview dynamically when it is in focus?

So, the delete works well by removing the last element always from the listview. However, when the last element is the edittext in focus (that is selected with the cursor), the program crashes. Even ...
0
votes
1answer
29 views

Android EditText copy and paste from webpage, pastes formatted text

Please check the image below for reference. When I copy any text from webpage and paste it in Edittext in my app, Pasted text sometimes is already formatted and is different than default text. How can ...
0
votes
1answer
23 views

Android ListView with EditText values duplicating with TextWatcher

I have a ViewHolder:import android.widget.EditText;import android.widget.TextView;public class ListViewHolder {TextView productName;EditText productStock;}And my ListAdapter (...
0
votes
2answers
26 views

How can I get each EditText speech result of ScrollView

I have a ScrollView which has about 13 EditText. What I am trying to do is converting speech to text,so when the user touch any EditText and click speak button and start speaking, it will convert to ...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,