"Android Beginner" 8, progress bar (ProgressBar, SeekBar, Ratingbar)

Source: Internet
Author: User

Start Android

Now that each control is used in much the same way, it is decided to speed up the learning steps, and this part of the note is written briefly.

1. Progress bar in Android

2, the relationship between the various progress bars

3, ProgressBar the style of the progress bar

4. How to use ProgressBar

The style of ProgressBar

There are two major categories Progress bar main Properties progress bar Max: Max Current progress: Progress value of minor progress: secondaryprogress 1, Seekbar main attribute 1) progress bar Max: Max 2) Current progress: progress 3) value of minor progress: SecondaryProgress2, OnSeekBarChangeListener3, Rati Ngbar Main Properties 4, Onratingbarchangelistener 1) onprogresschanged 2) Onstarttrackingtouch 3) Onstoptrackingtouc H RATINGBAR1, Number of stars: NumStarts2, current level: PROGRESS3, STEPSIZE4, listener onratingchanged (Ratingbar ratingbar,float Rating,boolean Formuser)
Related Article

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.