Android AppWidget TextView: How to set background color at run time
- by Amit
I am trying to create an AppWidget, in which the background color of a TextView changes at random at specified periodic interval.
The TextView is defined in layout xml file as
<?xml version="1.0" encoding="utf-8" ?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/widget"
…