Posts

Showing posts with the label Smiley Ratings

Smiley Rating Library For Android

Image
SmileyRating is a simple rating bar for android. It displays animated smileys as rating icon. Drawn completely using android canvas Inspired by Bill Labus Demo Integration Integrating SmileyRating in your project is very simple. Step 1: Add this dependency in your project's build.gradle file which is in your app folder compile ' com.github.sujithkanna:smileyrating:1.6.8 '   add this to your dependencies. Step 2: Now place the SmileyRating in your layout. Note: The height of the SmileyRating will be automatically adjusted according to the width of this component. < com .hsalf.smilerating.SmileRating android : id = " @+id/smile_rating " android : layout_width = " match_parent " android : layout_height = " wrap_content " /> Step 3: Initialize your view SmileRating smileRating = ( SmileRating ) findViewById( R . id . smile_rating); Set this SmileyS...