EdgeTranslucent

by qinci

Android 任意View边沿渐变透明

450 Stars 55 Forks Last release: Not found 6 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

EdgeTranslucence

Android 任意View边沿渐变透明

代码简单,使用简单

使用
  • 引入库

    • compile 'ren.qinc.edgetranslucent:lib:0.0.3'
  • 布局

     



</me.qinc.lib.edgetranslucent.edgetransparentview>

  • 属性说明

    1. edge_width:边沿透明的宽度(不填写默认20dp)
    2. edge_position:透明的位置(可以组合使用,不填写默认四个边沿都透明)
      • top
      • bottom
      • left
      • right
  • 演示图(不要在意文字内容)ps:有点像阴影,但不是,是渐变透明效果

    Image

  • 最后欢迎您star

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.