All Projects → hyogeunpark → ColorRatingBar

hyogeunpark / ColorRatingBar

Licence: MIT license
change color of star in rating bar

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to ColorRatingBar

LycricsTextView
No description or website provided.
Stars: ✭ 14 (-39.13%)
Mutual labels:  color, change
Andratingbar
A RatingBar library for android, you can customize size ,color ,spacing and image easily!Support right to left。效果可以参看:https://juejin.im/post/6844904143220391949
Stars: ✭ 582 (+2430.43%)
Mutual labels:  color, rating
use-color-change
📈📉React hook for flashing a text when a value becomes higher or lower
Stars: ✭ 32 (+39.13%)
Mutual labels:  color, change
Extract-Color-Palette-Api
Create gradient drawable by extracting prominent colors from image⚫⚪
Stars: ✭ 16 (-30.43%)
Mutual labels:  color
ColorPickView
🐾一个自定义的颜色选择view
Stars: ✭ 19 (-17.39%)
Mutual labels:  color
homebridge-yeelight-platform
Homebridge plugin for Yeelight Lights supporting Scenes/Moods/Color Flow/Custom Presets/Music Flow/Night Mode
Stars: ✭ 53 (+130.43%)
Mutual labels:  color
vim-yami
Monochromatic dark(闇) theme for Vim
Stars: ✭ 58 (+152.17%)
Mutual labels:  color
nix-rice
A library to functionally define your configuration and theme (rice) with Nix
Stars: ✭ 43 (+86.96%)
Mutual labels:  color
thayer-bright-iTerm
No description or website provided.
Stars: ✭ 29 (+26.09%)
Mutual labels:  color
colorsys
🎨 Minimalistic color converter for RGB, HSV, HSL, CMYK, HEX and CSS strings
Stars: ✭ 53 (+130.43%)
Mutual labels:  color
PowerColorLS
PowerShell script to display a colorized directory and file listing with icons
Stars: ✭ 35 (+52.17%)
Mutual labels:  color
Coroutines-Animations
Use the power of kotlin coroutines to execute your android animations
Stars: ✭ 31 (+34.78%)
Mutual labels:  color
zcolors
🌈 Z Colors uses your $LS_COLORS to generate a coherent theme for Git and your Zsh prompt, command line and completions.
Stars: ✭ 38 (+65.22%)
Mutual labels:  color
gradient-rs
A command line tool for playing with color gradients
Stars: ✭ 93 (+304.35%)
Mutual labels:  color
Lano-Visualizer
A simple but highly configurable visualizer with rounded bars.
Stars: ✭ 114 (+395.65%)
Mutual labels:  color
gitbook-plugin-autotheme
GitBook自动换肤插件
Stars: ✭ 13 (-43.48%)
Mutual labels:  change
Coursera-Clone
Coursera clone
Stars: ✭ 48 (+108.7%)
Mutual labels:  rating
javascript-color-gradient
Lightweight JavaScript library, used to generate an array of color gradients, between start and finish colors.
Stars: ✭ 54 (+134.78%)
Mutual labels:  color
color
OCaml library to work with colors on the web
Stars: ✭ 20 (-13.04%)
Mutual labels:  color
rating
Rating stars component
Stars: ✭ 28 (+21.74%)
Mutual labels:  rating

ColorRatingBar

Download

Introduction

Change Star Color of Rating Bar

* An example project / library of ColorRatingBar

Usages

Add your buildscript

• maven

<dependency>
  <groupId>hyogeun.github.com.colorratingbar</groupId>
  <artifactId>ColorRatingBar</artifactId>
  <version>1.0.1</version>
  <type>pom</type>
</dependency>

• gradle

compile 'hyogeun.github.com.colorratingbar:ColorRatingBar:1.0.1'

Example

1. xml

<hyogeun.github.com.colorratingbarlib.ColorRatingBar
        android:id="@+id/rating_1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:rating="3"
        app:changeable="false"
        app:empty_color="#f0f000"
        app:progress_color="#00f0f0" />

2. Code

1) Activity
ColorRatingBar colorRatingBar = new ColorRatingBar(this);
colorRatingBar.setRatingProgressColor(R.color.colorPrimary);
colorRatingBar.setRatingEmptyColor(R.color.colorAccent);
colorRatingBar.setRating(3.0f);
2) Fragment
ColorRatingBar colorRatingBar = new ColorRatingBar(getContext());
colorRatingBar.setRatingProgressColor(R.color.colorPrimary);
colorRatingBar.setRatingEmptyColor(R.color.colorAccent);
colorRatingBar.setRating(3.0f);

Version

• 1.0.1

add chanageable flag

• 1.0.0

create change color rating bar

LICENSE

Copyright (c) 2017 hyogeun.park

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
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].