Snippets tagged “contextcompat”
1 snippet uses this tag.
- How set background drawable programmatically in AndroidJava
To set a background drawable programmatically in Android, you can use the setBackgroundDrawable method of the View class.
1 snippet uses this tag.
To set a background drawable programmatically in Android, you can use the setBackgroundDrawable method of the View class.