I am creating an EditText box with line numbers on the side. To achieve this, I have code in the onTextChanged method of the addTextChangedListener that updates
I am doing show or hide password using below code pwdLayout.setEndIconMode(TextInputLayout.END_ICON_PASSWORD_TOGGLE); I am able to achieve show or hide passwor
I am making a program to get Values from edittext and store it in an array then I want to display that array on screen and here is my command Edi
I have problem with the edit text. I have edit text inside child view for each group, and I can add the new group dynamically, when I key in the edit text for t
I have to create a group of EditText s that each can contains 1 character of a pin code with auto flow between like in the following image - when user tapping
I am working on login screen where I want to implememt material edit text with following view : Following is my code : <com.google.android.material.textf
I Want to set one textwatcher for dynamic more than Edittext .if I am Creating Dynamic Edittext I want to use One textWatcher for all Dynamic Edittext.if anybod
I want to change the text and background color of error message for invalid email address. I tried but my text message doesn't display any content. here is my c
I am using EditText, and it has good amount of matter to scroll and read. Now my problem is, it's scrolling slow. So, i want increase it's scrolling speed. If a
I want to make textinputlayout uneditable by user and when user click on it i want to perform an action. I added android:focusable="false" inside edittext of te
I have to switch between two layouts frequently. The error is happening in the layout posted below. When my layout is called the first time, there doesn't occu
I use the following code to perform search when user types in an EditText : EditText queryView = (EditText) findViewById(R.id.querybox); queryView.addTextChan
I am working on a application which is having Arabic and English language like user can switch to any language between these two,My problem comes when i change
I have a email and password edit text. When Google Autofills popup, the text is not visible in dark mode/night mode. The rest of the app supports night mode wit
I am trying to display @ user mentions like facebook or twitter. I am able to implement this functionality. But i have a ui problem. If edittext is at the botto
I am trying to display @ user mentions like facebook or twitter. I am able to implement this functionality. But i have a ui problem. If edittext is at the botto
I need to draw a rounded rectangle in the Android UI. Having the same rounded rectangle for TextView and EditText would also be helpful.
I read that Android automatically saves the content of EditText objects when an application is about to be stopped or killed. However, in my app the content of
How do I convert a string into an integer? I have a textbox I have the user enter a number into: EditText et = (EditText) findViewById(R.id.entry1); String he