Basic interface controls

Most interface controls are in the android.view and android.widget packages.
android.view.View is their parent class, as well as the Dialog series, android.app.Dialog is the parent class, and so on.
Android native controls are generally declared in the xml file under res/layout . Then use super.setContentView(R.layout.a layout file name) to load in the activity. To get the reference of the control in the activity, use super.findViewById(R.id.control id) . Then use the reference to operate on the control. Such as adding monitoring, set the content. Of course, you can also use the control dynamically through code .

 

one. view subclass structure

two. textView subclass structure

three. viewGroup subclass structure

Four. frameLayout subclass structure

Fives. Dialog subclass structure

 

Part 1: Basic Controls

1. text class

2. button class

3. pictures

4. time control

5. progress display

6. navigation

7. video media

8. dialog

 

Part 2: Layout Classes

1. layout class

2. Layout classes that require adapters

3. scroll bar

 

Part 3: Others

1. Web page

2. animation

3. other

 

http://limingnihao.iteye.com/blog/851369

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326768026&siteId=291194637