There is a drawable used as background for the widget.

<?xml version="1.0" encoding="UTF-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android"> <solid android:color="#27000000"/> <stroke android:width="1dp" android:color="#90c91c0e" /> <corners android:radius="5dp"/> <padding android:left="0dp" android:top="0dp" android:right="0dp" android:bottom="0dp" /> </shape> 

Is it possible in any way to allow the user to change the colors of this Drawable? Through RemoteViews, you can set the background color of the widget views.setInt(R.id.general, "setBackgroundColor", color) , but I did not find a way to set the drawable. I use configuration activity to configure the widget.

    0