techery / ProperRatingBar

Inspired by stock android RatingBar. Simpler, has features that original lacks.
409 stars 70 forks source link

Setting drawable tick programmatically #9

Closed Ivolian closed 8 years ago

Ivolian commented 8 years ago
  1. Create proper drawables with Android-Iconics, such as: private Drawable getSelectedDrawable() { return new IconicsDrawable(this) .icon(GoogleMaterial.Icon.gmd_star) .color(getResources().getColor(R.color.md_orange_300)) .sizeDp(28); }
  2. Set tickSelectedDrawable and tickSelectedDrawable.
  3. Call redrawChildren.
Den-Rimus commented 8 years ago

Sorry for being unresponsive for a long time.

Yes, it would be awesome to have ability to set those Iconics drawables programmatically.

Related to #15

Den-Rimus commented 8 years ago

Renamed as issue is not about iconics but ability to programmatically set drawable.

Den-Rimus commented 8 years ago

Will close - further tracking is to be held in #15