Easy library for add icons using FontAwesome fonts in your Android project.
yourTextView.setTextFontAwesome("camera")
yourTextView.setTextFontAwesome("atom",JGBFontManager.Companion.FAwesomeType.BRANDS)
yourEditView.setTextFontAwesome("atom",JGBFontManager.Companion.FAwesomeType.BRANDS)
yourEditView.setTextFontAwesome("acquisitions-incorporated",JGBFontManager.Companion.FAwesomeType.REGULAR)
yourButton.setTextFontAwesome("android")
yourButton.setTextFontAwesome("acquisitions-incorporated",JGBFontManager.Companion.FAwesomeType.REGULAR)
yourSwich.setTextFontAwesome("anchor")
yourSwich.setTextFontAwesome("acquisitions-incorporated",JGBFontManager.Companion.FAwesomeType.REGULAR)
yourCheckBox.setTextFontAwesome("exclamation-circle")
yourCheckBox.setTextFontAwesome("acquisitions-incorporated",JGBFontManager.Companion.FAwesomeType.REGULAR)
yourToggleButton.setTextFontAwesome("angellist")
yourToggleButton.setTextFontAwesome("acquisitions-incorporated",JGBFontManager.Companion.FAwesomeType.REGULAR)
FontIconIGB.Companion.setTextFontAwesome_Text_View(yourTextView).setText("user")
FontIconIGB.Companion.setTextFontAwesome_Text_View(yourTextView,JGBFontManager.Companion.FAwesomeType.BRANDS).setText("user")
FontIconIGB.Companion.setTextEditFontAwesome_Edit_Text(yourEditText).setText("user")
FontIconIGB.Companion.setTextEditFontAwesome_Edit_Text(yourTextView,JGBFontManager.Companion.FAwesomeType.BRANDS).setText("user")
FontIconIGB.Companion.setTextEditFontAwesome_Button(yourButton).setText("user")
FontIconIGB.Companion.setTextEditFontAwesome_Button(yourTextView,JGBFontManager.Companion.FAwesomeType.BRANDS).setText("user")
FontIconIGB.Companion.setTextSwitchFontAwesome_Switch(yourSwicht).setText("user")
FontIconIGB.Companion.setTextSwitchFontAwesome_Switch(yourTextView,JGBFontManager.Companion.FAwesomeType.BRANDS).setText("user")
FontIconIGB.Companion.setTextCheckBoxFontAwesome_CheckBox(yourCheckBox).setText("user")
FontIconIGB.Companion.setTextCheckBoxFontAwesome_CheckBox(yourTextView,JGBFontManager.Companion.FAwesomeType.BRANDS).setText("user")
FontIconIGB.Companion.setToggleButtonFontAwesome_ToggleButton(yourToggleButton).setText("user"))
See more icon here: https://fontawesome.com/icons?d=gallery
- 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'
}
You are most welcome to contribute to this project!
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!
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.