private InputStream getTintendResourceStream ( int id , TypedValue value , int color ) { Bitmap bitmap = getBitmapFromResource ( id , value ) ; bitmap = BitmapUtils . applyColor ( bitmap , color ) ; return getStreamFromBitmap ( bitmap ) ; }
Get a reference to a resource that is equivalent to the one requested but with the accent color applied to it .