瀏覽代碼

fix correct inputType for measure value

MrOzOn 5 年之前
父節點
當前提交
c307f2ab11
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      feature_measure/src/main/res/layout/fragment_edit_measure.xml

+ 2 - 1
feature_measure/src/main/res/layout/fragment_edit_measure.xml

@@ -71,7 +71,8 @@
                 <com.google.android.material.textfield.TextInputEditText
                     android:layout_width="match_parent"
                     android:layout_height="wrap_content"
-                    android:inputType="numberDecimal"
+                    android:digits="0123456789*./"
+                    android:inputType="date"
                     android:singleLine="true" />
 
             </com.google.android.material.textfield.TextInputLayout>