Merge pull request #1590 from Andries-Smit/fix/number-picker-error-alligment

Fix: number picker error alignment
This commit is contained in:
Milos Kozak 2022-04-08 15:59:05 +02:00 committed by GitHub
commit be604bc3b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -11,6 +11,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
app:errorEnabled="true"
app:errorIconDrawable="@null"
app:hintEnabled="false"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
@ -24,6 +25,8 @@
android:gravity="center"
android:imeOptions="actionDone"
android:inputType="number"
android:paddingStart="2dp"
android:paddingEnd="2dp"
tools:text="1" />
</com.google.android.material.textfield.TextInputLayout>

View file

@ -11,6 +11,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:errorEnabled="true"
app:errorIconDrawable="@null"
app:hintEnabled="false"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintLeft_toLeftOf="parent"