In the process of app development, we will use a lot of controls, understand the characteristics of the various controls, skilled use of them is very important, this article will detail the use of several common controls, nonsense, not much to say, directly on the code.
First, TextView
Second, EditText
Third, ImageView
Iv. ProgressBar
Wu, Alertdialog
Six, detailed four kinds of basic layout
A rich interface not only needs to have a plurality of controls, but also to choose the appropriate layout so that each control has a non-flocculation on the interface, so that the interface looks better. There are four basic layouts in the Android development process: LinearLayout, Relativelayout, Framelayout, and Tablelayout.
(1) LinearLayout
(2) Relativelayout
(3) Framelayout
(4) Tablelayout
UI development for the Android Development series