textinputlayout Questions
6
I recently found a bug with Material Design TexInputLayout and the way it makes the endIcon visible.
Consider you have setup everything right and have end icon enabled like:
inputLayout.endIconMode...
Energy asked 21/10, 2021 at 3:22
4
I have a problem with my hint when I want write in the EditText my hint overlaps the OutlinedBox
so I don't understand what is the problem. So this my code
<com.google.android.material.textfie...
P asked 28/5, 2020 at 10:45
4
Solved
I have this XML layout:
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app=...
Sweven asked 11/2, 2019 at 9:23
6
Solved
This is my xml
<android.support.design.widget.TextInputLayout
style="@style/main_input_text"
android:layout_marginTop="@dimen/activity_medium_margin"
app:hintTextAppearance="@style/TextAppea...
Crosier asked 29/9, 2015 at 11:55
2
Solved
I'm using TextInputLayout. I set it's hint from string.xml to apply localization. So after changing the language from the drop down I use recreate() method which refreshes the whole activity compon...
Nylons asked 26/7, 2021 at 12:26
8
Solved
I am facing a weird issue, I have a InputTextLayout and an EditText in it, and I am trying to achieve something like this (shown in image below) (Image from material design guidlines: https://mater...
Karlow asked 2/8, 2017 at 6:56
3
I have tried many options available online but none of them seem to be working.
I have used this XML for this purpose.
<android.support.design.widget.TextInputLayout
android:layout_width="mat...
Supersede asked 18/7, 2016 at 10:1
6
Solved
I've an EditText enclosed within a TextInputLayout. I wish to display errors under the EditText, but aligned to the right end of the screen.
This is what I currently have:
The error is displayed...
Dinsdale asked 3/3, 2017 at 10:1
5
Solved
Would be possible have my hint text always top, as if it were focusable?
I tried this:
<android.support.design.widget.TextInputLayout
android:id="@+id/etSurnameInput"
android:layout_width=...
Sarracenia asked 29/11, 2016 at 12:42
4
The first picture is what I want. The second picture is what I have implemented.
As you can see, there is a padding to the bottom of the TextInputLayout which makes the gray background overflow pas...
Wiper asked 14/6, 2018 at 8:40
3
I want to create TextInputLayout with Widget.MaterialComponents.TextInputLayout.OutlinedBox style. I tried many ways but couldn't get the required result.
Here is my code.
TextInputLayout textInp...
Kazan asked 25/10, 2018 at 12:17
5
Solved
I am using EditText with TextInputLayout. This is the code, that I am using to display error.
private boolean validateEmail() {
String email = inputEmail.getText().toString().trim();
if (email...
Soaring asked 17/12, 2015 at 9:46
2
Whatever I do, I couldn’t manage to make my EditText multilined inside TextInputLayout (had to add InputLayout for character counter).
So when I enter something, it goes horizontally instead of goi...
Tameka asked 18/7, 2018 at 0:5
6
I am creating simple AppCompatEditText adding OnFocusChangeListener and putting it in the simple TextInputLayout.
When AppCompatEditText loosing focus it's content should be validate by isValidPar...
Jacksonjacksonville asked 26/8, 2016 at 10:39
4
Solved
I have implemented a TextInputLayout with a password field in the usual way:
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_con...
Indigoid asked 29/12, 2016 at 16:18
5
Solved
I'm trying to build a renderer for Xamarin Forms. The renderer needs to set the EditText underline color to "Active Color" when selected and "Hint Color" when deselected. My initial setup looks som...
Paradrop asked 7/12, 2017 at 5:45
1
I'm trying to make a login screen with TextInputLayouts. But I can't get errors to be shown. I'm getting the next error on the LogCat and the errors doesn't appear.
E/AppCompatResources: Failed to...
Vaulted asked 22/6, 2017 at 7:33
1
I'm trying to set a custom typeface on the Hint of a TextInputLayout. Therefore I'm using a custom subclass of TextInputLayout with a custom property MyHint. This property setter should format the ...
Photochromy asked 8/9, 2016 at 14:35
4
Solved
I have a TextInputLayout with an EditText inside it.
This is my xml:
<android.support.design.widget.TextInputLayout
android:id="@+id/textInputLayout"
android:layout_width="match_parent"
and...
Cycling asked 23/12, 2015 at 10:58
0
I have that layout:
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout
android:id="@+id/coordinatorLayout"
xmlns:android="http://schemas.android.com...
Ozonosphere asked 29/12, 2015 at 13:19
1
© 2022 - 2024 — McMap. All rights reserved.