Tiny animated progressbar with reverse animation
implementation 'ir.sinadalvand.libs:tinyprogressbar:{Last_release_version}'
<dependency>
<groupId>ir.sinadalvand.libs</groupId>
<artifactId>tinyprogressbar</artifactId>
<version>1.0.1</version>
<type>pom</type>
</dependency>
<ir.sinadalvand.libs.tinyprogressbar.TinyProgressbar
app:bgColor="@color/colorAccent" ==> progress Background Color
app:progressColor="@color/colorPrimary" ==> progress Color
app:animationDuration="1000" ==> animation Duration in milisec (1000 = 1s)
app:autoStart="true" ==> auto start in screen load !
app:progressRelative="0.3" ==> Size of Progressbar compared to whole view width (viewWidth * 0.3)
app:roundCorner="true" ==> if true make round progressbar and background corner
app:progressHeight="3dp" ==> progressbar height
android:id="@+id/tinyProgressbar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
/>
TinyProgressbar.start()
TinyProgressbar.stop()
Programically settings:
TinyProgressbar.setProgressbarBackground(Int color)
TinyProgressbar.setProgressbarColor(Int color)
TinyProgressbar.setProgressWidth(Int px)
TinyProgressbar.setProgressRelative(Float per)
TinyProgressbar.setProgressHeight(Int px)
TinyProgressbar.setAnimationDuration(Long millisecond)
#Who use this Lib:
Rose Movie Application
Copyright 2019 Sina Dalvand
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.