Font Awesome Manager

Additional

Language
Kotlin
Version
v1.1.0 (Jun 7, 2021)
Created
Jul 29, 2018
Updated
Jun 7, 2021 (Retired)
Owner
José I. Gutiérrez B. (LordSaac)
Contributor
José I. Gutiérrez B. (LordSaac)
1
Activity
Badge
Generate
Download
Source code

FontAwesome Manager

Easy library for add icons using FontAwesome fonts in your Android project.

Sample 1 Sample 2


Kotlin Code

- TextView

yourTextView.setTextFontAwesome("camera")
yourTextView.setTextFontAwesome("atom",JGBFontManager.Companion.FAwesomeType.BRANDS)

- EditText

yourEditView.setTextFontAwesome("atom",JGBFontManager.Companion.FAwesomeType.BRANDS)
yourEditView.setTextFontAwesome("acquisitions-incorporated",JGBFontManager.Companion.FAwesomeType.REGULAR)

- Button

yourButton.setTextFontAwesome("android")
yourButton.setTextFontAwesome("acquisitions-incorporated",JGBFontManager.Companion.FAwesomeType.REGULAR)

- Swictht

yourSwich.setTextFontAwesome("anchor")
yourSwich.setTextFontAwesome("acquisitions-incorporated",JGBFontManager.Companion.FAwesomeType.REGULAR)

- CheckBox

yourCheckBox.setTextFontAwesome("exclamation-circle")
yourCheckBox.setTextFontAwesome("acquisitions-incorporated",JGBFontManager.Companion.FAwesomeType.REGULAR)

- ToggleButton

yourToggleButton.setTextFontAwesome("angellist")
yourToggleButton.setTextFontAwesome("acquisitions-incorporated",JGBFontManager.Companion.FAwesomeType.REGULAR)

Java Code

- TextView

FontIconIGB.Companion.setTextFontAwesome_Text_View(yourTextView).setText("user")
 FontIconIGB.Companion.setTextFontAwesome_Text_View(yourTextView,JGBFontManager.Companion.FAwesomeType.BRANDS).setText("user")

- EditText

FontIconIGB.Companion.setTextEditFontAwesome_Edit_Text(yourEditText).setText("user")
FontIconIGB.Companion.setTextEditFontAwesome_Edit_Text(yourTextView,JGBFontManager.Companion.FAwesomeType.BRANDS).setText("user")

- Button

FontIconIGB.Companion.setTextEditFontAwesome_Button(yourButton).setText("user")
FontIconIGB.Companion.setTextEditFontAwesome_Button(yourTextView,JGBFontManager.Companion.FAwesomeType.BRANDS).setText("user")

- Swictht

 FontIconIGB.Companion.setTextSwitchFontAwesome_Switch(yourSwicht).setText("user")
  FontIconIGB.Companion.setTextSwitchFontAwesome_Switch(yourTextView,JGBFontManager.Companion.FAwesomeType.BRANDS).setText("user")
  

- CheckBox

  FontIconIGB.Companion.setTextCheckBoxFontAwesome_CheckBox(yourCheckBox).setText("user")
  FontIconIGB.Companion.setTextCheckBoxFontAwesome_CheckBox(yourTextView,JGBFontManager.Companion.FAwesomeType.BRANDS).setText("user")
  

- ToggleButton

   FontIconIGB.Companion.setToggleButtonFontAwesome_ToggleButton(yourToggleButton).setText("user"))                
   

For More Icons:

See more icon here: https://fontawesome.com/icons?d=gallery

Gradle Dependency

  • Add the JitPack repository to your project's build.gradle file

 allprojects {
  repositories {
   ...
   maven { url 'https://jitpack.io' }
  }
 }
  • Add the dependency in your app's build.gradle file
    
    dependencies {
        implementation 'com.github.LordSaac:FontAwesome_Android_JGB:v1.1.0'
 }
    

Contribution

You are most welcome to contribute to this project!

FontAwesome Released June 18, 2020

Religion Category Pack All the major religions of the world (and then some) are represented by these 90 icons in this long-awaited category. More Business Icons Added It's Business Time thanks to these 105 boardroom-friendly additions. Sorry, washroom-executive didn't make the cut. Marketing Category Pack Use these 93 icons to help your conversion rate, retain your customers, and create fun campaigns. More Math Icons Added You can never have enough mathematics. We hope these 57 never-derivative new icons help you crunch those numbers. More Status Icons Added We've added more states and options to our volume, wifi, and status icons. Can you hear us now? Okay, good!

Licence

Copyright 2020 Isaac G. Banda

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.