Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bravoborja/simpleratingbar
SimpleRatingBar allows us to create a RatingBar with margin between items
https://github.com/bravoborja/simpleratingbar
android customview kotlin kotlin-android kotlin-library library rating-bar
Last synced: about 2 months ago
JSON representation
SimpleRatingBar allows us to create a RatingBar with margin between items
- Host: GitHub
- URL: https://github.com/bravoborja/simpleratingbar
- Owner: bravoborja
- License: apache-2.0
- Created: 2017-03-04T15:32:48.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-02T17:23:22.000Z (over 7 years ago)
- Last Synced: 2023-10-20T02:55:42.056Z (about 1 year ago)
- Topics: android, customview, kotlin, kotlin-android, kotlin-library, library, rating-bar
- Language: Kotlin
- Size: 181 KB
- Stars: 144
- Watchers: 3
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SimpleRatingBar
SimpleRatingBar allows us to create a RatingBar with margin between items
## Download
To add the SimpleRatingBar library to your Android Studio project, simply add the following gradle dependency:
```java
compile 'com.borjabravo:simpleratingbar:1.0.0'
```## Usage
To use the SimpleRatingBar on your app, add the following code to your layout:
```xml
```
You can choose other properties in order to show custom drawables of SimpleRatingBar, like **ratingEmpty**, **ratingHalf** and **ratingFilled**.
![SimpleRatingBar](SimpleRatingBar.png)
## Acknowledgement
Project based in https://github.com/Ornolfr/RatingViewLicense
=======Copyright 2017 Borja Bravo Álvarez
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.