android RatingBar touch move changed listener -


i can't catch event when ratingbar stars change.
used setonratingbarchangelistener, in case catch rate of ratingbar on action_up.

i want make so:

when rate==1 star's color color1,
when rate==2 stars' color color2,
when rate==3 stars' color color3,
when rate==4 stars' color color4,
when rate==5 stars' color color5.

it should change, when touch action_move.

in rating bar can directly find no of rating listener in rating string can no of rating.

 ratingbar.setonratingbarchangelistener(new onratingbarchangelistener() {         public void onratingchanged(ratingbar ratingbar, float rating,                                     boolean fromuser) {              ratings = string.valueof(rating);          }     }); 

Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -