Explorar el Código

fix correct inputType for measure value

MrOzOn hace 5 años
padre
commit
c307f2ab11
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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>