Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

com.github.silvestrpredko.dotprogressbar:dotprogressbar

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

com.github.silvestrpredko.dotprogressbar:dotprogressbar

simple progress bar

  • 0.1.1
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

DotProgressBar

It`s a simple progress bar.

Example

enter image description here

enter image description here

Android Arsenal

Gradle

compile 'com.github.silvestrpredko:dot-progress-bar:1.1'

Usage

XML
<com.github.silvestrpredko.dotprogressbar.DotProgressBar
  android:id="@+id/dot_progress_bar"
  android:layout_width="match_parent"
  android:layout_height="50dp"
  custom:amount="5"
  custom:duration="@android:integer/config_mediumAnimTime"
  custom:endColor="@color/light_blue_A400"
  custom:startColor="@color/light_blue_A700"
  custom:animationDirection="left"/>
Code
dotProgressBar.setStartColor(startColor);
dotProgressBar.setEndColor(endColor);
dotProgressBar.setDotAmount(amount);
dotProgressBar.setAnimationTime(time);

// or you can use builder

new DotProgressBarBuilder(this)
                .setDotAmount(5)
                .setStartColor(Color.BLACK)
                .setAnimationDirection(DotProgressBar.LEFT_DIRECTION)
                .build();

License

FAQs

Package last updated on 26 Aug 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc