Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nikartx/stripedprocessbutton
Android library. Animated striped button to show loading process.
https://github.com/nikartx/stripedprocessbutton
android android-development android-library android-ui animation button button-animation button-style button-widget lines loading-animation loading-button process stripe
Last synced: about 3 hours ago
JSON representation
Android library. Animated striped button to show loading process.
- Host: GitHub
- URL: https://github.com/nikartx/stripedprocessbutton
- Owner: nikartx
- Created: 2018-03-29T08:54:31.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-26T12:37:05.000Z (almost 2 years ago)
- Last Synced: 2024-11-06T17:12:34.164Z (11 days ago)
- Topics: android, android-development, android-library, android-ui, animation, button, button-animation, button-style, button-widget, lines, loading-animation, loading-button, process, stripe
- Language: Kotlin
- Homepage:
- Size: 1.11 MB
- Stars: 34
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Maven Central](https://img.shields.io/maven-central/v/io.github.nikartm/process-button.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22io.github.nikartm%22%20AND%20a:%22process-button%22) [![API](https://img.shields.io/badge/API-21%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=21) [![Android Arsenal]( https://img.shields.io/badge/Android%20Arsenal-StripedProcessButton-green.svg?style=flat )]( https://android-arsenal.com/details/1/7623 )
# StripedProcessButton
Library for creating process loading button with stripes## Download
Add to gradle root:
```
allprojects {
repositories {
mavenCentral()
}
}
```#### After migrating to MavenCentral, use Groove:
```
implementation 'io.github.nikartm:process-button:$LAST_VERSION'
```
Or Kotlin DSL:
```
implementation("io.github.nikartm:process-button:$LAST_VERSION")
```## Screenshots
![screenshots](https://raw.githubusercontent.com/nikartm/StripedProcessButton/master/screenshots/sct_ex.gif)
## How to use?
Adjust the xml view [More examples.](https://github.com/nikartm/StripedProcessButton/blob/master/app/src/main/res/layout/activity_main.xml):
``````
Adjust programmatically (shortly):
```
stripedButton.setCornerRadius(50)
.setStripeAlpha(0.7f)
.setStripeRevert(true)
.setStripeGradient(false)
.setTilt(15)
.start()
```## License
Copyright 2022 Ivan VodyasovLicensed 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 athttp://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.