文件名称:Android代码-Calligraphy
文件大小:503KB
文件格式:ZIP
更新时间:2022-08-25 23:14:57
Android代码
Calligraphy Custom fonts in Android an OK way. Are you fed up of Custom Views to set fonts? Or traversing the ViewTree to find TextViews? Yeah me too. Getting started Dependency Include the dependency Download (.aar) as well as the ViewPump library: dependencies { implementation 'io.github.inflationx:calligraphy3:3.1.0' implementation 'io.github.inflationx:viewpump:1.0.0' } Add Fonts Add your custom fonts to assets/. All font definitions are relative to this path. Assuming that you are
【文件预览】:
Calligraphy-master
----.gitignore(467B)
----gradle()
--------wrapper()
--------deploy.gradle(4KB)
----README.md(8KB)
----.buildscript()
--------deploy_snapshot.sh(972B)
----build.gradle(393B)
----CHANGELOG.md(4KB)
----calligraphy()
--------.gitignore(7B)
--------build.gradle(1023B)
--------src()
--------gradle.properties(153B)
--------consumer-proguard-rules.txt(778B)
----gradlew.bat(2KB)
----gradlew(5KB)
----LICENSE(11KB)
----screenshot.png(86KB)
----RELEASING.md(640B)
----gradle.properties(2KB)
----.travis.yml(2KB)
----settings.gradle(45B)
----CalligraphySample()
--------.gitignore(7B)
--------build.gradle(1KB)
--------proguard-rules.txt(909B)
--------src()