Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
67 views

I have this TextInputEditText in which the cursor remains visible even when I tap somewhere else on the screen. Is there any way to make the clearFocus() applicable for whole screen? <com.google....
Sushant Kumar's user avatar
0 votes
0 answers
41 views

For a project, I was analyzing part of a Java code structure for mobile applications. During the analysis, I realized that it didn't have a TextInputLayout, but right at the beginning it imports a ...
Pedro de Souza Foschiani's user avatar
1 vote
0 answers
32 views

I have one font which is cursive. This font is visible outside of my TextInput and also outSide of text component in react native IOS but in Android if letter is curved on left it is being cropped ...
Bhavika Thakkar's user avatar
0 votes
0 answers
20 views

I have a date formatter that takes in String input from a text field. It formats correctly. However, I am unable to delete the first "/" it keeps 3 strings in UI when using the keyboard ...
Kennedi Scott's user avatar
0 votes
1 answer
27 views

Iam looking for a TextInputEditText to support multiline text. The TextInputLayout implemented in an alertdialog. I tried everything... How to do ? :/ Thanks a lot! example of my code: val editText = ...
Sp Dev's user avatar
  • 1
1 vote
1 answer
41 views

I am trying to add a microphone button to a text field so that users can speak which will be translated to text. My layout looks as below: <com.google.android.material.textfield.TextInputLayout ...
cdczc's user avatar
  • 15
1 vote
1 answer
110 views

I'm working on a custom TextInputLayout in my Android project. I need to differentiate the padding between the floating hint (label) and the input text. When the hint is floating (acting as a label), ...
Banyu Santoso's user avatar
0 votes
1 answer
47 views

I need to remove the error underline in a TextInputEditText in Kotlin, but is not the base underline. It shows in red below the text over the base underline when the text has some syntax or spelling ...
jetberrocal's user avatar
0 votes
0 answers
77 views

I am using textInputlayout and textInputEditText from material design. Everything works fine until i use some of the custom fonts from the resource file. When user starts typing on the ...
MottaMaadi Bench's user avatar
0 votes
1 answer
41 views

I have a TextInputEditText in my fragment and whenever I type a text, it is being spelled inverted. SO if I try and type "Leonardo", it will be spelled "odranoeL". The cursor is ...
Leonardo Sibela's user avatar
0 votes
1 answer
52 views

The outline for an OutlinedBox TextInputLayout doesnt leave a space for the hint/label: <com.google.android.material.textfield.TextInputLayout xmlns:android="http://schemas.android.com/...
Kris B's user avatar
  • 3,578
0 votes
1 answer
63 views

The start text of textinput layout is getting cut Is it possible to remove the padding inside the textinput layout? TextInput style <style name="Widget.TextInputLayoutx" parent="...
Renz Manacmol's user avatar
0 votes
1 answer
50 views

I have a somewhat peculiar issue; I'm trying to block the paste option in a TextInputEditText. In fact, this works perfectly on my Pixel and other devices, but for some reason, it doesn't work for ...
Josué Alfonso Huerta's user avatar
0 votes
1 answer
91 views

I created an application that allows you to enter the content of the notification and select the date and time at which the notification should be displayed. Everything works fine, except that the ...
Layla98's user avatar
  • 11
0 votes
1 answer
168 views

I'm facing a weird issue while using a custom TextInputLayout where i have both hint text and placeholder text, in general scenario when the focus comes on the edit text then hint text float up and ...
Zafar Imam's user avatar
0 votes
2 answers
77 views

I determine the user's location and display it in a TextInputEditText field. The hint, however, remains in the background. What am I doing wrong? <com.google.android.material.textfield....
Captai-N's user avatar
  • 1,572
0 votes
2 answers
83 views

I want to change TextInputEditText type FilledBox When before Typing hint needs style Bold and color #FF0000 (RED) When after Typing hint style regular and color #000000 (Black) How Can I do
Juro's user avatar
  • 139
0 votes
1 answer
61 views

If have a following layout in xml. It's a part of bigger layout <androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/layoutInputNewText" android:...
Al Sh's user avatar
  • 61
0 votes
0 answers
42 views

I change the darkTheme as follows in the SettingsFragment under MainActivity and MainActivity is recreated normally. However, when I return to the MainFragment later, all the methods in the ...
Rüçhan Okal's user avatar
3 votes
2 answers
625 views

I have a weird bug in my app and I can't quite figure it out. I set up an edit text and changed the cursor color to white (default was dark blueish). This worked just fine, however as soon as I call ...
Sarah Multitasker's user avatar
0 votes
1 answer
22 views

I have an cardview adapter where each card is a form of filling in a mandatory value (if the user want to save the value) and an optional commentbox. This mandatory value and the optional commentbox ...
Rangnitt's user avatar
0 votes
0 answers
43 views

I want to achieve writing and editing long text like articles in a text box, and the whole page is scrollable. As a result, I use TextInputEditText which has a beautiful style and can scroll up down ...
Kartone's user avatar
  • 31
1 vote
0 answers
56 views

So I've been having this problem for a while now and can't figure out how to fix it. The same thing was happening with ExposedDropdownMenu and the arrow icon on the end, but I gave up eventually. I've ...
tbesvir's user avatar
  • 11
0 votes
2 answers
74 views

I'm trying to manage the hint in a TextInputLayout/TextInputEditText, moving it inside a rounded shape, but I can't manage to move it, like in the picture: enter image description here This is my ...
GundamRX91's user avatar
0 votes
1 answer
123 views

Binary XML file line #125 | Error inflating class I got this error with this code: <com.google.android.material.textfield.TextInputLayout android:id="@+id/group_ll" ...
Owlon's user avatar
  • 5
0 votes
1 answer
71 views

I am using TextInputLayout and TextInputEditText. I cant find a way to change this purple color. I searched about it too but i cant find so much. How can i change it?
Ahmet Kaan's user avatar
0 votes
1 answer
60 views

I am working on an Android application using Android Studio and I am using TextInputEditTexts to input registration fields. This is the code (Activity.xml file) <com.google.android.material....
Biagio Speranza's user avatar
0 votes
1 answer
453 views

I have met a problem when I try to use the TextInputLayout and TextInputEditText. Here is my code <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget....
James Cheung's user avatar
0 votes
1 answer
297 views

I downloaded a library. It is a Rich Text Editor Library. But when I replaced it with my old EditText, I couldn't access the text-related properties of my EditText. Like doAfterTextChanged, myEditText....
Ahmet Kaan's user avatar
1 vote
1 answer
428 views

This is my custom view: <?xml version="1.0" encoding="utf-8"?> <merge xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://...
Baia Asanidze's user avatar
3 votes
3 answers
242 views

I need to restrict the input that can be entered into a TextInputEditText to two capital letters and one or two digits, as in AB01, CS8, XY99 or ND5. So I wrote this method: /** * @return an ...
dentex's user avatar
  • 3,263
5 votes
1 answer
131 views

I have an SDK that contains MYSDKActivity. In this activity layout, I have 1 edit text where the user can enter his card number. Any android Client who is integrating this SDK, can use ...
Kishan Maurya's user avatar
3 votes
1 answer
390 views

This is okay in other versions of ndroid but this error occurs in my android version 8 (Oreo) Samsung Experience 9.0. Every time when I try to edit some existing data inside val lyricsEditor = view....
Rj Stha's user avatar
  • 45
0 votes
0 answers
173 views

Can someone help me to put an EditText input Method (android) open in fullscreen mode ? like this: Thank You for the attention
Pedro Moreira's user avatar
0 votes
0 answers
285 views

I try to add elevation to my TextInputLayout but android:elevation="10dp doesn't work! How can I do this? <com.google.android.material.textfield.TextInputLayout android:id="@+id/...
Mehrzad's user avatar
  • 123
5 votes
0 answers
87 views

I have the following layout: <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/...
igodie's user avatar
  • 537
3 votes
2 answers
645 views

TextInputLayout prefix has a small but noticeable spacing to the subsequent text in the TextInputEditText. In the following image, The first www is the prefix, the following are the regular text. I ...
Nuno Costa's user avatar
0 votes
1 answer
248 views

I am working on building an application in Android Studio and I have my Edittexts to accept user input (as int) and can pass it to the subsequent activity after clicking 'next'. However, my question ...
Adrienne Kline's user avatar
0 votes
1 answer
218 views

I want hide option Paste when click double or Long Click Edittext enter image description here I tried: edtSetName.customSelectionActionModeCallback = object : ActionMode.Callback { override ...
Duy Lê Thế's user avatar
0 votes
1 answer
191 views

I want to make extension function using TextInputEditText and call addTextChangedListener, but when i run the app and using the feature, my app crash. My goal is to create an extension function ...
Yosua Haloho's user avatar
0 votes
1 answer
463 views

I'm updating my app UI UX and I had to change the theme from AppCompat to Theme.MaterialComponents.Light.NoActionBar. Suddenly now icon for my Material widgets having an issue. First I found the ...
Mike's user avatar
  • 1,675
2 votes
1 answer
767 views

I have a TextInputEditText field to write numbers down. I want to add a drawable symbol to the end of my InputText which already worked. The problem is, that my text and the drawable are not the same ...
Sasuke's user avatar
  • 33
-1 votes
1 answer
276 views

How can I create an android EditText, where the hint goes above the text when you tap inside and start typing?
CookieMonster's user avatar
0 votes
1 answer
92 views

I created alert dialog with TextInputLayout programmatically in fragment. I need to hide password by default, TextInputLayout has toggle button and it is working as expected hide/show on click. I ...
Ritu's user avatar
  • 696
0 votes
1 answer
771 views

I'm trying to remove all padding of a TextInputLayout and a TextInputEditText, but with padding=0dp the line at the bottom of the TextInputEditText keeps it padding left and right. How I can remove ...
Víctor Martín's user avatar
3 votes
0 answers
261 views

Fatal Exception: java.lang.NullPointerException Attempt to invoke virtual method 'android.graphics.drawable.Drawable android.graphics.drawable.Drawable$ConstantState.newDrawable(android.content.res....
Gaurav Singh's user avatar
0 votes
0 answers
404 views

I have a TextInputLayout with a TextInputEditText inside. The problem I'm facing is that when I click on the edit text and start writing, the hint label of the layout goes on top of the edit text, ...
Meamine's user avatar
  • 11
1 vote
1 answer
204 views

How to change OutlinedBox hint and text RTL (support Persian and Arabic): <com.google.android.material.textfield.TextInputLayout android:id="@+id/phoneNumberLayout" style="@...
Sajad Hosseini's user avatar
0 votes
1 answer
66 views

TextInputEditText has a limit on the maximum number of characters entered, for example 30. It is necessary that when you enter the @ character, it counts as 2, i.e. if you enter only @, then you can ...
Alex Rain's user avatar
1 vote
1 answer
417 views

When trying to edit long text inside TextInputEditText, the focus goes always to the bottom, so the top (where actually the cursor is) stays out of the screen and you cannot see actually what you are ...
erkan.molla.dev's user avatar

1
2 3 4 5
7