文件名称:Android代码-Custom shaped layout for Android 自定义形状布局
文件大小:5.91MB
文件格式:ZIP
更新时间:2022-08-27 02:43:52
Android代码
ShapeLayout Custom shaped layout for Android 自定义形状布局 Features Clip layout and its childview. 2 way to set shape. Also custom shape by implement ShapeModel. Dependency Add this in your build.gradle file compile 'com.zolad:shapelayout:1.0.0' Usage 1.layout xml //your layout 2.Set a ShapeModel, a drawable or a path Drawable shapeDrawable = getResources().getDrawable(R.drawable.pic_shape); shapeLayout.setShapeModel(new DrawableShapeModel(shapeDrawable)); or shapeLayout.setSh
【文件预览】:
ShapeLayout-master
----screenshot()
--------screenshot_1.gif(1.07MB)
----gradlew.bat(2KB)
----gradlew(5KB)
----gradle.properties(726B)
----sample()
--------proguard-rules.pro(751B)
--------src()
--------.gitignore(7B)
--------build.gradle(990B)
----gradle()
--------wrapper()
----shapelayout()
--------proguard-rules.pro(751B)
--------src()
--------.gitignore(7B)
--------build.gradle(812B)
----.gitignore(113B)
----README.md(2KB)
----settings.gradle(34B)
----build.gradle(537B)