mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-06 21:25:03 -05:00
Android: Show cover art in the widget (including option to hide it).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29437 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
952d82b7bd
commit
883ff8507e
9 changed files with 49 additions and 9 deletions
|
|
@ -8,10 +8,12 @@
|
|||
android:background="@drawable/appwidget_background">
|
||||
<!-- style="@style/appwidget_background"-->
|
||||
|
||||
<ImageView android:id="@+id/logo"
|
||||
<ImageButton android:id="@+id/logo"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="40dp"
|
||||
android:scaleType="centerInside"
|
||||
android:layout_height="80dp"
|
||||
android:scaleType="centerInside"
|
||||
android:background="@drawable/appwidget_infodisplay_background"
|
||||
android:src="@drawable/rockbox" />
|
||||
<Button android:id="@+id/infoDisplay"
|
||||
style="@style/appwidget_infodisplay"
|
||||
|
|
|
|||
|
|
@ -8,10 +8,12 @@
|
|||
android:background="@drawable/appwidget_background">
|
||||
<!-- style="@style/appwidget_background"-->
|
||||
|
||||
<ImageView android:id="@+id/logo"
|
||||
<ImageButton android:id="@+id/logo"
|
||||
android:layout_marginTop="15dp"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_height="130dp"
|
||||
android:scaleType="centerInside"
|
||||
android:background="@drawable/appwidget_infodisplay_background"
|
||||
android:src="@drawable/rockbox" />
|
||||
<Button android:id="@+id/infoDisplay"
|
||||
style="@style/appwidget_infodisplay"
|
||||
|
|
|
|||
|
|
@ -8,6 +8,12 @@
|
|||
android:background="@drawable/appwidget_background">
|
||||
<!-- style="@style/appwidget_background"-->
|
||||
|
||||
<ImageButton android:id="@+id/logo"
|
||||
android:layout_width="68dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:scaleType="centerInside"
|
||||
android:background="@drawable/appwidget_infodisplay_background"
|
||||
android:src="@drawable/rockbox" />
|
||||
<Button android:id="@+id/infoDisplay"
|
||||
style="@style/appwidget_infodisplay"
|
||||
android:layout_height="fill_parent"
|
||||
|
|
|
|||
|
|
@ -15,6 +15,10 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:text="@string/appwidget_configure_instructions"/>
|
||||
|
||||
<CheckBox android:id="@+id/enable_aa"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/appwidget_configure_albumart"/>
|
||||
<CheckBox android:id="@+id/enable_prev"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
<!-- Widget configuration -->
|
||||
<string name="appwidget_configure_instructions">Please chose elements to display in widget.</string>
|
||||
<string name="appwidget_configure_albumart">Cover Art</string>
|
||||
<string name="appwidget_configure_prev">Prev Button</string>
|
||||
<string name="appwidget_configure_stop">Stop Button</string>
|
||||
<string name="appwidget_configure_playpause">Play/Pause Button</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue