TextView autoSizeTextType not working in Compat

前端 未结 4 705
一整个雨季
一整个雨季 2021-01-11 12:26

I tried using autoSizeTextType. My minSdk is 24, all the tools are 26 and compat ist 26-beta2 as well.

4条回答
  •  鱼传尺愫
    2021-01-11 13:21

    Okay, so the combination of settings that worked :

    
    
    
    

    You also need the appcompat-v7 library as a dependency in your module build.gradle file.

    dependencies {
        implementation 'com.android.support:appcompat-v7:27.1.1'
    }
    

提交回复
热议问题