Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Smart App Rate | 636 | a year ago | 11 | February 13, 2022 | 5 | apache-2.0 | Kotlin | |||
An Android library that encourages users to rate the app on the Google Play. | ||||||||||
Google Speech V2 | 424 | 6 years ago | 5 | |||||||
:speech_balloon: Reverse Engineering Google's Speech To Text API (v2) | ||||||||||
Caliban | 412 | a year ago | 10 | September 12, 2020 | 20 | other | Python | |||
Research workflows made easy, locally and in the Cloud. | ||||||||||
Structured Data Json Ld | 212 | 7 months ago | 3 | |||||||
Collection of structured data snippets in Google preferred JSON-LD format. | ||||||||||
Google_currency | 181 | 107 | 6 | 2 years ago | 20 | March 26, 2018 | mit | HTML | ||
Ruby Money::Bank interface for the Google Currency exchange data | ||||||||||
Review Reporter | 136 | 2 years ago | Java | |||||||
Bot for reporting Google Play Reviews on Slack with possibility to fast reply and creating Jira issues from low rating reviews. | ||||||||||
Android Ratingreviews | 103 | 2 years ago | 1 | February 25, 2019 | 9 | apache-2.0 | Java | |||
Simple star rating system bars, a view similar to the ones seen on Google Playstore. ⭐🌟✨ | ||||||||||
Rate Me | 84 | 5 years ago | 9 | March 13, 2015 | 5 | mit | Java | |||
Android library that shows a dialog to let the user rate this app in the Google Play store | ||||||||||
Distbelief | 79 | 4 years ago | 1 | August 22, 2018 | 5 | gpl-3.0 | Python | |||
Implementing Google's DistBelief paper | ||||||||||
Apprater | 75 | a year ago | 2 | apache-2.0 | Java | |||||
Android library that lets you prompt users to rate your application on their appstore (e.g. Google Play) |
RatingReviews (Rating and Reviews) is a widget and layout that adds a "Rating & Reviews" bar to your app, similar to the ones seen on Google Play Store and Apple App Store. It provides a beautiful visual summary of the number of raters along with the ratings they gave on a specific item. Of course, it is also highly customizable to fit your app themes! ⭐🌟✨
![]() |
![]() |
![]() |
![]() |
---|---|---|---|
playstore (style1) | appstore (style2) | playstore (new rounded) | customized (style2) |
![]() |
![]() |
![]() |
---|---|---|
gradient (rounded) | gradient | playstore (old) |
All of these samples can be found in app
You can also:
Make sure your project is migrated to AndroidX.
In your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
In your app build.gradle:
implementation 'com.github.Inconnu08:android-ratingreviews:1.2.0'
Using RatingReviews is simple. Here is an example:
java
RatingReviews ratingReviews = (RatingReviews) findViewById(R.id.rating_reviews);
int colors[] = new int[]{
Color.parseColor("#0e9d58"),
Color.parseColor("#bfd047"),
Color.parseColor("#ffc105"),
Color.parseColor("#ef7e14"),
Color.parseColor("#d36259")};
int raters[] = new int[]{
new Random().nextInt(100),
new Random().nextInt(100),
new Random().nextInt(100),
new Random().nextInt(100),
new Random().nextInt(100)
};
ratingReviews.createRatingBars(100, BarLabels.STYPE1, colors, raters);
xml
<com.taufiqrahman.reviewratings.RatingReviews
xmlns:bar="http://schemas.android.com/apk/res-auto"
android:id="@+id/rating_reviews"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="42dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/textView"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.499"
bar:animation="true"
bar:max_value="100"
bar:show_label="true"
bar:spaces="0dp"
bar:text_color="#333333"
bar:text_size="10sp"
bar:width="15dp" />
The table below shows the parameters and the attributes for furthur customization:
Attribute | Description | Options (examples) |
---|---|---|
animation | of the bars from left to right | true, false |
show_label | of the bars for example: 1, 2, 3, 4, 5 | STYPE1, STYPE2, STYPE3, STYPE4 |
max_value | max value for the ratings | 100 etc |
text_color | color of the texts for example the labels | color int |
text_size | text size of labels | 10sp, 12sp etc |
width | bar width | 8dp, 15dp etc |
spaces | space between bars | 1sp, 2dp etc |
rounded | round corners of bars | true, false |
Want to contribute? Fantastic!
If you want to contribute to the project and make it better (whether it's a bug fix, feature, improvement, suggestion, documentation or any sort of help), your help is very welcomed! ❤
There was no visual 5 star rating system when I needed it for a project. Special thanks to the chart libraries where I took some inspiration from.
Copyright (C) 2019 Taufiq Rahman
Copyright (C) 2018 Android Open Source Project
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 at
http://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.