Delete FontAwesome.java
This commit is contained in:
@@ -1,35 +0,0 @@
|
|||||||
package com.ShanMukhaInnovations.ArrestTB;
|
|
||||||
|
|
||||||
|
|
||||||
import android.content.Context;
|
|
||||||
import android.graphics.Typeface;
|
|
||||||
import android.util.AttributeSet;
|
|
||||||
|
|
||||||
import androidx.appcompat.widget.AppCompatTextView;
|
|
||||||
|
|
||||||
public class FontAwesome extends AppCompatTextView {
|
|
||||||
|
|
||||||
|
|
||||||
public FontAwesome(Context context, AttributeSet attrs, int defStyle) {
|
|
||||||
super(context, attrs, defStyle);
|
|
||||||
init();
|
|
||||||
}
|
|
||||||
|
|
||||||
public FontAwesome(Context context, AttributeSet attrs) {
|
|
||||||
super(context, attrs);
|
|
||||||
init();
|
|
||||||
}
|
|
||||||
|
|
||||||
public FontAwesome(Context context) {
|
|
||||||
super(context);
|
|
||||||
init();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void init() {
|
|
||||||
|
|
||||||
Typeface tf = Typeface.createFromAsset(getContext().getAssets(),
|
|
||||||
"fa-solid-900.ttf");
|
|
||||||
setTypeface(tf);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user