文件名称:Android代码-让任何布局支持选中状态,类似 Checkbox 的属性
文件大小:2.09MB
文件格式:ZIP
更新时间:2022-08-25 22:21:22
Android代码
Android - CompoundLayout It's an Android library that allows you to use Layout as RadioButton or CheckBox. The librarie is Android 14 compatible. Gradient effect is only Android 21 compatible. The demo below is inspired by Cris Samson's gradient hover animation. Installation Gradle repositories { maven { url "https://jitpack.io" } } compile 'com.github.jaouan:compoundlayout:1.0.1' Usage General CompoundLayout checked state can be changed programmatically using method myCompoundLayout.s
【文件预览】:
CompoundLayout-master
----gradlew(5KB)
----settings.gradle(34B)
----compoundlayout()
--------src()
--------.gitignore(7B)
--------build.gradle(572B)
--------proguard-rules.pro(651B)
----art()
--------demo.gif(1.58MB)
----gradle()
--------wrapper()
----LICENCE(11KB)
----README.md(4KB)
----gradlew.bat(2KB)
----gradle.properties(855B)
----.gitignore(97B)
----app()
--------src()
--------.gitignore(7B)
--------build.gradle(671B)
--------proguard-rules.pro(651B)
----build.gradle(498B)