Font Awesome Manager

Additional

Language
Kotlin
Version
N/A
Created
Jul 30, 2018
Updated
Aug 28, 2018
Owner
Isaac G. Banda (LordSaac)
Contributor
Isaac G. Banda (LordSaac)
1
Activity
Badge
Generate
Download
Source code
APK file

Advertising

Font Manager 0.0.8

Dependency

dependencies { }implementation 'com.manager.font.fontlibreryigb:fontmanager:0.0.8'


Kotlin Code Compatible with:

TextView

yourTextView.setTextFontAwesome("camera")

EditText

yourEditText.setTextFontAwesome("user")

Button

yourButton.setTextFontAwesome("android")

Swictht

yourSwich.setTextFontAwesome("anchor")

CheckBox

yourCheckBox.setTextFontAwesome("exclamation-circle")

ToggleButton

yourToggleButton.setTextFontAwesome("angellist")

Java Code Compatible with:

TextView

FontIconIGB.setTextFontAwesome_Text_View(yourTextView).setText("user")

EditText

FontIconIGB.setTextEditFontAwesome_Edit_Text(yourEditText).setText("user")

Button

FontIconIGB.setTextEditFontAwesome_Edit_Text(yourButton).setText("user")

Swictht

FontIconIGB.setTextSwitchFontAwesome_Switch(yourSwicht).setText("user")

CheckBox

FontIconIGB.setTextCheckBoxFontAwesome_CheckBox(yourCheckBox).setText("user")

ToggleButton

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

XML Button & TextView:

Write the name font in text

<com.manager.font.fontmanager.ext.FontAwesomeButton

            android:id="@+id/Button2"
            android:layout_width="match_parent"
            android:layout_height="fill_parent"
            android:includeFontPadding="false"
            android:text="user"
            android:textSize="30sp"
            app:fontawesome="user" />


<com.manager.font.fontmanager.ext.FontAwesomeTextView

            android:id="@+id/textEdit"
            android:layout_width="match_parent"
            android:layout_height="fill_parent"
            android:includeFontPadding="false"
            android:text="bomb" 
            android:textSize="40sp"
            app:fontawesome="user" />

For More Icons:

https://fontawesome.com/icons?d=gallery

Licence

Copyright 2018 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.