Simple Summary of Android learning

Source: Internet
Author: User

1: The main View control:

Text: TextView

Image: Imgview

Video: Surfaceview ...

2: Control

Popupwindow implementation similar to left navigation bar

Tabhost implement the top or bottom tab

3: Component

(1) Activity implementation Interface display, binding view.

(2) The service completes the user-specified operation in the background.

(3) ContentProvider makes the specified data set for an application available to other applications. Other apps can get or deposit data from the content provider through the Contentresolver class.

(4) Broadcast receiver your app can use it to filter external events to receive and respond only to external events of interest, such as when the phone is being called, or when the data network is available. The broadcast receiver does not have a user interface. However, they can start an activity or serice to respond to the information they receive, or use Notificationmanager to notify the user. Notifications can be used in a number of ways to attract users ' attention, such as flashing back lights, shaking, playing sounds, and so on. In general, a persistent icon is placed on the status bar, and the user can open it and get the message

4:listview

Use Asynctask to implement a load of data.

Batch loading can be achieved by setting onscroll monitoring

5: Layout

Linear layout: Linerlayout
Table layout: Tablelayout
Relative layout: relativelayout
Absolute layout: Absolutelayout
Frame layout: Framelayout

6:traceview performance monitoring of the angdroid system

7: Animation

Tween Animation

Frame animation

Simple Summary of Android learning

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.