openproject / LessCode-UI

more powerful views for lesscode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Download

LessCode-UI

more powerful views for lesscode!

Overview

  • LessImageView

Gradle

compile('com.jayfeng:lesscode-ui:0.1.1')

Usage

使用LessImageView替代ImageView(overlay表示按下为加深效果):

<com.jayfeng.lesscode.ui.LessImageView
    android:id="@+id/test"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:src="@drawable/test"
    app:less_tint_type="overlay" />

Author

Author weibo:冯建V    mail:673592063@qq.com    QQ:673592063

License

Copyright (C)  LessCode Open Source Project

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.

About

more powerful views for lesscode


Languages

Language:Java 100.0%