Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
1 answer
146 views

Custom EditText Design with boxes number

does someone know how to make an EditText with the design below (or similar)? I appreciate any help you can provide.
groff07's user avatar
  • 2,400
0 votes
2 answers
222 views

Android remove focus of TextEdit when Enter is pressed

I have some TextEdit inside a LinearLayout and I want to remove the cursor after I hit enter on them. Code <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:...
Andy's user avatar
  • 320
1 vote
1 answer
777 views

Showing the MaterialDatePicker when clicking into the Material Outlined Text Field

I am working on a small app where the user can start an activity. By doing that, a text input shall is shown where todays date is set by default. When clicking into the text field, the ...
Zudy's user avatar
  • 63
4 votes
1 answer
362 views

how to change material TextInputLayout hint color on empty edittext?

I'm trying to change TextInputLayout hint color in case it's edittext empty and not focused but I can't do that, and here is my layout <com.google.android.material.textfield.TextInputLayout ...
Amin's user avatar
  • 503
1 vote
1 answer
535 views

Getting overlapping hint over com.google.android.material.textfield.OutlinedBox

While working with com.google.android.material.textfield.TextInputLayout, I am getting overlapping hint over the outlined box. This is the style I'm using: Widget.MaterialComponents.TextInputLayout....
Partha Chakraborty's user avatar
1 vote
2 answers
828 views

How to get am/pm values from google material time picker in kotlin

binding.etFirstTime.setOnClickListener{ val picker = MaterialTimePicker.Builder () .setTimeFormat(TimeFormat.CLOCK_12H) . setHour( 12 ) ....
Josus Praiser's user avatar
0 votes
1 answer
267 views

Prevent Android Boxed TextInputLayout scroll to bottom suddenly on cursor positioning

I hava a long TextInputEditText in a TextInputLayout in a ScrollView, When I click at the start of the text to set the cursor position on the first line, but suddenly screen scrolls to bottom. see GIF ...
Mneckoee's user avatar
  • 3,054
0 votes
1 answer
1k views

How to set a SpannableString to an EditText in an Android Material TextInputLayout?

I can't find a way to set the text of an EditText in a Material TextInputLayout to a SpannableString and have the styling actually show up on screen. I've tried every combination of EditText inside a ...
Michael P's user avatar
  • 245
-1 votes
1 answer
168 views

material text input style has problem with arabic language

As it is shown in the picture , you see the text label is combined with the top line , I need the gap on the right side , how can I acheive that?
Sina Nakhaei's user avatar
1 vote
3 answers
73 views

Android EditText use the entire activity height after title

I am developing an android app to support posting articles by the user and have an EditText for the same and below is my layout. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/...
xopehir780's user avatar
0 votes
1 answer
91 views

How can I click a drawable svg in TextinputEdittext?

I have an svg on an textinputedittext. It is on the right side of the edittext. I want to click and get an action from it. This is xml of edittexxt: <com.google.android.material.textfield....
Muhittin Kaya's user avatar
1 vote
0 answers
1k views

How to change bubble cursor color in Android Material EditText for Android for Android Oreo and above?

I want to change the color of bubble of the cursor on my EditText, from blue to green. I used the code below in style.xml <style name="TextInputLayoutAppearance" parent="Widget....
Agung Laksana's user avatar
1 vote
1 answer
508 views

How to change EditText style in AlertDialog?

I added Cyanea (a theme engine) into my app and the EditText style changed (see images, color doesn't matter. The first picture is how it looks now, and the second one is what I want the dialog to ...
tutaf's user avatar
  • 133
4 votes
1 answer
803 views

how to remove ` frequently used email ` toast on my edit text?

as you can see from the image above, there is something like a toast with text "Frequently used email" . whenever I complete typing an email then that toast will appear, I don't think I make ...
Agung Laksana's user avatar
9 votes
3 answers
7k views

Show or Hide text using password toggle

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 password. But eye icon with cross sign is ...
Sandhiya's user avatar
  • 349

15 30 50 per page