From 32ce1f71202ca525069b0f8291278e59bd022b22 Mon Sep 17 00:00:00 2001 From: Christopher Eby Date: Thu, 18 Mar 2010 20:05:29 -0500 Subject: [PATCH] Update widget play/pause icon according to state --- .../{hidden_play_pause.xml => hidden_pause.xml} | 0 res/drawable/hidden_play.xml | 10 ++++++++++ res/layout/one_cell_widget.xml | 11 +++++++++-- src/org/kreed/vanilla/OneCellWidget.java | 17 ++++++++++++++++- 4 files changed, 35 insertions(+), 3 deletions(-) rename res/drawable/{hidden_play_pause.xml => hidden_pause.xml} (100%) create mode 100644 res/drawable/hidden_play.xml diff --git a/res/drawable/hidden_play_pause.xml b/res/drawable/hidden_pause.xml similarity index 100% rename from res/drawable/hidden_play_pause.xml rename to res/drawable/hidden_pause.xml diff --git a/res/drawable/hidden_play.xml b/res/drawable/hidden_play.xml new file mode 100644 index 00000000..c013bf28 --- /dev/null +++ b/res/drawable/hidden_play.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/res/layout/one_cell_widget.xml b/res/layout/one_cell_widget.xml index 2a6f3eb6..23d582f3 100644 --- a/res/layout/one_cell_widget.xml +++ b/res/layout/one_cell_widget.xml @@ -12,11 +12,18 @@ android:layout_width="fill_parent" android:orientation="vertical" > +