Android software implementation architecture.

Source: Internet
Author: User

(to be continued) A cursory look at the Yang Guangfu Video tutorial, the software architecture is organized as follows.

1. First introduce the side-slip menu, and the main content page.

The slide-by menu is registered in the first oncreate of the software. and set parameters, such as slide-slip mode and the number of pixels sliding.

2. Write the layout file for the slide-by menu and the main content page. and write these two layout files of the fragment file, and put these two fragment of the repeating place, abstracted out, forming the base class, extracting two methods, Initview and InitData.

3. In the main file, replace the previously written layout file with the Fragmentmanager method, you can implement the initial slide and main content file preliminary schema. and delete the layout code from the repeating layouts file.

4. On the main content page, implement Viewpager and Radiogroup.

Android software implementation architecture.

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.