Questions tagged as 'edittext'

2
answers

Scrolling through listview scroll delete edittext data

Good morning afternoons I have a listview that I fill with a custom adapter in which I have an edittext so that the user can put a quantity, the problem is when I have more than 5 rows in my listview and enter in the first one, and I scrol...
asked by 16.06.2016 / 21:39
2
answers

Enable or disable an edittext with the selection of a spinner

The problem is that it disables text editing but in case 1 of Switch when you have to activate it again it does not This is the code I'm using. public class ejemolo extends AppCompatActivity { String[] Items = { "Dc...
asked by 11.05.2017 / 20:15
2
answers

How to clean a field from a textView?

Hello in the code I am using a EditText and several TextView , the point is that I am trying that when the value of EditText this empty clean the fields of TextView . That is the code with which I am trying it Text...
asked by 22.04.2017 / 02:14
2
answers

Open URL from EditText

I'm trying to make an application similar to a browser but without WebView , just a EditText where you put a URL and pressing a certain button opens said URL in the default browser. In case it was not understood, I leave more...
asked by 15.11.2016 / 19:00
1
answer

Insert flag in listview Android

I have a listview which is filled with Arrayadapater custom with data I get from my SQLite bd. The detail is that I need to insert a flag or an identifier in every detail of listview that shows me for example the listview...
asked by 19.07.2016 / 19:09
2
answers

Extract characters from a text file in Linux

I have a very basic question. I have the following text file (cdrag.txt) and I want to extract only the value (number) that is just after Cd : forceCoeffs forceCoeffs execute: Coefficients Cm : -3.99664 (pressure: -4.0...
asked by 16.06.2018 / 11:36
4
answers

Collect values from EditText

I have a little doubt on Android. Suppose I have an EditText, in which the user will enter a number by keyboard. How can I collect that value? Let's see, I'll do it as if it were a text string, which would be where I do this: private EditText...
asked by 09.03.2018 / 01:07
2
answers

Go to String content of an EditText

I am trying to compare the text of a label with that written in a text field, in Android Studio, specifically a TextView and an EditText, I explain: if (etInfinitivo.getText().toString().equals(tvVTE.getText().toString())) { tv...
asked by 13.04.2018 / 18:45
1
answer

EditText Hex mode on Android

I need to enter only hexadecimal characters to an editText in Android, but these characters must be entered in pairs, after each pair you should automatically insert a space and then the next pair and so on, someone could tell me how to do it...
asked by 06.11.2018 / 18:29
2
answers

How can you leave two parallel editText inside a ScrollView

How you can leave two parallel editText inside a ScrollView in this image the editText comes out one under the other, I would like one to come out winged from the other since the numbers to enter are not more than 4 digits     
asked by 28.05.2018 / 22:37