PlayerAndroid/app/src/main/res/layout-land/fragment_color_player.xml

131 lines
5.9 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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:id="@+id/anti_clickable"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?android:attr/windowBackground">
<View
android:id="@+id/gradient_background"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<include layout="@layout/shadow_statusbar_toolbar" />
2018-11-28 05:37:10 +00:00
<code.name.monkey.retromusic.views.FitSystemWindowsLayout
android:id="@+id/safeArea"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
2018-11-28 05:37:10 +00:00
android:layout_height="match_parent">
2018-07-27 13:07:33 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
2018-11-28 05:37:10 +00:00
android:orientation="vertical">
2018-07-27 13:07:33 +00:00
2018-11-28 05:37:10 +00:00
<FrameLayout
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
2018-11-28 05:37:10 +00:00
android:layout_height="wrap_content">
<include layout="@layout/status_bar" />
</FrameLayout>
2018-07-27 13:07:33 +00:00
2018-11-28 05:37:10 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<code.name.monkey.retromusic.views.HeightFitSquareLayout
android:id="@+id/album_cover_container"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
2018-11-28 05:37:10 +00:00
android:layout_height="match_parent">
2018-07-27 13:07:33 +00:00
2018-11-28 05:37:10 +00:00
<androidx.cardview.widget.CardView
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2018-11-28 05:37:10 +00:00
app:cardCornerRadius="8dp"
app:cardElevation="8dp"
app:cardPreventCornerOverlap="false"
app:cardUseCompatPadding="true">
2018-07-27 13:07:33 +00:00
2018-11-28 05:37:10 +00:00
<ImageView
android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop" />
2018-07-27 13:07:33 +00:00
2018-11-28 05:37:10 +00:00
<ScrollView
android:id="@+id/lyrics_container"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
2018-11-28 05:37:10 +00:00
android:layout_height="match_parent"
android:background="@color/twenty_percent_black_overlay"
android:visibility="gone"
tools:visibility="visible">
2018-07-27 13:07:33 +00:00
2018-11-28 05:37:10 +00:00
<FrameLayout
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-11-28 05:37:10 +00:00
android:padding="16dp">
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/lyrics"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:lineSpacingExtra="4dp"
android:lineSpacingMultiplier="1.5"
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
android:textColor="@color/md_white_1000" />
</FrameLayout>
</ScrollView>
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/expand"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:padding="16dp"
app:srcCompat="@drawable/ic_unfold_more_black_24dp"
app:tint="@color/md_white_1000" />
</androidx.cardview.widget.CardView>
2018-07-27 13:07:33 +00:00
2018-11-28 05:37:10 +00:00
</code.name.monkey.retromusic.views.HeightFitSquareLayout>
2018-07-27 13:07:33 +00:00
2018-11-28 05:37:10 +00:00
<LinearLayout
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
2018-11-28 05:37:10 +00:00
android:layout_height="match_parent"
android:orientation="vertical">
2018-07-27 13:07:33 +00:00
2018-11-28 05:37:10 +00:00
<FrameLayout
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
2018-11-28 05:37:10 +00:00
android:layout_height="wrap_content"
android:layout_weight="1">
2018-07-27 13:07:33 +00:00
2018-11-28 05:37:10 +00:00
<fragment
android:id="@+id/playback_controls_fragment"
android:name="code.name.monkey.retromusic.ui.fragments.player.color.ColorPlaybackControlsFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:layout="@layout/fragment_player_playback_controls" />
</FrameLayout>
2018-07-27 13:07:33 +00:00
2018-11-28 05:37:10 +00:00
<FrameLayout
android:id="@+id/toolbar_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0">
<androidx.appcompat.widget.Toolbar
android:id="@+id/player_toolbar"
2018-12-04 15:34:26 +00:00
style="@style/Toolbar"
2018-11-28 05:37:10 +00:00
android:navigationIcon="@drawable/ic_close_white_24dp"
app:navigationIcon="@drawable/ic_close_white_24dp" />
</FrameLayout>
</LinearLayout>
</LinearLayout>
2018-07-27 13:07:33 +00:00
</LinearLayout>
2018-11-05 13:53:07 +00:00
2018-11-28 05:37:10 +00:00
</code.name.monkey.retromusic.views.FitSystemWindowsLayout>
2018-07-27 13:07:33 +00:00
</FrameLayout>