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
51 votes
31 answers
77k views

I'm trying to use TextInputEditText from Material Design (https://github.com/material-components/material-components-android/blob/master/docs/components/TextInputLayout.md) and I'm getting runtime ...
grasdy's user avatar
  • 713
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
0 votes
0 answers
76 views

I'm trying to write a custom AccessibilityDelagate for a TextInputLayout; this contains a TextInputEditText that has a helper text labeled as "required indicating that it is going to be a ...
MajinKenn's user avatar
  • 109
0 votes
1 answer
26 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
0 votes
0 answers
73 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
46 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
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
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
2 answers
79 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
9 votes
1 answer
11k views

I am having a Text Input Layout with Text Input Edit Text inside. The Text Input Edit Text has a Drawable at the end. What i want to achieve is make the drawable at the end do something when it is ...
Emmanuel Njorodongo's user avatar
4 votes
4 answers
6k views

I have some trouble with a TextInputEditText and his hint message if I use the last material library version com.google.android.material:material:1.2.0-alpha02 .. I set 5 lines scrollable ...
aeroxr1's user avatar
  • 1,084
10 votes
3 answers
3k views

I am trying to customize materials TextInpuLayout.OutlinedBox and TextInputEditText. My current state is like following image What I want to do is remove the background of the hint label so that it ...
ThizzHead's user avatar
  • 101
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
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
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
0 votes
1 answer
58 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
1 answer
295 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
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
12 votes
6 answers
21k views

I have compiled with following design library and it is displaying password HIDE/SHOW button at the right of EditText compile 'com.android.support:design:24.2.1' <android.support.design.widget....
Pratik Butani's user avatar
0 votes
0 answers
284 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
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
10 votes
4 answers
10k views

I want to apply a border to a TextInputLayout as shown in the image. Right now, it looks like this: But, I need it to look like this (i.e. label is placed within border): The code that I have ...
Riddhi Daftary's user avatar
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

1
2 3 4 5
7