Documents some utilities

This commit is contained in:
Vavassor 2017-07-27 22:03:45 -04:00
commit 368d8e5901
11 changed files with 83 additions and 11 deletions

View file

@ -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) {