The sudden discovery of warning during Android development
EditText reported "This text field does not specify an inputtype or a hint" cause: EditText need to specify default input type add android:inputtype= "Number|pho Ne ", which indicates that a number or telephone is specified The inputtype types are as follows:Text types, many uppercase, lowercase, and number symbols.
Android:inputtype= "None"
Android:inputtype= "Text"
Android:inputtype= "Textcapcharacters"
Android:inputtype= "Textcapwords"
Android:inputtype= "Textcapsentences"
Android:inputtype= "Textautocorrect"
Android:inputtype= "Textautocomplete"
Android:inputtype= "Textmultiline"
Android:inputtype= "Textimemultiline"
Android:inputtype= "Textnosuggestions"
Android:inputtype= "Texturi"
Android:inputtype= "Textemailaddress"
Android:inputtype= "Textemailsubject"
Android:inputtype= "Textshortmessage"
Android:inputtype= "Textlongmessage"
Android:inputtype= "Textpersonname"
Android:inputtype= "Textpostaladdress"
Android:inputtype= "Textpassword"
Android:inputtype= "Textvisiblepassword"
Android:inputtype= "Textwebedittext"
Android:inputtype= "TextFilter"
Android:inputtype= "Textphonetic"
Numeric type
Android:inputtype= "Number"
Android:inputtype= "Numbersigned"
Android:inputtype= "Numberdecimal"
Android:inputtype= "Phone"//dial pad
Android:inputtype= "datetime"
Android:inputtype= "Date"//Date keyboard
Android:inputtype= "Time"//Timing keyboard