<!--
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.
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>