remove CustomTabsHelper & ResourcesUtils (#1157)
This commit is contained in:
parent
0db1a23c4f
commit
475bff00dc
5 changed files with 17 additions and 188 deletions
|
@ -87,11 +87,6 @@ public class ThemeUtils {
|
|||
return value.resourceId;
|
||||
}
|
||||
|
||||
public static @ColorInt int getColorById(@NonNull Context context, String name) {
|
||||
return getColor(context,
|
||||
ResourcesUtils.getResourceIdentifier(context, "attr", name));
|
||||
}
|
||||
|
||||
/** this can be replaced with drawableTint in xml once minSdkVersion >= 23 */
|
||||
public static @Nullable Drawable getTintedDrawable(@NonNull Context context, @DrawableRes int drawableId, @AttrRes int colorAttr) {
|
||||
Drawable drawable = context.getDrawable(drawableId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue