Update in ...
Control:
First, button
Drag, pull, graphical operation
Button accordingly:
Summary of this issue:
One
The sudden discovery of warning during Android development
EditText reported "This text field does not specify an inputtype or a hint"
Reason:
EditText need to specify default input type
Add Android:inputtype= "Number|phone" to designate as a number or phone
The InputType types are as follows:
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
Two
Add controls manually add or drag in the layout add, add EditText after the layout is not good, the other controls easy to use, and then said the following paragraph
Exception raised during rendering:java.lang.System.arraycopy ([Ci[cii) V
Exception details is logged in Window > Show View > Error Log
Check the "Android version to use when rendering layouts" and make sure your ' re not using a version of ' ends in "W Droid Wear (e.g. API 20:android 4.4W). I don ' t believe Wear supports EditText.
Modify the selection of different APIs, and reduce the version can be
Three
How do i show all the APIs (including the lower version) and can I download them? As follows:
Yes: Tools-> Options, tick Force https//. Sources .....
"2" Android learning controls and layouts