Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

viewsOfAndroidInGithub/PaletteImageView

Open more actions menu
 
 

Repository files navigation

PaletteImageView

PaletteImageView可以动态的提取图片的主要颜色,并将颜色作为图片阴影的控件。Enjoy it O(∩_∩)O

image

build.gradle中引用

	compile 'com.dingmouren.paletteimageview:paletteimageview:1.0.0'

使用

 <com.dingmouren.paletteimageview.PaletteImageView
            android:id="@+id/palette2"
            android:layout_width="180dp"
            android:layout_height="180dp"
            app:cornerRadis="50dp"
            app:paletteSrc="@mipmap/yellow"          
            />

欢迎大家提Issues.

About

为图片添加阴影,阴影颜色来源于图片的主色

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.