Socket
Socket
Sign inDemoInstall

com.github.justzak:dilatingdotsprogressbar

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.justzak:dilatingdotsprogressbar

An indeterminate progress bar with dots that expand and contract


Version published
Maintainers
1
Source

DilatingDotsProgressBar Android Arsenal

Installation

compile 'com.github.justzak:dilatingdotsprogressbar:1.0.1'

Usage

<com.zl.reik.dilatingdotsprogressbar.DilatingDotsProgressBar
	android:id="@+id/progress"
	android:layout_width="wrap_content"
	android:layout_height="wrap_content"
	android:radius="5dp"
	android:color="#8C2323"
	app:dd_numDots="3"
	app:dd_scaleMultiplier="1.5"
	app:dd_animationDuration="500"
	app:dd_horizontalSpacing="4dp"
	/>
mDilatingDotsProgressBar = (DilatingDotsProgressBar) findViewById(R.id.progress);

// show progress bar and start animating
mDilatingDotsProgressBar.showNow();

// stop animation and hide
mDilatingDotsProgressBar.hideNow();

Field Customization

nameformatdescription
android:radiusdimensionset the radius of each dot
android:colorintset the color of each dot
dd_numDotsintegerset number of dots
dd_scaleMultiplierfloatset the maximum size the dot will expand to. (scaleMultiplier x radius)
dd_animationDurationintset the length of a single dot's full animation (in milliseconds)
dd_horizontalSpacingdimensionset the number of dp between each dot

Credit

Thanks to Alessandro Crugnola for his contributions.

License

The MIT License (MIT)

Copyright (c) 2016 Zachary Reik

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.

FAQs

Package last updated on 02 Feb 2016

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc