Questions tagged as 'edittext'

1
answer

EditText already filled in after user login using firebase

Hello I have a question about a process that I can not do. I have the following screen, and I wanted the EditText user to already be populated with the user name or the user's email. I'm new to the mobile programming area, and I tried to do t...
asked by 07.09.2017 / 17:23
1
answer

I can not get a TextView to display the content present in an EditText!

I've created an app where your layout contains an EditText and a TextView . The initial content of the TextView is: "unnamed" . I'dliketheTextViewcontenttobechangedwhenIputsomethinginEditText,whichdoesnothappen: I'veusedastringtocaptu...
asked by 28.01.2017 / 21:53
1
answer

How do I access the View that triggered one of the events in a TextWatcher?

Explanation: I have a common application where there are several components EditText , where I assign them a handler that would be this here: TextWatcher handler = new TextWatcher() { @Override public void onTextChanged(CharS...
asked by 04.04.2014 / 16:58
1
answer

Send data from RecycleView to Activity

Well, I'm new to Android development and would like to know how to pass the value of the selected option in Recycleview to an EditText that is in another Activity     
asked by 23.08.2018 / 02:21
2
answers

EditText vehicle mask

I would like to know how to create a mask in an EditText in ABC-1234 format. I'm trying something like the example below, but with no success yet. public abstract class PlacaVeiculoMask { public static String PLACA_MASK = "???-####"; publ...
asked by 21.08.2018 / 20:10
2
answers

EditText.getText on a null object reference

I'm trying to add records in the Firebase Realtime Database, through an AlertDialog, but the EditText components do not let me abstract the information from the components. Below is the java excerpt .. fab.setOnClickListener(new View.OnClic...
asked by 26.06.2018 / 10:58
1
answer

Dynamic Total according to Android NumberPicker

I'm using NumberPicker so that the user selects the quantity. Each numberpicker has a total that already appears on the screen according to the amount selected by the user. Example: NumberPicker 1 = qnt 3 = $ 15.00 NumberPicker 2 = qnt 2 =...
asked by 05.08.2017 / 20:46
1
answer

How do I work with LONG "data" inserted in an editText?

I tried to pass numbers that would be inserted into 3 editTexts for 3 long variables I created: l01, l02, l03 . In order to work them out and make a very simple account. MainActivity.java: package genesysgeneration.treerule; import...
asked by 26.01.2017 / 01:06
1
answer

When inserting data in EditText, does a TextView and another EditText begin to move?

At first everything is normal: SomethingreallyhappenswhenIinsertsomecontentinEditText: ATextViewandanEditTextbegintomovetotherightasIentercharacters,whichevertheyare,untiltheyareoffthescreen: Whatistheexplanationforthis?Howtosolve?Activity:...
asked by 02.02.2017 / 22:16
1
answer

EditText Multiline with lines separated by dashes

Alright? I would like you to help me with one thing: I would like to have an EditText with Multilines split into lines. What I want to say is this: When we create an EditText multiline (let's say multiline with 4 lines as an example), it l...
asked by 29.08.2016 / 06:46