All Projects → smartSenseSolutions → ProfilePercentageView

smartSenseSolutions / ProfilePercentageView

Licence: Apache-2.0 license
It is a Profile Image View with percentage progress developed in Kotlin. It is a highly customizable view that offers multiple attributes for creating either dash or continuous progress view around profile image based on your requirements.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to ProfilePercentageView

instagram-profile-picture
💎 Get url to the profile picture (and more) of any Instagram user in different resolutions!
Stars: ✭ 37 (+146.67%)
Mutual labels:  profile-picture
nftool
A suite of tools for NFT generative art.
Stars: ✭ 145 (+866.67%)
Mutual labels:  profile-picture
sink
Uses Facebook profile pictures to provide high resolution photos for your Google contacts
Stars: ✭ 31 (+106.67%)
Mutual labels:  profile-picture
interfaces
A diverse set of royalty-free user avatars to be used for marketing graphics and application screenshots.
Stars: ✭ 50 (+233.33%)
Mutual labels:  profile-picture
Generation
⭐ A Private, Secure, End-to-End Encrypted Messaging app made in Flutter(With Firebase and SQLite) that helps you to connect with your connections without any Ads, promotion. No other third-party person, organization, or even Generation Team can't read your messages. 💝
Stars: ✭ 18 (+20%)
Mutual labels:  profile-picture
ImagePicker
UIImagePickerController for camera and photo library
Stars: ✭ 26 (+73.33%)
Mutual labels:  profile-picture
Avatar
Plug n play avatar, turn name, email, and any other string into beautiful avatar (or gravatar), effortless.
Stars: ✭ 1,525 (+10066.67%)
Mutual labels:  profile-picture
boring-avatars
Boring avatars is a tiny JavaScript React library that generates custom, SVG-based avatars from any username and color palette.
Stars: ✭ 3,582 (+23780%)
Mutual labels:  profile-picture

ProfilePercentageView

Android Arsenal API Platform Licence

It is a Profile Image View with percentage progress developed in Kotlin. It is a highly customizable view that offers multiple attributes for creating either dash or continuous progress view around profile image based on your requirements.

Demo

Preview

Setup

Add the Maven Central repository to your project's root build.gradle file

allprojects {
    repositories {
        mavenCentral()
    }
}

Add the dependency in your app build.gradle file:

implementation 'io.github.smartsensesolutions:ProfilePercentageView:1.0.2'

Usage

Sample implementation here

Use the view in your layout.xml by declaring:

	<com.ss.profilepercentageview.ProfilePercentageView
                android:id="@+id/ppvProfile"
                android:layout_width="@dimen/_150sdp"
                android:layout_height="@dimen/_150sdp"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toTopOf="parent"
                app:ppv_arcBackgroundColor="@color/arcBackgroundColor"
                app:ppv_arcProgressEndColor="@color/progressColor"
                app:ppv_arcProgressStartColor="@color/progressColor"
                app:ppv_arcWidth="@dimen/_6sdp"
                app:ppv_currentValue="72"
                app:ppv_dashWidth="@dimen/_2sdp"
                app:ppv_imgBorderColor="@color/borderColor"
                app:ppv_imgBorderWidth="@dimen/_3sdp"
                app:ppv_imgPadding="@dimen/_40sdp"
                app:ppv_isDashEnable="true"
                app:ppv_isRounded="false"
                app:ppv_max="100"
                app:srcCompat="@drawable/pic" />

For getting current value of progress:

ppvProfile.getCurrentValue()

Attributes

Following are the various attributes available to customize the look and feel of the Seekbar.

ppv_arcBackgroundColor: Background Color of progress/arc base view.

ppv_currentValue: Current value of the Progress in progress/arc view.

ppv_arcWidth: Width of progress/arc view

ppv_isDashEnable: Dash progress/arc view enable or not.

ppv_dashWidth: Dash width of progress/arc view when dash progress enable.

ppv_isRounded: Shows rounded corner when dash is not enable.

ppv_arcProgressStartColor: Color of the progress in progress/arc view. It used of gradient effect.

ppv_arcProgressEndColor: Color of the progress in progress/arc view. It used of gradient effect.

ppv_max: Maximum value of progress/arc supported in view.

srcCompat: Image which should be display in centre of the progress/arc view.

ppv_imgPadding: Padding between progress view and image view. It will vary based on progress/arc width.

ppv_imgBorderWidth: Width of border/stroke around image.

ppv_imgBorderColor: Color of the border/stroke around image.

MAD (Modern Android Development) Scorecard

Mad Score

License

Copyright 2021 SmartSense Solutions
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].