Add rating bar in sketchwere

I don’t want to take more time for this. without vesting your time direct i write the code of create rating bar in linear view with steps.

1. First open your sketchwere ide and add a button and a linear_view.

2. After that go to onButton click event and add add source directly block and write the code given below.

 RatingBar tp = new RatingBar(this); linear1.addView(tp);

3. Now run your project.

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.