I want to make a custom rating bar, but instead of showing the same image for each rating icon, I want to display numbers like 1, 2, 3, 4, 5


stern wiswakama

I want to make a custom rating bar, but instead of showing the same image for each rate icon, I want to show numbers like 1, 2, 3, 4, 5. I went through this and this . So I was able to create a custom rating bar using the same image. But I want different images with different ratings. Any help would be greatly appreciated.

Edit 1: Not like this: ,default

i want itfull of green, full of grey

Vladyslav Matviienko

Create a custom view by extending LinearLayoutand adding 5 to TextViewsthe grey background . These clicks are handled TextViewsby setting the green background TextViewsto the left of the clicked object and the background of the clicked object . Also saves the clicked index textViewas the currently selected score.

Related


I want to make border like attached image

username I want to make border like attached image in my app. Please help me as well. The original screen is the same as the code below. I am going to make the first screen image. tell me the changes in the xml. How can I make the border like a scary image? cu

I want to make border like attached image

username I want to make border like attached image in my app. Please help me as well. The original screen is the same as the code below. I am going to make the first screen image. tell me the changes in the xml. How can I make the border like a scary image? cu

I want to show icon or image instead of "text only" in Flutter

Dhanraj Nimbalkar I am using this library . I am passing it a string containing Dictionary and it gives the corresponding graph. I want to display an image or icon instead of the text provided in the string. Shriya Pandya You need to make changes in the librar

I want to show icon or image instead of "text only" in Flutter

Dhanraj Nimbalkar I am using this library . I pass it a string containing Dictionary and it provides the graph accordingly. I want to display an image or icon instead of the text provided in the string. Shriya Pandya You need to make changes in the library fil

I want to show icon or image instead of "text only" in Flutter

Dhanraj Nimbalkar I am using this library . I pass it a string containing Dictionary and it provides the graph accordingly. I want to display an image or icon instead of the text provided in the string. Shriya Pandya You need to make changes in the library fil

Display multiple rating stars jquery bar rating in laravel 5

Tom Cool I want to display multiple star ratings. I'm having trouble getting the correct rating value in a jQuery loop. My html looks like this: <select id="example{{$review->id}}" class="example" review-id="{{$review->id}}" data-rating="{{$review->rating}}">