All Projects → anitaa1990 → CustomFontView

anitaa1990 / CustomFontView

Licence: Apache-2.0 License
Custom View classes for TextView, EditText & Buttons - to set custom fonts

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to CustomFontView

Ibackdrop
A library to simply use Backdrop in your project (make it easy). Read more ->
Stars: ✭ 137 (+426.92%)
Mutual labels:  android-sdk, android-application, android-architecture, android-ui, android-studio, android-app
media-picker
Easy customizable picker for all your needs in Android application
Stars: ✭ 167 (+542.31%)
Mutual labels:  android-sdk, android-application, android-architecture, android-ui, android-studio, android-app
Android-daily-read-tips
log for articles and info in android for every developer
Stars: ✭ 13 (-50%)
Mutual labels:  android-sdk, android-application, android-architecture, android-ui, android-studio, android-app
Androidkex
Extensions for Kotlin. Use the power of Kotlin to make your code smaller and beautiful.
Stars: ✭ 35 (+34.62%)
Mutual labels:  android-sdk, android-application, android-architecture, android-ui, android-studio, android-app
Cameraxdemo
A sample camera app with CameraX API from Android Jetpack
Stars: ✭ 112 (+330.77%)
Mutual labels:  android-sdk, android-application, android-architecture, android-ui, android-studio, android-app
Mediapicker
Easy customizable picker for all your needs in Android application
Stars: ✭ 105 (+303.85%)
Mutual labels:  android-sdk, android-application, android-architecture, android-ui, android-studio, android-app
Android Inappbilling
A sample which uses Google's Play Billing Library and it does InApp Purchases and Subscriptions.
Stars: ✭ 114 (+338.46%)
Mutual labels:  android-sdk, android-application, android-architecture, android-ui, android-studio, android-app
Modern Android Development
Modern Android Development tools & key points
Stars: ✭ 219 (+742.31%)
Mutual labels:  android-sdk, android-application, android-architecture, android-ui, android-studio, android-app
Android Arsenal.com
Source to android-arsenal.herokuapp.com
Stars: ✭ 541 (+1980.77%)
Mutual labels:  android-sdk, android-application, android-architecture, android-ui, android-app
Android-MonetizeApp
A sample which uses Google's Play Billing Library and it makes In-app Purchases and Subscriptions.
Stars: ✭ 149 (+473.08%)
Mutual labels:  android-sdk, android-architecture, android-studio, android-app
android-jetpack
🚀 Road to Accelerate Android Development using Jetpack
Stars: ✭ 50 (+92.31%)
Mutual labels:  android-sdk, android-architecture, android-studio, android-app
Awesome Android Ui
😎 A curated list of awesome Android UI/UX libraries
Stars: ✭ 353 (+1257.69%)
Mutual labels:  android-sdk, android-ui, android-studio, android-app
Biometric-Authentication-Android
A sample implementation of AndroidX biometrics API using Kotlin. Authenticate using biometrics or PIN/Password if biometrics isn't available on device. Fully implemented in Jetpack compose using Material 3 dynamic theming and also has a separate implementation in xml with MDC 3.
Stars: ✭ 29 (+11.54%)
Mutual labels:  android-sdk, android-ui, android-studio, android-app
Loginui Android
Login User Interface in android with innovative, beautiful and creative background 😊😊😉
Stars: ✭ 374 (+1338.46%)
Mutual labels:  android-application, android-ui, android-studio, android-app
Morphing Material Dialogs
Material dialog ❤️ morphing animation. An android kotlin UI library for building beautiful animations for converting a floating action button into a material dialog.
Stars: ✭ 806 (+3000%)
Mutual labels:  android-sdk, android-application, android-ui, android-app
Permissionsflow
A simple library to make it easy requesting permissions in Android using Kotlin Coroutines.
Stars: ✭ 49 (+88.46%)
Mutual labels:  android-sdk, android-application, android-architecture, android-app
Zoomrecylerlayout
🎢 Zoom Recycler Layout Manager For Android Kotlin
Stars: ✭ 618 (+2276.92%)
Mutual labels:  android-application, android-ui, android-studio, android-app
Notzz App
📝 A Simple Note-Taking App built to demonstrate the use of Modern Android development tools - (Kotlin, Coroutines, State Flow, Hilt-Dependency Injection, Jetpack DataStore, Architecture Components, MVVM, Room, Material Design Components).
Stars: ✭ 158 (+507.69%)
Mutual labels:  android-architecture, android-ui, android-studio, android-app
Kotlin Android Scaffolding
An android project structure using kotlin and most common libraries.
Stars: ✭ 53 (+103.85%)
Mutual labels:  android-sdk, android-application, android-studio, android-app
Livesmashbar
An elegant looking and easy to use informative library with LiveData integration for Android.
Stars: ✭ 107 (+311.54%)
Mutual labels:  android-sdk, android-application, android-studio, android-app

CustomFontView

API Android Arsenal

Custom font classes for TextView, EditText & Buttons

screenshot_20170816-153601

How to integrate the library in your app?

Gradle Dependecy
dependencies {
        compile 'com.an.customfontview:customfont:0.1.0'
}

Maven Dependecy

<dependency>
  <groupId>com.an.customfontview</groupId>
  <artifactId>customfont</artifactId>
  <version>0.1.0</version>
  <type>pom</type>
</dependency>

Add fonts

Add your custom fonts to assets/ .
If the assets directory does not already exist, you should create it under src/main/ in your project directory.
You might consider creating a fonts/ subdirectory in the assets directory (as in examples).

Usage

Add the below line to the root layout of your xml file:

xmlns:app="http://schemas.android.com/apk/res-auto"

Custom TextView

.....
       <com.an.customfontview.CustomTextView
          android:layout_gravity="center"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          app:textFontPath="fonts/gotham_bold.otf"
          android:text="Works for any number of fonts" />
.....

Custom EditText

.....
       <com.an.customfontview.CustomEditText
          android:text="Works for edit text too!"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          app:editFontPath="fonts/product_sans.ttf" />
.....

Custom Buttons

.....
           <com.an.customfontview.CustomButton
              android:layout_gravity="center"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              app:btnFontPath="fonts/gt_medium.otf"
              android:text="Works for me too!"/>
.....

That's all folks!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].