All Projects → xckevin → AndroidSmartRatingBar

xckevin / AndroidSmartRatingBar

Licence: other
Android Smart RatingBar, auto resize star width by layout size, with SIMPLE API and HIGH PERFORMANCE!!!😆

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to AndroidSmartRatingBar

compose-ratingbar
A ratingbar composable for jetpack compose 🚀🌟
Stars: ✭ 89 (+196.67%)
Mutual labels:  rating-bar
Google-Maps-BottomSheet
A BottomSheetBehavior framework mirroring Google Maps'
Stars: ✭ 75 (+150%)
Mutual labels:  android-ui
Attribouter
A lightweight "about screen" library to allow quick but customizable attribution in Android apps.
Stars: ✭ 117 (+290%)
Mutual labels:  android-ui
PaymentCardView
Custom Credit/Debit card view
Stars: ✭ 62 (+106.67%)
Mutual labels:  android-ui
YuanaItemSettingView
Customizable Item Setting View Android
Stars: ✭ 15 (-50%)
Mutual labels:  android-ui
CodeView
Android Library to make it easy to create an Code editor or IDE that support any languages and themes, with auto complete, auto indenting, snippets and more features
Stars: ✭ 254 (+746.67%)
Mutual labels:  android-ui
FlowingPager
A Flexible Side Sliding View Controlled by a Button
Stars: ✭ 104 (+246.67%)
Mutual labels:  android-ui
Extract-Color-Palette-Api
Create gradient drawable by extracting prominent colors from image⚫⚪
Stars: ✭ 16 (-46.67%)
Mutual labels:  android-ui
Image-Support
Add badge with counter to ImageView Android.
Stars: ✭ 128 (+326.67%)
Mutual labels:  android-ui
kooldown
Circular progress animation with duration
Stars: ✭ 17 (-43.33%)
Mutual labels:  android-ui
recyclerfragment
An Android Fragment that displays a set of items in a RecyclerView.
Stars: ✭ 16 (-46.67%)
Mutual labels:  android-ui
logregform-android
Login and registration form for Android (IceCream Sandwich+) with additional features, enchancement and dynamic GUI.
Stars: ✭ 25 (-16.67%)
Mutual labels:  android-ui
AnyDialog
简化dialog创建,支持滑动关闭,支持嵌套滑动
Stars: ✭ 26 (-13.33%)
Mutual labels:  android-ui
CoolAnimation4Beginner
Making Beauty Android UI/UX Design with cool Animation
Stars: ✭ 21 (-30%)
Mutual labels:  android-ui
EasyFont
Android Library to set font of TextView, Button, EditText, and RadioButton in XML without editing Java code to set Typeface.
Stars: ✭ 20 (-33.33%)
Mutual labels:  android-ui
ui-testing
No description or website provided.
Stars: ✭ 15 (-50%)
Mutual labels:  android-ui
RTL-Toast
Android Toast For RTL Applications
Stars: ✭ 16 (-46.67%)
Mutual labels:  android-ui
tools-sample
Collection of examples on how to improve preview of your layout
Stars: ✭ 20 (-33.33%)
Mutual labels:  android-ui
media-picker
Easy customizable picker for all your needs in Android application
Stars: ✭ 167 (+456.67%)
Mutual labels:  android-ui
ArcLayout
Arc Layout is a view group with which you can add a arc-shaped container in your layout.
Stars: ✭ 32 (+6.67%)
Mutual labels:  android-ui

AndroidSmartRatingBar

Android Smart RatingBar, with simple api and high performance.

Cause Android's RatingBar is had to use, you must use background image very CAREFULLY, otherwise you will get a broken star...

And then I create this repo, with simple api. The most important thing is that It wiil auto scale stars according to your layout size. Enjoy it!

Configurations

    <declare-styleable name="SmartRatingBar">
        <attr name="maxRating" format="integer" />
        <attr name="gap" format="dimension" />
         <attr name="rating" format="float" />
        <attr name="orientation" format="integer">
            <enum name="vertical" value="1" />
            <enum name="horizontal" value="0" />
        </attr>
        <attr name="ratingDrawable" format="reference" />
        <attr name="backgroundDrawable" format="reference" />
        <attr name="indicator" format="boolean" />
    </declare-styleable>

Sample

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="center"
    tools:context="com.alibaba.smartratingbar.MainActivity">

    <com.alibaba.library.SmartRatingBar
        android:id="@+id/smart_rating_bar"
        android:layout_width="15dp"
        android:layout_height="wrap_content"
        app:gap="@dimen/common_dimen"
        app:indicator="false"
        app:maxRating="5"
        app:orientation="vertical"
        app:rating="3.5"
    />

</RelativeLayout>

Screen Captrues

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].