https://github.com/ajaysaini-sgvu/typekit
Typekit is an android library to make it easy to use custom fonts.
https://github.com/ajaysaini-sgvu/typekit
android android-library custom-fonts gradle typekit
Last synced: about 1 year ago
JSON representation
Typekit is an android library to make it easy to use custom fonts.
- Host: GitHub
- URL: https://github.com/ajaysaini-sgvu/typekit
- Owner: ajaysaini-sgvu
- Created: 2017-03-25T09:40:29.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-12T05:19:11.000Z (about 9 years ago)
- Last Synced: 2025-03-27T04:33:58.875Z (about 1 year ago)
- Topics: android, android-library, custom-fonts, gradle, typekit
- Language: Java
- Homepage:
- Size: 1.15 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Typekit is an android library to make it easy, to use custom fonts.
## Getting started
### Installation
Add gradle dependency with command:
```groovy
dependencies {
compile 'com.nagarro.typekit:android-typekit:1.0'
...
}
```
### Add Fonts
Add your custom fonts to `assets/fonts`. All font definitions are relative to this path.
Assuming that you are using Gradle you should create the assets directory under `src/main/` in your project directory if it does not already exist.
As it's popular to use multi-project build with Gradle the path is usually `app/src/main/assets/fonts/`, where `app` is the project name.
### Usage
```xml
```
### Version: 1.0.0
Stable release
## Licence
Copyright 2017 Ajay Saini (TGMCians)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.