RetroMusicPlayer/app/src/main/res/layout-xlarge-land/fragment_player.xml

96 lines
3.9 KiB
XML
Raw Normal View History

2018-07-27 18:37:33 +05:30
<?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">
2019-12-05 23:48:54 +05:30
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorSurface" />
2018-07-27 18:37:33 +05:30
<View
android:id="@+id/colorGradientBackground"
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
android:layout_height="match_parent" />
<include layout="@layout/shadow_statusbar_toolbar" />
2019-09-29 14:07:57 +05:30
<androidx.constraintlayout.widget.ConstraintLayout
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
2018-07-27 18:37:33 +05:30
2019-09-29 14:07:57 +05:30
<FrameLayout
android:id="@+id/statusBarContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<include layout="@layout/status_bar" />
</FrameLayout>
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/playerToolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:navigationIcon="@drawable/ic_keyboard_arrow_down_black_24dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/statusBarContainer"
app:navigationIcon="@drawable/ic_keyboard_arrow_down_black_24dp" />
2018-11-05 19:23:07 +05:30
<LinearLayout
2019-09-29 14:07:57 +05:30
android:id="@+id/albumCoverContainer"
android:layout_width="match_parent"
android:layout_height="0dp"
android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/playerToolbar">
2018-07-27 18:37:33 +05:30
2020-02-17 21:23:28 +05:30
<Space
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1" />
<code.name.monkey.retromusic.views.WidthFitSquareLayout
android:layout_width="match_parent"
2019-09-29 14:07:57 +05:30
android:layout_height="wrap_content"
android:layout_weight="1">
2018-07-27 18:37:33 +05:30
2018-11-05 19:23:07 +05:30
<fragment
android:id="@+id/playerAlbumCoverFragment"
android:name="code.name.monkey.retromusic.fragments.player.PlayerAlbumCoverFragment"
2018-11-05 19:23:07 +05:30
android:layout_width="match_parent"
android:layout_height="match_parent"
2019-09-09 19:08:49 +05:30
tools:layout="@layout/fragment_album_cover" />
</code.name.monkey.retromusic.views.WidthFitSquareLayout>
2018-07-27 18:37:33 +05:30
2019-09-29 14:07:57 +05:30
<Space
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-09-29 14:07:57 +05:30
android:layout_weight="1" />
</LinearLayout>
<fragment
android:id="@+id/playbackControlsFragment"
android:name="code.name.monkey.retromusic.fragments.player.normal.PlayerPlaybackControlsFragment"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/albumCoverContainer"
tools:layout="@layout/fragment_player_playback_controls" />
</androidx.constraintlayout.widget.ConstraintLayout>
2018-07-27 18:37:33 +05:30
</RelativeLayout>