fix date fields

This commit is contained in:
Page Asgardius 2022-10-02 17:13:18 -07:00
parent 3d44114747
commit 6cbcedd2fe

View file

@ -30,6 +30,7 @@
android:layout_weight="1" android:layout_weight="1"
android:focusable="true" android:focusable="true"
android:hint="@string/share_date" android:hint="@string/share_date"
android:maxLength="2"
android:inputType="date" android:inputType="date"
android:textColorHint="?attr/colorOnSecondary" android:textColorHint="?attr/colorOnSecondary"
tools:ignore="MissingConstraints" /> tools:ignore="MissingConstraints" />
@ -41,6 +42,7 @@
android:layout_weight="1" android:layout_weight="1"
android:focusable="true" android:focusable="true"
android:hint="@string/share_month" android:hint="@string/share_month"
android:maxLength="2"
android:inputType="date" android:inputType="date"
android:textColorHint="?attr/colorOnSecondary" android:textColorHint="?attr/colorOnSecondary"
tools:ignore="MissingConstraints" /> tools:ignore="MissingConstraints" />
@ -52,6 +54,7 @@
android:layout_weight="1" android:layout_weight="1"
android:focusable="true" android:focusable="true"
android:hint="@string/share_year" android:hint="@string/share_year"
android:maxLength="4"
android:inputType="date" android:inputType="date"
android:textColorHint="?attr/colorOnSecondary" android:textColorHint="?attr/colorOnSecondary"
tools:ignore="MissingConstraints" /> tools:ignore="MissingConstraints" />
@ -81,6 +84,7 @@
android:layout_weight="1" android:layout_weight="1"
android:focusable="true" android:focusable="true"
android:hint="@string/share_hour" android:hint="@string/share_hour"
android:maxLength="2"
android:inputType="date" android:inputType="date"
android:textColorHint="?attr/colorOnSecondary" android:textColorHint="?attr/colorOnSecondary"
tools:ignore="MissingConstraints" /> tools:ignore="MissingConstraints" />
@ -92,6 +96,7 @@
android:layout_weight="1" android:layout_weight="1"
android:focusable="true" android:focusable="true"
android:hint="@string/share_minute" android:hint="@string/share_minute"
android:maxLength="2"
android:inputType="date" android:inputType="date"
android:textColorHint="?attr/colorOnSecondary" android:textColorHint="?attr/colorOnSecondary"
tools:ignore="MissingConstraints" /> tools:ignore="MissingConstraints" />