All Projects → Devlight → Tintlayout

Devlight / Tintlayout

Licence: apache-2.0
This library help you to achieve popular drop shadow effect from view.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Tintlayout

Shadowlayout
This library allows you to create a shadow effect for your layout based on your child.
Stars: ✭ 553 (+71.74%)
Mutual labels:  library, shadow
Shadowview
An iOS Library that makes shadows management easy on UIView.
Stars: ✭ 391 (+21.43%)
Mutual labels:  library, shadow
Protocol
The Hoa\Protocol library.
Stars: ✭ 308 (-4.35%)
Mutual labels:  library
Fcharts
📊 [wip] Create beautiful, responsive, animated charts using a simple and intuitive API.
Stars: ✭ 318 (-1.24%)
Mutual labels:  library
Gokv
Simple key-value store abstraction and implementations for Go (Redis, Consul, etcd, bbolt, BadgerDB, LevelDB, Memcached, DynamoDB, S3, PostgreSQL, MongoDB, CockroachDB and many more)
Stars: ✭ 314 (-2.48%)
Mutual labels:  library
Cosmonaut
🌐 A supercharged Azure CosmosDB .NET SDK with ORM support
Stars: ✭ 309 (-4.04%)
Mutual labels:  library
Consistency
The Hoa\Consistency library.
Stars: ✭ 317 (-1.55%)
Mutual labels:  library
Vuenut
⚙️ Developer tools for vue js (Vuex)
Stars: ✭ 305 (-5.28%)
Mutual labels:  library
React Component Library
A project skeleton to get your very own React Component Library up and running using Rollup, Typescript, SASS + Storybook
Stars: ✭ 313 (-2.8%)
Mutual labels:  library
Pulseview
Widget that generates pulsation relative to your icons. Tinder search like.
Stars: ✭ 315 (-2.17%)
Mutual labels:  library
Bem Components
Set of components for sites development
Stars: ✭ 318 (-1.24%)
Mutual labels:  library
Stream
The Hoa\Stream library.
Stars: ✭ 313 (-2.8%)
Mutual labels:  library
Gerador Validador Cpf
Biblioteca JS open-source para gerar e validar CPF.
Stars: ✭ 312 (-3.11%)
Mutual labels:  library
Klib
A standalone and lightweight C library
Stars: ✭ 3,442 (+968.94%)
Mutual labels:  library
Regex
The Hoa\Regex library.
Stars: ✭ 308 (-4.35%)
Mutual labels:  library
Event
The Hoa\Event library
Stars: ✭ 319 (-0.93%)
Mutual labels:  library
Fancy on boarding
Fancy OnBoarding Screen Library
Stars: ✭ 307 (-4.66%)
Mutual labels:  library
Android Permissions
Library for easy handling of android run-time permissions.
Stars: ✭ 311 (-3.42%)
Mutual labels:  library
Exception
The Hoa\Exception library.
Stars: ✭ 316 (-1.86%)
Mutual labels:  library
Shadowhelper
A library to add shadows for the Android View.(一个方便为Android View添加自然的阴影的库)
Stars: ✭ 322 (+0%)
Mutual labels:  shadow

Devlight


TintLayout

This library help you to achieve popular tint effect from view.

Android Arsenal       Android       Download       License       Codacy

You can check the sample app here.

Warn

This library is not more supported. 
If you want to add new feature or fix a bug, grab source code and do it. 
If you think your fix or feature would be useful to other developers, 
I can add link of your repository to this README file. 
Thank you for using our libraries.

Download

You can download a .aar from GitHub's releases page.

Or Gradle:

compile 'devlight.io:tintlayout:1.0.3'

Or Maven:

<dependency>
  <groupId>devlight.io</groupId>
  <artifactId>tintlayout</artifactId>
  <version>1.0.3</version>
  <type>pom</type>
</dependency>

Or Ivy:

<dependency org='devlight.io' name='tintlayout' rev='1.0.3'>
  <artifact name='$AID' ext='pom'></artifact>
</dependency>

Android SDK Version

TintLayout requires a minimum SDK version of 11.

Sample

Parameters

You can set such parameters as:

  • color:
    allows you to set solid color.

  • colors:
    allows you to create shadow with transparent etc.

  • angle:
    allows you to set the angle of tint.

Tips

TintLayout must have child. Only one child.
The angle can only be positive and be in range from 0 to 360.

Init

Check out in code init:

final TintLayout tintLayout = (TintLayout) findViewById(R.id.tint_layout);
tintLayout.setAngle(145);

To invalidate tint call this method:

tintLayout.invalidateTint();

And XML init:

<devlight.io.library.TintLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        app:tl_angle="45"
        app:tl_color="@color/color"
        app:tl_colors="@array/colors">

    <View
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"/>

</devlight.io.library.TintLayout>

Getting Help

To report a specific problem or feature request, open a new issue on Github.

Author

Created by Basil Miller - @gigamole

Company

Facebook     Twitter     LinkedIn

Here you can see open source work developed by Devlight LLC.
This and another works is an exclusive property of Devlight LLC.

If you want to use this library in applications which will be available on Google Play, please report us or author of the library about it.

Whether you're searching for a new partner or trusted team for creating your new great product we are always ready to start work with you.

You can contact us: [email protected] or [email protected].
Thanks in advance.

Devlight LLC, 2016
devlight.io

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].