api <21에 대해 드로어 블 틴팅 작업을 할 수 있습니까?
<bitmap
xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/ic_calendar"
android:tint="@color/primary" />
잘 작동하지만 API21이있는 장치에서만 작동합니다. 하위 API 장치 또는 AppCompat 지원에 대한 해결 방법이 있습니까? 아무것도 찾을 수 없습니다.
AppCompatImageView문서 :This will automatically be used when you use ImageView in your layouts. You should only need to manually use this class when writing custom views.developer.android.com/reference/android/support/v7/widget/... 그래서 정상을 사용하여ImageView레이아웃에하는 것은 잘 작동합니다.