All Projects → aykuttasil → PercentBarView

aykuttasil / PercentBarView

Licence: other
PercentBar

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to PercentBarView

Ezchat
基于网易云信 IM SDK for Android,界面仿造QQ和微信,打造的一款简单的即时通讯 APP,目前可实现好友添加,个人资料修改,基础聊天功能(包括文字,表情,语音,视频,图片和位置信息发送接收功能),Based on Netease cloud letter IM SDK for Android, the interface mimics QQ and WeChat, to create a simple instant messaging APP, which can be realized by adding friends, modifying personal information, basic chatting functions (including text, emoticons, voice, video, Location information send and receive function).
Stars: ✭ 140 (+438.46%)
Mutual labels:  custom-view
Android Passcodeview
A custom view with keyboard and character display to be used for authentication
Stars: ✭ 182 (+600%)
Mutual labels:  custom-view
Jpagerslidingtabstrip
🔥A useful tablayout modify from astuetz/PagerSlidingTabStrip
Stars: ✭ 233 (+796.15%)
Mutual labels:  custom-view
Swipelayout
A library what allows you to execute a swipe for the android platform
Stars: ✭ 150 (+476.92%)
Mutual labels:  custom-view
Flexiblesearchbar
可以伸缩的搜索栏,模仿华为应用市场
Stars: ✭ 177 (+580.77%)
Mutual labels:  custom-view
Certificatecamera
证件相机-证件拍照及裁剪
Stars: ✭ 187 (+619.23%)
Mutual labels:  custom-view
Multiplestatusview
一个支持多种状态的自定义View,可以方便的切换到:加载中视图、错误视图、空数据视图、网络异常视图、内容视图。
Stars: ✭ 1,676 (+6346.15%)
Mutual labels:  custom-view
Colorseekbar
A colorful SeekBar for picking color
Stars: ✭ 249 (+857.69%)
Mutual labels:  custom-view
Loadmorewrapper
📦 make recyclerView supports load more and customize the footer view, without changes to the original adater of recyclerView. 在不改动 RecyclerView 原有的 adapter 的情况下,使 RecyclerView 滑动到底部的时候能够加载更多和自定义底部视图。
Stars: ✭ 179 (+588.46%)
Mutual labels:  custom-view
Android Youtube Player
YouTube Player library for Android and Chromecast, stable and customizable.
Stars: ✭ 2,510 (+9553.85%)
Mutual labels:  custom-view
Androidcustomview
一个简单的投票排名对比图
Stars: ✭ 150 (+476.92%)
Mutual labels:  custom-view
Circularseekbar
Custom circular SeekBar (Circle, Semi-circle, and Ellipse) for Android
Stars: ✭ 166 (+538.46%)
Mutual labels:  custom-view
Circularprogressbar
CircularProgressbar project let you create circular progressbar in android
Stars: ✭ 188 (+623.08%)
Mutual labels:  custom-view
Imageframe
高效省内存播放序列帧动画控件
Stars: ✭ 147 (+465.38%)
Mutual labels:  custom-view
Parallaxrecyclerview
Parallax effect on every item of your RecyclerView.
Stars: ✭ 237 (+811.54%)
Mutual labels:  custom-view
Flareview
Create Animatic flares around your uiview's. Visit http://stanlyhardy.github.io/FlareView for more info
Stars: ✭ 136 (+423.08%)
Mutual labels:  custom-view
Tagimageview
高仿小红书标签添加功能 1.随点击处添加标签 2.计算标签位置 3.可将标签位置还原渲染至不同屏幕尺寸 4.拖拽删除标签
Stars: ✭ 186 (+615.38%)
Mutual labels:  custom-view
Bezierseekbar
Beautiful custom View, SeekBar selector, easy to use, and rich in customization.漂亮的区间选择器,贝塞尔曲线优雅实现
Stars: ✭ 252 (+869.23%)
Mutual labels:  custom-view
Apporder
骚操作之改造TabLayout,修改指示线宽增加切Tab过渡动画
Stars: ✭ 246 (+846.15%)
Mutual labels:  custom-view
Cropiwa
📐 Configurable Custom Crop widget for Android
Stars: ✭ 2,185 (+8303.85%)
Mutual labels:  custom-view

Android Arsenal

PercentBar

Show result in Percent Bar with animation.

How to Use

        List<BarImageModel> mList = new ArrayList<>();
        mList.add(new BarImageModel("https://s-media-cache-ak0.pinimg.com/564x/2b/74/04/2b74046c2e2e488fe1f2be60680671dd.jpg", "Abc", PercentBarView.BarField.LEFT));
        mList.add(new BarImageModel("https://s-media-cache-ak0.pinimg.com/564x/65/01/b5/6501b5ae42a0c1aa863b1ae33a746ce2.jpg", "Def", PercentBarView.BarField.RIGHT));
        mList.add(new BarImageModel("https://s-media-cache-ak0.pinimg.com/564x/5a/e9/50/5ae9501fc3b49810db7901873f77d6f7.jpg", "Lorem", PercentBarView.BarField.RIGHT));
        mList.add(new BarImageModel("https://s-media-cache-ak0.pinimg.com/564x/9d/1c/86/9d1c861252a4d0067def3f567467b175.jpg", "Qwerty", PercentBarView.BarField.LEFT));
        mList.add(new BarImageModel("https://s-media-cache-ak0.pinimg.com/564x/5e/bd/17/5ebd1769bf115773ad83803b29ea4bac.jpg", "WWW", PercentBarView.BarField.LEFT));
        mList.add(new BarImageModel("https://s-media-cache-ak0.pinimg.com/564x/67/51/c3/6751c3d814fdda7db7e4844c3007db7c.jpg", "Aykut", PercentBarView.BarField.LEFT));
        
        View alphaView = findViewById(R.id.ImageViewSoruImage);
        percentBarView = (PercentBarView) findViewById(R.id.PercentBarView);
        percentBarView.addAlphaView(alphaView);
        percentBarView.setRightBarValue(70);
        percentBarView.setLeftBarValue(30);
        percentBarView.setImages(mList);
        percentBarView.setImagesListTitle("X List");
        percentBarView.setRightBarColor(Color.MAGENTA);        

and

                <RelativeLayout
                    android:layout_width="match_parent"
                    android:layout_height="match_parent">

                    <com.aykuttasil.percentbarapp.util.AutoFitTextView
                        android:layout_width="match_parent"
                        android:layout_height="match_parent"
                        android:ellipsize="none"
                        android:gravity="center"
                        android:maxLines="5"
                        android:padding="5dp"
                        android:text="X"
                        android:textSize="100sp" />

                    <com.aykuttasil.percentbar.PercentBarView
                        android:id="@+id/PercentBarView"
                        android:layout_width="match_parent"
                        android:layout_height="match_parent"
                        android:layout_alignParentBottom="true"
                        android:layout_centerHorizontal="true"
                        custom:barLeftColor="@color/colorAccent"
                        custom:barRightColor="@color/colorPrimary" />

                </RelativeLayout>           

All Feature

        View alphaView = findViewById(R.id.ImageViewSoruImage);
        PercentBarView percentBarView = (PercentBarView) findViewById(R.id.PercentBarView);
        
        percentBarView.setRightBarValue(70);
        percentBarView.setLeftBarValue(1);
        
        percentBarView.setImages(mList);
        percentBarView.setImagesListTitle("X List");
        percentBarView.setImageListItemSize(50)
        
        percentBarView.setLeftBarColor(Color.GREEN);
        percentBarView.setRightBarColor(Color.MAGENTA);

        percentBarView.addAlphaView(alphaView);
        percentBarView.setAlphaViewValue(0.5f); // alpha value
        percentBarView.setAnimAlphaViewDuration(3000);
        percentBarView.setAnimBarDuration(2000);
        
        percentBarView.setLeftBarWidth(60);
        percentBarView.setRightBarWidth(40);
        
        percentBarView.setAutoShow(true); // show bar when start app

Installation

Gradle

Add it as a dependency in your app's build.gradle file

compile 'com.aykuttasil:percentbar:3.0.3'

License

Copyright 2016 aykuttasil - Aykut Asil

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