Documents some utilities
This commit is contained in:
parent
bfdd0cb3a2
commit
368d8e5901
11 changed files with 83 additions and 11 deletions
|
@ -26,6 +26,10 @@ import android.support.v4.content.ContextCompat;
|
|||
import android.util.TypedValue;
|
||||
import android.widget.ImageView;
|
||||
|
||||
/**
|
||||
* Provides runtime compatibility to obtain theme information and re-theme views, especially where
|
||||
* the ability to do so is not supported in resource files.
|
||||
*/
|
||||
public class ThemeUtils {
|
||||
public static Drawable getDrawable(Context context, @AttrRes int attribute,
|
||||
@DrawableRes int fallbackDrawable) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue