PlayerAndroid/app/src/main/res/layout-xlarge-land/fragment_blur.xml

83 lines
3.3 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
2019-03-03 09:20:15 +00:00
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-08-30 09:29:30 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2018-08-30 09:29:30 +00:00
android:clickable="true"
android:focusable="true">
2018-07-27 13:07:33 +00:00
2018-08-30 09:29:30 +00:00
<androidx.appcompat.widget.AppCompatImageView
2018-12-04 15:34:26 +00:00
android:id="@+id/colorBackground"
2018-08-30 09:29:30 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2018-11-05 13:53:07 +00:00
android:scaleType="centerCrop" />
2018-08-01 06:51:27 +00:00
2018-08-30 09:29:30 +00:00
<View
android:id="@+id/mask"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/md_black_1000"
android:visibility="gone" />
2018-08-01 06:51:27 +00:00
2018-08-30 09:29:30 +00:00
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/shadow_up" />
2018-07-27 13:07:33 +00:00
2019-03-03 09:20:15 +00:00
<LinearLayout
android:id="@+id/playerContent"
android:layout_width="400dp"
android:layout_height="0dp"
android:layout_above="@id/playerToolbar"
2019-03-03 09:20:15 +00:00
android:layout_gravity="center_horizontal"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:orientation="vertical"
app:layout_constraintBottom_toTopOf="@+id/playerToolbar"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<code.name.monkey.retromusic.views.WidthFitSquareLayout
android:id="@+id/album_cover_container"
2018-08-30 09:29:30 +00:00
android:layout_width="match_parent"
2019-03-03 09:20:15 +00:00
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_weight="0">
2018-08-30 09:29:30 +00:00
2019-03-03 09:20:15 +00:00
<fragment
android:id="@+id/playerAlbumCoverFragment"
2019-04-20 05:29:45 +00:00
android:name="code.name.monkey.retromusic.fragments.player.PlayerAlbumCoverFragment"
2018-08-30 09:29:30 +00:00
android:layout_width="match_parent"
2019-09-09 13:38:49 +00:00
android:layout_height="match_parent"
tools:layout="@layout/fragment_album_cover" />
2019-03-03 09:20:15 +00:00
</code.name.monkey.retromusic.views.WidthFitSquareLayout>
2018-11-13 03:30:08 +00:00
2019-03-03 09:20:15 +00:00
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
tools:background="@color/md_white_1000">
2018-11-28 05:37:10 +00:00
2019-03-03 09:20:15 +00:00
<fragment
android:id="@+id/playbackControlsFragment"
2019-04-20 05:29:45 +00:00
android:name="code.name.monkey.retromusic.fragments.player.blur.BlurPlaybackControlsFragment"
2018-11-13 03:30:08 +00:00
android:layout_width="match_parent"
2019-03-03 09:20:15 +00:00
android:layout_height="match_parent" />
</FrameLayout>
</LinearLayout>
2019-09-29 08:37:57 +00:00
<com.google.android.material.appbar.MaterialToolbar
2019-03-03 09:20:15 +00:00
android:id="@+id/playerToolbar"
style="@style/Toolbar"
android:layout_height="48dp"
2019-06-23 17:07:33 +00:00
android:navigationIcon="@drawable/ic_keyboard_arrow_down_black_24dp"
2019-03-03 09:20:15 +00:00
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2019-06-23 17:07:33 +00:00
app:navigationIcon="@drawable/ic_keyboard_arrow_down_black_24dp" />
2019-03-03 09:20:15 +00:00
</androidx.constraintlayout.widget.ConstraintLayout>