]> git.ktnx.net Git - mobile-ledger.git/commitdiff
templates: use "number" input type for date component fields
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 13 Feb 2021 15:41:29 +0000 (17:41 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 18 Feb 2021 07:19:43 +0000 (07:19 +0000)
app/src/main/res/layout/template_details_header.xml

index 58b5535f1101fd8e5caf082ddfabdfd64db5e919..f610da339b54c6bcb462b0886215b114b127b8fe 100644 (file)
             android:layout_height="wrap_content"
             android:gravity="center_horizontal"
             android:hint="@string/date_year_hint"
+            android:inputType="number"
             />
     </com.google.android.material.textfield.TextInputLayout>
     <com.google.android.material.textfield.TextInputLayout
             android:layout_height="wrap_content"
             android:gravity="center_horizontal"
             android:hint="@string/date_month_hint"
+            android:inputType="number"
             />
     </com.google.android.material.textfield.TextInputLayout>
     <com.google.android.material.textfield.TextInputLayout
             android:layout_height="wrap_content"
             android:gravity="center_horizontal"
             android:hint="@string/date_day_hint"
+            android:inputType="number"
             />
     </com.google.android.material.textfield.TextInputLayout>
     <androidx.constraintlayout.widget.Barrier