Merge pull request #1590 from Andries-Smit/fix/number-picker-error-alligment
Fix: number picker error alignment
This commit is contained in:
commit
be604bc3b3
2 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
app:errorEnabled="true"
|
app:errorEnabled="true"
|
||||||
|
app:errorIconDrawable="@null"
|
||||||
app:hintEnabled="false"
|
app:hintEnabled="false"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintLeft_toLeftOf="parent"
|
||||||
|
@ -24,6 +25,8 @@
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:imeOptions="actionDone"
|
android:imeOptions="actionDone"
|
||||||
android:inputType="number"
|
android:inputType="number"
|
||||||
|
android:paddingStart="2dp"
|
||||||
|
android:paddingEnd="2dp"
|
||||||
tools:text="1" />
|
tools:text="1" />
|
||||||
|
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
app:errorEnabled="true"
|
app:errorEnabled="true"
|
||||||
|
app:errorIconDrawable="@null"
|
||||||
app:hintEnabled="false"
|
app:hintEnabled="false"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintLeft_toLeftOf="parent"
|
||||||
|
|
Loading…
Reference in a new issue