Code examples for RatingBar

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
51:	RatingBar rate=new RatingBar(ctxt); 
-
53:	rate.setNumStars(3); 
54:	rate.setStepSize(1.0f); 
-
60:	rate.setLayoutParams(new LinearLayout.LayoutParams( 
-
76:	rate.setOnRatingBarChangeListener(l); 
-
85:	rate.setTag(new Integer(position)); 
86:	rate.setRating(rates[position]); 
Full Snippet Info
9
CodeRank
33:	RatingBar rb = new RatingBar(this,null,android.R.attr.ratingBarStyleSmall); 
34:	rb.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT)); 
35:	rb.setNumStars(5); 
36:	rb.setRating(rating); 
Full Snippet Info
6
CodeRank
68:	final RatingBar popupRatingBar = new RatingBar(context); 
69:	popupRatingBar.setNumStars(mRatingBar.getNumStars()); 
70:	popupRatingBar.setStepSize(mRatingBar.getStepSize()); 
71:	popupRatingBar.setRating(mRatingBar.getRating()); 
72:	popupRatingBar.setOnRatingBarChangeListener(this); 
-
74:	final AlertDialog dialog = new AlertDialog.Builder(context).setView(popupRatingBar) 
-
76:	popupRatingBar.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, 
Full Snippet Info
6
CodeRank
47:	RatingBar rb = new RatingBar(this,null,android.R.attr.ratingBarStyleSmall); 
48:	rb.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT)); 
49:	rb.setNumStars(5); 
50:	rb.setRating(rating); 
Full Snippet Info
6
CodeRank
45:	RatingBar rb = new RatingBar(this,null,android.R.attr.ratingBarStyleSmall); 
46:	rb.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT)); 
47:	rb.setNumStars(5); 
48:	rb.setRating(rating); 
Full Snippet Info
6
CodeRank
52:	this.mPoints.setNumStars(5); 
53:	this.mPoints.setStepSize((float)0.5); 
-
55:	this.mPoints.setRating(stars); 
Full Snippet Info
6
CodeRank
47:	RatingBar rb = new RatingBar(this,null,android.R.attr.ratingBarStyleSmall); 
48:	rb.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT)); 
49:	rb.setNumStars(5); 
50:	rb.setRating(rating); 
Full Snippet Info
6
CodeRank
39:	RatingBar rate=new RatingBar(ctxt); 
-
41:	rate.setNumStars(3); 
42:	rate.setStepSize(1.0f); 
-
48:	rate.setLayoutParams(new LinearLayout.LayoutParams( 
-
64:	rate.setOnRatingBarChangeListener(l); 
-
73:	rate.setTag(new Integer(position)); 
74:	rate.setRating(rates[position]); 
Full Snippet Info
6
CodeRank
17:	RatingBar rs=new RatingBar(table.getContext(),null,R.attr.ratingBarStyleSmall); 
18:	rs.setIsIndicator(true); 
-
20:	rs.setFocusable(false); 
-
22:	rs.setRating((((Number)fieldValue)).floatValue()); 
Full Snippet Info
6
CodeRank
51:	RatingBar rate=new RatingBar(ctxt); 
-
53:	rate.setNumStars(3); 
54:	rate.setStepSize(1.0f); 
-
60:	rate.setLayoutParams(new LinearLayout.LayoutParams( 
-
76:	rate.setOnRatingBarChangeListener(l); 
-
85:	rate.setTag(new Integer(position)); 
86:	rate.setRating(rates[position]); 
Full Snippet Info
6
CodeRank
75:	LayoutParams var15 = (LayoutParams)var8.getLayoutParams(); 
-
77:	int var17 = var8.getMeasuredHeight(); 
-
82:	int var22 = var8.getMeasuredWidth(); 
-
86:	var8.layout(var16, var20, var23, var25); 
Full Snippet Info
6
CodeRank
71:	ratingBar.setEnabled(false); 
72:	ratingBar.setNumStars(1); 
73:	ratingBar.setMax(1); 
-
77:	ratingBar.setProgress(rated ? 1 : 0); 
Full Snippet Info
5
CodeRank
47:	e.putFloat(MY_RATE, rb.getRating()); 
-
59:	rb.setRating(0); 
Full Snippet Info
5
CodeRank
47:	ratingBar.setClickable(false); 
48:	ratingBar.setRating((float)this.items.get(position).getStars()); 
Full Snippet Info
5
CodeRank
103:	driRating.setNumStars(Integer.parseInt(record.getLevel())); 
104:	driRating.setRating(Float.parseFloat(record.getLevel())); 
Full Snippet Info
4
CodeRank
19:	ratingRatingBar.setProgress(dumplingRating.getRating().getValue()); 
20:	ratingRatingBar.setOnRatingBarChangeListener(this); 
Full Snippet Info
5
CodeRank
37:	return (int) this.ratingBar.getRating(); 
Full Snippet Info
5
CodeRank