Call requires API level 29 (current min is 21): `android.widget.NumberPicker#setTextColor`
问题 I want to change selected field of text color using setTextColor. But Android Studio gives me this error. What should I do? Min SDK is 21. This is code of my CustomNumberPicker class: import android.annotation.TargetApi import android.content.Context import android.graphics.Color import android.graphics.Paint import android.graphics.Typeface import android.graphics.drawable.Drawable import android.os.Build import android.os.Build.VERSION import android.os.Build.VERSION_CODES import android