ShimmerLayout

Optimized shimmer effect for android views

Лицензия

Лицензия

Группа

Группа

io.supercharge
Идентификатор

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

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

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

2.1.0
Дата

Дата

Тип

Тип

aar
Описание

Описание

ShimmerLayout
Optimized shimmer effect for android views
Ссылка на сайт

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

https://github.com/team-supercharge/ShimmerLayout
Система контроля версий

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

https://github.com/team-supercharge/ShimmerLayout

Скачать shimmerlayout

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

<!-- https://jarcasting.com/artifacts/io.supercharge/shimmerlayout/ -->
<dependency>
    <groupId>io.supercharge</groupId>
    <artifactId>shimmerlayout</artifactId>
    <version>2.1.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/io.supercharge/shimmerlayout/
implementation 'io.supercharge:shimmerlayout:2.1.0'
// https://jarcasting.com/artifacts/io.supercharge/shimmerlayout/
implementation ("io.supercharge:shimmerlayout:2.1.0")
'io.supercharge:shimmerlayout:aar:2.1.0'
<dependency org="io.supercharge" name="shimmerlayout" rev="2.1.0">
  <artifact name="shimmerlayout" type="aar" />
</dependency>
@Grapes(
@Grab(group='io.supercharge', module='shimmerlayout', version='2.1.0')
)
libraryDependencies += "io.supercharge" % "shimmerlayout" % "2.1.0"
[io.supercharge/shimmerlayout "2.1.0"]

Зависимости

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

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

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

Android Arsenal Maven Central Android Weekly API Build Status

DEPRECATED - ShimmerLayout

Attention: This tool is now deprecated. Please switch to Shimmer for Android or any other shimmer effect solution.

ShimmerLayout can be used to add shimmer effect (like the one used at Facebook or at LinkedIn) to your Android application. Beside memory efficiency even animating a big layout, you can customize the behaviour and look of the animation. Check out the wiki for attributes!

Download and usage

Get the latest artifact via gradle

implementation 'io.supercharge:shimmerlayout:2.1.0'

Create the layout on which you want to apply the effect and add as a child of a ShimmerLayout

<io.supercharge.shimmerlayout.ShimmerLayout
        android:id="@+id/shimmer_text"
        android:layout_width="wrap_content"
        android:layout_height="40dp"
        android:layout_gravity="center_horizontal"
        android:layout_marginTop="50dp"
        android:paddingLeft="30dp"
        android:paddingRight="30dp"
        app:shimmer_animation_duration="1200">

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:gravity="center"
            android:text="ShimmerLayout"
            android:textColor="@color/shimmer_background_color"
            android:textSize="26sp"/>
    </io.supercharge.shimmerlayout.ShimmerLayout>

Last, but not least you have to start it from your Java code

ShimmerLayout shimmerText = (ShimmerLayout) findViewById(R.id.shimmer_text);
shimmerText.startShimmerAnimation();

Further reading

License

ShimmerLayout is opensource, contribution and feedback are welcome!

Apache Version 2.0

Copyright 2017 Supercharge

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.

Author

veghtomi

Supercharge

io.supercharge

Supercharge

We create stunning experiences on mobile and on the web

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

Версия
2.1.0
2.0.0
1.2.0
1.1.0
1.0.2
1.0.1
1.0.0
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0