The key thing to understand is to use app:autoSizeTextType
, as opposed to android:autoSizeTextType
Per the documentation:
To define the default setting in XML through the support library, use the app namespace and set the autoSizeTextType attribute to none or uniform.