文件名称:Android代码-支持矢量图展示的TextView,再也不用麻烦来麻烦去的布局这些了。
文件大小:175KB
文件格式:ZIP
更新时间:2022-08-27 21:08:27
Android代码
CompoundIconTextView An android library that is able to set a vector drawable at text view pre-Lollipop. Preview Features Set a vector drawable at text view pre-Lollipop Usage Gradle You should set this line in your gradle file if you set colors to vector drawable pre-Lollipop. android { defaultConfig { vectorDrawables.useSupportLibrary = true } } Code CompoundIconTextView tv = (CompoundIconTextView) findViewById(R.id.compoundIconTextView); // set icon drawable tv.setVec
【文件预览】:
CompoundIconTextView-master
----.gitignore(86B)
----sample()
--------.gitignore(7B)
--------build.gradle(910B)
--------src()
--------proguard-rules.pro(927B)
----settings.gradle(42B)
----arts()
--------preview.jpg(32KB)
----build.gradle(316B)
----gradlew(5KB)
----README.md(4KB)
----gradlew.bat(2KB)
----gradle.properties(2KB)
----gradle()
--------wrapper()
----compoundicontextview()
--------.gitignore(7B)
--------build.gradle(1KB)
--------src()
--------proguard-rules.pro(927B)