Home

Awesome

SlidingSquareLoaderView

Made in SteelKiwi Android Arsenal Download

Marvelous sliding square loader view inspired this Design All items has same gradient and it changing on depending items position

View

Download

For project API 21+

Gradle

compile 'com.steelkiwi:sliding-square-loader-view:1.0.0'

Usage

Add SlidingSquareLoaderView to your xml layout

<com.steelkiwi.library.SlidingSquareLoaderView
    android:id="@+id/view"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:sslv_corner_radius="@dimen/corner_radius"
    app:sslv_margin="@dimen/margin"
    app:sslv_end_gradient_color="@color/end_gradient_color"
    app:sslv_start_gradient_color="@color/start_gradient_color"
    app:sslv_background_color="@color/background"
    app:sslv_square_size="@dimen/square_size"/>

You can customize view, through this attributes

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

// to show loading
view.show()
// to hide loading
view.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.