Is there any way I can prevent onFocus trigger during the initial laying out of a composition?, I have found this Google issue tracker that seems r ...
Is there any way I can prevent onFocus trigger during the initial laying out of a composition?, I have found this Google issue tracker that seems r ...
My question is about Android/Java. In my main.xml I have two Views: In my MainActivity.java I set the OnFocusChangeListener: When I click the b ...
EditText as ChangeContact EditText focus is not working in android studio, i want to hide a textview when focus change in edittext, how to do this? ...
I have an issue, I need to get last clicked item position on focus change in recycler view in Kotlin. For example: If my Recycler view contains 4 Edi ...
When I touch an EditText I want my scrollView to scrolls some px. The problem is that it only works when I touch the respective EditText the second ti ...
I have two EditText in my Activity, each of one is inside TextInputLayout: Also, in code, I have the same onFocusChangeListener hooked: (This is ...
I am trying to do a validation + warning when a user leaves a field. I am using textInputLayout + TextInputEditText and listening on onFocusChanged - ...
Am working on a Android SDK 17+ app. A ListView uses a BaseAdapter instance to manage its items. Each item is a simple layout which only includes a Te ...
I made an EditText OnFocusChangeListener that supposedly hides the cursor and another view when it's not in focus (i.e. clicking anywhere on the scree ...
When a child view gains focus, I would like to receive onFocusChange(...) event for both the View and it's parent ViewGroup. However, making childr ...
I am using a Tablelayout and I am adding 5 rows pragmatically. Each row has 4 columns, Textview description at pos 0, 2 edittext attempt & made vi ...
My need is the following: in a form, I have 7 fields and each one can be in error. When I lose focus on a field, I have to check if the data is valid ...
I have an EditText line on a user input form. A click on the EditText to launch a DatePickerDialog is working fine using a setOnTouchListener. The set ...
How can i display alert dialog when user touch on edittext. I had already tried with onFocusChange() and OnClick() but not working properly as expecte ...
Hello guys please help a Noob here that is just starting learn android. Basically I have an activity that have TextView and on every Textview I set on ...
I want the soft keyboard to disappear when the user touches anything other than the EditText on the screen. I've gone through SO posts on this questio ...