70 lines
No EOL
2.7 KiB
XML
70 lines
No EOL
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clickable="true"
|
|
android:focusable="true">
|
|
|
|
<View
|
|
android:id="@+id/gradient_background"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
<include layout="@layout/shadow_statusbar_toolbar" />
|
|
|
|
<FrameLayout
|
|
android:id="@+id/toolbar_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_gravity="bottom">
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
android:id="@+id/player_toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
app:navigationIcon="@drawable/ic_close_white_24dp" />
|
|
</FrameLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/container"
|
|
android:layout_width="400dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_above="@id/toolbar_container"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_gravity="center_horizontal"
|
|
android:orientation="vertical">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<include layout="@layout/status_bar" />
|
|
</FrameLayout>
|
|
|
|
<code.name.monkey.retromusic.views.WidthFitSquareLayout
|
|
android:id="@+id/album_cover_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0"
|
|
tools:background="@drawable/gradient_1">
|
|
|
|
<fragment
|
|
android:id="@+id/player_album_cover_fragment"
|
|
android:name="code.name.monkey.retromusic.ui.fragments.player.PlayerAlbumCoverFragment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:layout="@layout/fragment_player_album_cover" />
|
|
</code.name.monkey.retromusic.views.WidthFitSquareLayout>
|
|
|
|
<fragment
|
|
android:id="@+id/playback_controls_fragment"
|
|
android:name="code.name.monkey.retromusic.ui.fragments.player.normal.PlayerPlaybackControlsFragment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
tools:layout="@layout/fragment_player_playback_controls" />
|
|
</LinearLayout>
|
|
</RelativeLayout> |