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:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true">
|
|
|
|
|
|
|
|
<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"
|
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">
|
|
|
|
|
|
|
|
<include layout="@layout/status_bar" />
|
|
|
|
</FrameLayout>
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-11-28 05:37:10 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/title_container"
|
2018-11-23 16:30:46 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-11-28 05:37:10 +00:00
|
|
|
android:layout_weight="0"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="16dp">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-11-28 05:37:10 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/title"
|
|
|
|
fontPath="@string/circular_std_black"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:focusable="true"
|
|
|
|
android:focusableInTouchMode="true"
|
|
|
|
android:freezesText="true"
|
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
|
|
android:scrollHorizontally="true"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textSize="22sp"
|
|
|
|
tools:ignore="MissingPrefix"
|
|
|
|
tools:text="Title" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-11-28 05:37:10 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/text"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
tools:text="Text" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<code.name.monkey.retromusic.views.WidthFitSquareLayout
|
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">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-11-28 05:37:10 +00:00
|
|
|
<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="wrap_content"
|
|
|
|
tools:layout="@layout/fragment_player_album_cover" />
|
|
|
|
</code.name.monkey.retromusic.views.WidthFitSquareLayout>
|
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="match_parent"
|
2018-11-28 05:37:10 +00:00
|
|
|
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.plain.PlainPlaybackControlsFragment"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:layout="@layout/fragment_plain_controls_fragment" />
|
|
|
|
</FrameLayout>
|
2018-11-05 13:53:07 +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"
|
|
|
|
style="@style/Toolbar48"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:navigationIcon="@drawable/ic_close_white_24dp"
|
|
|
|
app:navigationIcon="@drawable/ic_close_white_24dp" />
|
|
|
|
</FrameLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</code.name.monkey.retromusic.views.FitSystemWindowsLayout>
|
2018-07-27 13:07:33 +00:00
|
|
|
</FrameLayout>
|