Android Development 4-Achieve nine Gongge click-to-jump (draft)

Source: Internet
Author: User

Asked the great God, the great God said with fragment or activity can be achieved, then you have to consider.

First of all, design ideas

The following preliminary ideas,

1, modeled after the promotion of Android teach you to create cool Viewpagerindicator is not only high imitation miui, another activity jump, this too many do not intend to use this, and so see what problems to consider

2, the content area is viewpager+fragmentpageradapter, inside fragment between, frament and activity between the communication what not to consider, we now just want a UI, 2333

3, because it has done a similar percentage of the front-end layout, so here directly control fragment and TitleBar accounted for the percentage of the screen, TitleBar always exists is textview content according to the change of fragment object

4,button and items Click events Control fragment jumps and title text changes

Android Development 4-Achieve nine Gongge click-to-jump (draft)

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.