summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--res/layout/activity_player_fragment.xml18
1 files changed, 16 insertions, 2 deletions
diff --git a/res/layout/activity_player_fragment.xml b/res/layout/activity_player_fragment.xml
index 3e47c08..cb5f47d 100644
--- a/res/layout/activity_player_fragment.xml
+++ b/res/layout/activity_player_fragment.xml
@@ -2,6 +2,7 @@
<!--
Copyright (C) 2012 Andrew Neal
Copyright (C) 2014 The CyanogenMod Project
+ Copyright (C) 2017 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -25,7 +26,20 @@
android:id="@+id/audio_player_header"
layout="@layout/audio_player_header_bar" />
- <include layout="@layout/main_album_flow" />
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="7"
+ android:gravity="center_horizontal">
- <include layout="@layout/main_playback_controls" />
+ <include layout="@layout/main_album_flow" />
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="3">
+
+ <include layout="@layout/main_playback_controls" />
+ </RelativeLayout>
</LinearLayout>