RSS

Android Rating Bar

13 Sep

logo

Join Community: http://Community.AppyBuilder.com – Get FREE Month HERE

Need to build Android apps without coding? Visit http://AppyBuilder.com

A RatingBar is a component that shows a rating in stars. The user can touch/drag or use arrow keys to set the rating when using the default size RatingBar.

This is a User Interface component that can be added to screen layout. It contains default properties such as number of stars, the current selection, color, etc:

For this tutorial, as shown above, we are setting defaults NumStars to 5, a start-up Rating of 4.5, StepSize of .5 (half stars selection) , StarColor of Red, and AllowSelection to true, allowing user to touch & drag & select number of stars for rating.

Blocks

Event block AfterSelecting gets triggered when user touches and drags the stars. As dragging is done, this block will return the Rating (number of stars) selected.

For additional tutorial, please follow link to http://help.AppyBuilder.com

Need mare info? Post question here: http://Community.AppyBuilder.com

Website: http://AppyBuilder.com

Share, Like us below 🙂

Advertisements
 
Leave a comment

Posted by on September 13, 2017 in Uncategorized

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: