aboutsummaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-02-27 07:05:14 -0800
committerScott Jackson <daneren2005@gmail.com>2014-02-27 07:05:14 -0800
commiteef3f2684bf8f065d89af48c6e6f13186dc3a85d (patch)
tree4dcf264e070f5451b2bef0e3d3a399f86ce49992 /res
parentd652e81caa19877dfdb1f7349c1337f1d60fcb59 (diff)
downloaddsub-eef3f2684bf8f065d89af48c6e6f13186dc3a85d.tar.gz
dsub-eef3f2684bf8f065d89af48c6e6f13186dc3a85d.tar.bz2
dsub-eef3f2684bf8f065d89af48c6e6f13186dc3a85d.zip
#245 Align overlay bar to bot of album art
Diffstat (limited to 'res')
-rw-r--r--res/layout-port/download.xml16
1 files changed, 7 insertions, 9 deletions
diff --git a/res/layout-port/download.xml b/res/layout-port/download.xml
index 7aa83fb5..f2a1df1c 100644
--- a/res/layout-port/download.xml
+++ b/res/layout-port/download.xml
@@ -24,25 +24,24 @@
android:layout_weight="1"
android:background="@android:color/transparent">
- <RelativeLayout android:orientation="vertical"
+ <FrameLayout android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_above="@+id/download_song_title">
+ android:layout_alignParentTop="true">
<ImageView
android:id="@+id/download_album_art_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
- android:layout_alignParentTop="true"
- android:scaleType="fitCenter"/>
+ android:scaleType="fitCenter"
+ android:layout_gravity="center_horizontal|top"/>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/download_overlay_buttons"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@color/overlayColor"
- android:layout_alignParentBottom="true">
+ android:layout_gravity="center_horizontal|bottom">
<LinearLayout
android:layout_width="wrap_content"
@@ -86,9 +85,8 @@
android:layout_height="60dip"
android:layout_marginLeft="16dip"
android:layout_marginRight="16dip"
- android:layout_gravity="center_horizontal"
- android:layout_alignParentBottom="true"/>
- </RelativeLayout>
+ android:layout_gravity="center_horizontal|bottom"/>
+ </FrameLayout>
<TextView
android:id="@+id/download_status"