Inspectopedia Help

Appcompat Custom Widgets

Appcompat Custom Widgets

In order to support features such as tinting, the appcompat library will automatically load special appcompat replacements for the builtin widgets. However, this does not work for your own custom views.

Instead of extending the android.widget classes directly, you should instead extend one of the delegate classes in androidx.appcompat.widget.AppCompatTextView.

Issue id: AppCompatCustomView

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3


Android, 2022.3.1 Beta 2

Last modified: 13 July 2023