Dots Loader View

Additional

Language
Java
Version
N/A
Created
May 29, 2017
Updated
Jun 7, 2017 (Retired)
Owner
Steelkiwi Inc. (steelkiwi)
Contributor
Havryshchuk Yaroslav (soulyaroslav)
1
Activity
Badge
Generate
Download
Source code

DotsLoaderView

Wonderful dots loader view inspired this Design

View

Download

Gradle

compile 'com.steelkiwi:dots-loader-view:1.0.0'

Usage

Add DotsLoaderView to your xml layout

<steelkiwi.com.library.DotsLoaderView
    android:id="@+id/dotsLoaderView"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:visibility="visible"
    app:dlv_item_drawable="@drawable/circle_background"
    app:dlv_line_color="@color/point_color"/>

You can customize view, through this attributes

  • app:dlv_item_drawable - background shape for dot view
  • app:dlv_line_color - view bottom line color

To use it in the code you need only call this methods

// to show loading
dotsLoaderView.show();
// to hide loading
dotsLoaderView.hide();

License

Copyright © 2017 SteelKiwi, http://steelkiwi.com

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.