This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-ChildItem .\ -include bin,obj -Recurse | foreach ($_) { remove-item $_.fullname -Force -Recurse } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class Util { | |
public Drawable getTintedDrawable(Context context, @DrawableRes int id, @ColorRes int colorId) { | |
// use AppCompatResources to get Drawable for pre-Lollipop vector compatibility; | |
Drawable drawable = AppCompatResources.getDrawable(context, id); | |
if (drawable == null) { | |
return null; | |
} |