diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-11-11 14:23:46 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-11-11 14:23:46 -0800 |
commit | 9f1f29344b1ce6b21285bc781446debf8c16cb23 (patch) | |
tree | b2f24b91b2014748698190b49d441b0ff425059d /res/layout-port | |
parent | 5a1510d4431779a2f4c13159e21f29a8a11c4e6d (diff) | |
download | dsub-9f1f29344b1ce6b21285bc781446debf8c16cb23.tar.gz dsub-9f1f29344b1ce6b21285bc781446debf8c16cb23.tar.bz2 dsub-9f1f29344b1ce6b21285bc781446debf8c16cb23.zip |
Abstracted out action buttons into include
Diffstat (limited to 'res/layout-port')
-rw-r--r-- | res/layout-port/download.xml | 60 |
1 files changed, 5 insertions, 55 deletions
diff --git a/res/layout-port/download.xml b/res/layout-port/download.xml index 4b39286a..9fb5d7bf 100644 --- a/res/layout-port/download.xml +++ b/res/layout-port/download.xml @@ -25,13 +25,13 @@ android:background="@android:color/transparent">
<RelativeLayout android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_weight="1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
android:layout_above="@+id/download_song_title">
<ImageView
android:id="@+id/download_album_art_image"
+ android:src="@drawable/unknown_album_large"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
@@ -46,62 +46,12 @@ android:background="@color/overlayColor"
android:layout_alignParentBottom="true">
- <Button
- android:id="@+id/download_jukebox"
- android:text="RC"
- android:textStyle="bold"
- android:textSize="22sp"
- android:background="@drawable/menubar_button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom"
- android:paddingTop="4dip"
- android:paddingLeft="14dip"
- android:paddingBottom="4dip"/>
-
- <Button
- android:id="@+id/download_equalizer"
- android:text="EQ"
- android:textStyle="bold"
- android:textSize="22sp"
- android:background="@drawable/menubar_button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom"
- android:paddingTop="4dip"
- android:paddingLeft="7dip"
- android:paddingRight="7dip"
- android:paddingBottom="4dip"/>
-
- <Button
- android:id="@+id/download_visualizer"
- android:text="VIS"
- android:textStyle="bold"
- android:textSize="22sp"
- android:background="@drawable/menubar_button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom"
- android:paddingTop="4dip"
- android:paddingLeft="7dip"
- android:paddingRight="7dip"
- android:paddingBottom="4dip"/>
-
- <ImageButton
- android:id="@+id/download_star"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/download_jukebox"
- android:background="@drawable/menubar_button"
- android:src="@android:drawable/star_big_off"
- android:paddingTop="8dip"
- android:paddingLeft="10dip"
- android:paddingRight="10dip"
- android:paddingBottom="8dip"/>
+ <include layout="@layout/download_action_buttons"/>
</LinearLayout>
<LinearLayout
android:id="@+id/download_visualizer_view_layout"
+ android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="60dip"
android:layout_marginLeft="16dip"
|