All Projects → gungoren → ProgressableImageView

gungoren / ProgressableImageView

Licence: Apache-2.0 license
Change your users progress capability with ProgressableImageView

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to ProgressableImageView

auto-fill-edit-text
This custom EditText can suggest and fill text defined before.
Stars: ✭ 26 (-69.77%)
Mutual labels:  view, custom-view
Windowimageview
An ImageView display in RecyclerView, looks like window.
Stars: ✭ 699 (+712.79%)
Mutual labels:  view, imageview
Uilibrary
平时项目开发中写的自定义Drawable、View和Shape
Stars: ✭ 260 (+202.33%)
Mutual labels:  view, custom-view
Custom-Grid-View
Custom Drag and Drop Grid for Home Assistant
Stars: ✭ 103 (+19.77%)
Mutual labels:  view, custom-view
Circle Progress View
Animated circular progress view for Android
Stars: ✭ 1,185 (+1277.91%)
Mutual labels:  view, progress-bar
SkeletonPlaceholderView
A library for creating dynamic skeleton view
Stars: ✭ 25 (-70.93%)
Mutual labels:  view, custom-view
Easysignseekbar
本库主要提供一个漂亮而强大的自定义SeekBar,进度变化由提示牌 (sign)展示,具有强大的属性设置,支持设置section(节点)、mark(标记)、track(轨迹)、thumb(拖动块)、progress(进度)、sign(提示框)等功能
Stars: ✭ 629 (+631.4%)
Mutual labels:  view, custom-view
Parallaxrecyclerview
Parallax effect on every item of your RecyclerView.
Stars: ✭ 237 (+175.58%)
Mutual labels:  imageview, custom-view
Toothyprogress
A polyline determinated ProgressBar written in Kotlin
Stars: ✭ 56 (-34.88%)
Mutual labels:  view, progress-bar
Iconswitch
🍭 Custom Android Switch widget
Stars: ✭ 874 (+916.28%)
Mutual labels:  view, custom-view
Circular Music Progressbar
Beautiful Circular Progress Bar with album art for android
Stars: ✭ 813 (+845.35%)
Mutual labels:  progress-bar, imageview
Mkloader
Beautiful and smooth custom loading views
Stars: ✭ 1,377 (+1501.16%)
Mutual labels:  view, custom-view
Avatarview
A circular Image View with a lot of perks. Including progress animation and highlight state with borders and gradient color.
Stars: ✭ 429 (+398.84%)
Mutual labels:  progress-bar, imageview
bubble-layout
An Android ViewGroup that displays avatar bubbles... similar to the chat bubbles on Facebook Messenger.
Stars: ✭ 46 (-46.51%)
Mutual labels:  view, imageview
XCArcProgressView
Android开口圆环比例进度View(高仿猎豹清理大师内存占用比例View)
Stars: ✭ 28 (-67.44%)
Mutual labels:  progress-bar, custom-view
Freepager
ViewPagers library for Android
Stars: ✭ 461 (+436.05%)
Mutual labels:  view, custom-view
Image-Support
Add badge with counter to ImageView Android.
Stars: ✭ 128 (+48.84%)
Mutual labels:  imageview, custom-view
Android Circular Progress
Android custom view that loads a circular progress indicator using ImageView or FrameLayout
Stars: ✭ 75 (-12.79%)
Mutual labels:  imageview, custom-view
Creditcardview
💳 CreditCardView is an Android library that allows developers to create the UI which replicates an actual Credit Card.
Stars: ✭ 744 (+765.12%)
Mutual labels:  view, custom-view
Meter Number Picker
The android library that provides a simple and customizable NumberPicker styled as meter.
Stars: ✭ 96 (+11.63%)
Mutual labels:  view, custom-view

ProgressableImageView

Platform Relase Distribution GitHub stars GitHub forks GitHub issues GitHub license Buy me a Coffee

Motivated by layout in Words Of Wonders app.

Demo

Usage

<com.gungoren.view.ProgressableImageView
    android:id="@+id/top"
    android:background="@drawable/bg_img"
    android:layout_height="wrap_content"
    android:layout_width="match_parent"
    android:src="@drawable/dubai"
    android:scaleType="fitXY"
    android:layout_margin="20dp"
    app:dividerColor="@color/divider_color"
    android:layout_below="@id/desc"
    app:progress="0.3"
    app:direction="bottomToTop"
    app:dividerWidth="2dp"
    app:touchEnabled="true"/>
progressableImageView.setProgress(progress); //use this if you want to progress
progressableImageView.setDividerWidthAsDp(dp); //use this if you want to change divider width. When it set to zero it will be invisible
progressableImageView.setDividerWidthAsPx(px); //use this if you want to change divider width. When it set to zero it will be invisible
progressableImageView.setDividerColor(color); //use this for set a new color divider color.
progressableImageView.setDirection(ProgressDirection.bottom_to_top); // use this if you wnat to change direction of progress available values [left_to_right, left_to_right, right_to_left, top_to_bottom, bottom_to_top]
progressableImageView.setTouchEnabled(boolean) // enable progress change with touch event

Attribute

app:progress value is between 0 and 1 float value. 1 = fullly bright. 0 = fully gray.

app:dividerColor value is color which type is color.

app:dividerWidth value is divider width which type is dimen.

app:direction value is for progress direction which type is enum and values [leftToRight,rightToLeft,topToBottom,bottomToTop].

app:touchEnabled value is for progress change by touch event which type is boolean.

maven { url 'https://jitpack.io' }
dependencies {
  compile 'com.github.gungoren:ProgressableImageView:1.0.2'
}

Issues

If you've found an error in this library, please file an issue.

Contributing

Patches and new features are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub.

License

Copyright 2018 Mehmet Gungoren.

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.
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].