文件名称:仿Twitter点赞效果ShineButton.zip
文件大小:1.9MB
文件格式:ZIP
更新时间:2022-08-06 22:54:06
开源项目
仿 Twitter 点赞效果 ShineButton。要求 android 4.0 以上版本。使用: shineButton = (ShineButton) findViewById(R.id.shine_button); shineButton.init(activity);或者 ShineButton shineButtonJava = new ShineButton(this); shineButtonJava.setBtnColor(Color.GRAY); shineButtonJava.setBtnFillColor(Color.RED); shineButtonJava.setShapeResource(R.raw.heart); shineButtonJava.setAllowRandomColor(true); LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(100, 100); shineButtonJava.setLayoutParams(layoutParams); if (linearLayout != null) { linearLayout.addView(shineButtonJava); } 标签:ShineButton
【文件预览】:
ShineButton-master
----.travis.yml(442B)
----gradlew.bat(2KB)
----gradlew(5KB)
----gradle.properties(2KB)
----image()
--------demo_more_shine.gif(511KB)
--------demo_small.gif(454KB)
--------demo.gif(454KB)
--------demo_shine_others.gif(474KB)
----LICENSE(1KB)
----app()
--------proguard-rules.pro(658B)
--------src()
--------.gitignore(7B)
--------build.gradle(1KB)
----gradle()
--------wrapper()
----shinebuttonlib()
--------gradle.properties(67B)
--------proguard-rules.pro(658B)
--------src()
--------build.gradle(791B)
----.gitignore(513B)
----README.md(7KB)
----settings.gradle(34B)
----build.gradle(707B)