Guest User

Untitled

a guest
Mar 19th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. <shape
  2. xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:shape="oval">
  4.  
  5. <solid android:color="#44afcc" />
  6.  
  7. </shape>
  8.  
  9. private Drawable backgroundDrawable;
  10. backgroundDrawable = getResources().getDrawable(R.drawable.today_circle_background);
  11. int color = Color.parseColor("#FE2E2E");
  12. backgroundDrawable.setColorFilter(new PorterDuffColorFilter(color, PorterDuff.Mode.MULTIPLY));
Add Comment
Please, Sign In to add comment