From b27b809d018665d25512f9707d49941667cbc21c Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Mon, 3 Jun 2013 21:09:41 -0700 Subject: Finished adding 4x1-4x4 widgets (Thanks archrival) --- subsonic-android/res/layout/appwidget.xml | 89 ----------- subsonic-android/res/layout/appwidget4x1.xml | 191 +++++++++++----------- subsonic-android/res/layout/appwidget4x2.xml | 226 +++++++++++++++------------ subsonic-android/res/layout/appwidget4x3.xml | 112 +++++++++++++ subsonic-android/res/layout/appwidget4x4.xml | 114 ++++++++++++++ 5 files changed, 454 insertions(+), 278 deletions(-) delete mode 100644 subsonic-android/res/layout/appwidget.xml create mode 100644 subsonic-android/res/layout/appwidget4x3.xml create mode 100644 subsonic-android/res/layout/appwidget4x4.xml (limited to 'subsonic-android/res/layout') diff --git a/subsonic-android/res/layout/appwidget.xml b/subsonic-android/res/layout/appwidget.xml deleted file mode 100644 index fa47a7b9..00000000 --- a/subsonic-android/res/layout/appwidget.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/subsonic-android/res/layout/appwidget4x1.xml b/subsonic-android/res/layout/appwidget4x1.xml index ed08d674..5e55aa37 100644 --- a/subsonic-android/res/layout/appwidget4x1.xml +++ b/subsonic-android/res/layout/appwidget4x1.xml @@ -1,91 +1,106 @@ - - - - - - - - + + + + + + - - - - - - - - + android:layout_height="wrap_content" + android:clickable="true" + android:focusable="true" + android:orientation="vertical" + android:background="@drawable/media_button"> + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/subsonic-android/res/layout/appwidget4x2.xml b/subsonic-android/res/layout/appwidget4x2.xml index 6407c298..575ae1c2 100644 --- a/subsonic-android/res/layout/appwidget4x2.xml +++ b/subsonic-android/res/layout/appwidget4x2.xml @@ -1,105 +1,129 @@ - - - - - - + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:minWidth="250dp" + android:minHeight="110dp" + android:background="@drawable/appwidget_bg" + android:orientation="horizontal" > - - - + + + + + + + + + + + + + + - - - - - - - - + android:layout_height="wrap_content" + android:orientation="horizontal" + android:layout_gravity="bottom" + android:gravity="bottom" + android:paddingBottom="4dip" + android:paddingTop="4dip" >" + + + + + + + + + + \ No newline at end of file diff --git a/subsonic-android/res/layout/appwidget4x3.xml b/subsonic-android/res/layout/appwidget4x3.xml new file mode 100644 index 00000000..b4f685bc --- /dev/null +++ b/subsonic-android/res/layout/appwidget4x3.xml @@ -0,0 +1,112 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/subsonic-android/res/layout/appwidget4x4.xml b/subsonic-android/res/layout/appwidget4x4.xml new file mode 100644 index 00000000..6e6c12ab --- /dev/null +++ b/subsonic-android/res/layout/appwidget4x4.xml @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3