ProgressBar for Glass GDK


Лицензия

Лицензия

Группа

Группа

com.github.prt2121
Идентификатор

Идентификатор

library
Последняя версия

Последняя версия

0.9
Дата

Дата

Тип

Тип

jar
Описание

Описание

ProgressBar for Glass GDK
ProgressBar for Glass GDK
Ссылка на сайт

Ссылка на сайт

https://github.com/prt2121/glass-gdk-progressbar
Система контроля версий

Система контроля версий

https://github.com/prt2121/glass-gdk-progressbar

Скачать library

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.prt2121/library/ -->
<dependency>
    <groupId>com.github.prt2121</groupId>
    <artifactId>library</artifactId>
    <version>0.9</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.prt2121/library/
implementation 'com.github.prt2121:library:0.9'
// https://jarcasting.com/artifacts/com.github.prt2121/library/
implementation ("com.github.prt2121:library:0.9")
'com.github.prt2121:library:jar:0.9'
<dependency org="com.github.prt2121" name="library" rev="0.9">
  <artifact name="library" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.prt2121', module='library', version='0.9')
)
libraryDependencies += "com.github.prt2121" % "library" % "0.9"
[com.github.prt2121/library "0.9"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

Glass GDK Progressbar

Maven Central

Build Status

Painless ProgressBar for Glass GDK!

###Including In Your Project

#####Gradle

compile 'com.github.prt2121:ProgressBar:1.0@aar'

###Usage

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_my);
        mSliderView = (SliderView) findViewById(R.id.slider);
        mSliderView.startProgress(5 * 1000, animatorListener); // 5 seconds with listener
        // mSliderView.startProgress(5 * 1000); // 5 seconds without listener
        // mSliderView.startIndeterminate();
    }

Changing the color in xml

gif 02

    <com.prt2121.glass.widget.SliderView
        android:id="@+id/slider_top"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        app:progress_color="@android:color/holo_blue_bright" />

    <com.prt2121.glass.widget.SliderView
        android:id="@+id/slider_bottom"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        app:progress_color="@android:color/holo_blue_bright" />

gif 02

    <com.prt2121.glass.widget.SliderView
        android:id="@+id/slider_top"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true" />

    <com.prt2121.glass.widget.SliderView
        android:id="@+id/slider_bottom"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true" />

Версии библиотеки

Версия
0.9