AppCompat 23.2 use VectorDrawableCompat with RemoteViews (AppWidget) on API<21
I have an AppWidget and I'd like to use VectorDrawables in it also on pre-Lollipop devices. VectorDrawableCompat won't work with the RemoteViews I create. To keep my app APK size down, I don't want to add alternative PNG versions of my drawables for older API platforms. How can I do that? UPDATE 22/10/2017 As noted by @user924 now AppCompatDrawableManager access is restricted to its own library. ContextCompat.getDrawable(...) should do the trick. UPDATE 05/09/2016 As noted by @kirill-kulakov in its answer, the latest updates of the Support Library restricted the TintContextWrapper visibility