chagnge color of shape drawable programatically
问题 i need to chage color of shape drawable programatically... i am using this <shape xmlns:android="http://schemas.android.com/apk/res/android" > <solid android:color="@color/app_theme_blue" /> <corners android:radius="8dp" /> <padding android:bottom="10dp" android:left="10dp" android:right="10dp" android:top="10dp" /> </shape> Here i required to change color of android:color="@color/app_theme_blue" . please help me. 回答1: Yes, you can. And it's really super easy. First of all, keep in mind that