UPDATE: If you’re using androidx libraries instead of the (legacy) v7 support libraries (which you ought to do so now…), please use this instead:
import androidx.appcompat.widget.AppCompatTextView;
OLD ANSWER: (still useful if you’ve not migrated to androidx yet…)
This custom view should extend
android.support.v7.widget.AppCompatTextView instead
It’s a Warning, not an Error.
Instead of
public class FontAwesome extends TextView
You should use AppCompatTextView
public class FontAwesome extends AppCompatTextView