RetroMusicPlayer/app/src/main/res/layout/fragment_plain_player.xml

100 lines
4.2 KiB
XML
Raw Normal View History

2018-07-27 18:37:33 +05:30
<?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 11:07:10 +05:30
<code.name.monkey.retromusic.views.FitSystemWindowsLayout
android:id="@+id/safeArea"
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
2018-11-28 11:07:10 +05:30
android:layout_height="match_parent">
2018-07-27 18:37:33 +05:30
<LinearLayout
android:layout_width="match_parent"
2018-11-28 11:07:10 +05:30
android:layout_height="match_parent"
android:orientation="vertical">
2018-07-27 18:37:33 +05:30
2018-11-28 11:07:10 +05:30
<FrameLayout
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
2018-11-28 11:07:10 +05:30
android:layout_height="wrap_content">
<include layout="@layout/status_bar" />
</FrameLayout>
2018-07-27 18:37:33 +05:30
2018-11-28 11:07:10 +05:30
<LinearLayout
2018-11-23 22:00:46 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-11-28 11:07:10 +05:30
android:layout_weight="0"
android:orientation="vertical"
android:paddingStart="16dp"
android:paddingEnd="16dp">
2018-07-27 18:37:33 +05:30
2018-12-05 17:43:50 +05:30
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
android:id="@+id/playerTitle"
2018-11-28 11:07:10 +05:30
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:textSize="22sp"
2018-12-05 17:43:50 +05:30
android:textStyle="bold"
2018-11-28 11:07:10 +05:30
tools:ignore="MissingPrefix"
tools:text="Title" />
2018-07-27 18:37:33 +05:30
2018-12-05 17:43:50 +05:30
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
android:id="@+id/playerText"
2018-11-28 11:07:10 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="1"
tools:text="Text" />
</LinearLayout>
<code.name.monkey.retromusic.views.WidthFitSquareLayout
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
2018-11-28 11:07:10 +05:30
android:layout_height="wrap_content">
2018-07-27 18:37:33 +05:30
2018-11-28 11:07:10 +05:30
<fragment
2018-12-05 17:43:50 +05:30
android:id="@+id/playerAlbumCoverFragment"
2019-04-20 10:59:45 +05:30
android:name="code.name.monkey.retromusic.fragments.player.PlayerAlbumCoverFragment"
2018-11-28 11:07:10 +05:30
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 18:37:33 +05:30
2018-11-28 11:07:10 +05:30
<FrameLayout
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
android:layout_height="match_parent"
2018-11-28 11:07:10 +05:30
android:layout_weight="1">
2018-07-27 18:37:33 +05:30
2018-11-28 11:07:10 +05:30
<fragment
2018-12-05 17:43:50 +05:30
android:id="@+id/playbackControlsFragment"
2019-04-20 10:59:45 +05:30
android:name="code.name.monkey.retromusic.fragments.player.plain.PlainPlaybackControlsFragment"
2018-11-28 11:07:10 +05:30
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:layout="@layout/fragment_plain_controls_fragment" />
</FrameLayout>
2018-11-05 19:23:07 +05:30
2018-11-28 11:07:10 +05:30
<FrameLayout
android:layout_width="match_parent"
2019-03-25 18:13:43 +05:30
android:layout_height="48dp"
2018-11-28 11:07:10 +05:30
android:layout_weight="0">
<androidx.appcompat.widget.Toolbar
2018-12-05 17:43:50 +05:30
android:id="@+id/playerToolbar"
2018-12-04 21:04:26 +05:30
style="@style/Toolbar"
2019-06-23 22:37:33 +05:30
android:navigationIcon="@drawable/ic_keyboard_arrow_down_black_24dp"
app:navigationIcon="@drawable/ic_keyboard_arrow_down_black_24dp" />
2018-11-28 11:07:10 +05:30
</FrameLayout>
</LinearLayout>
</code.name.monkey.retromusic.views.FitSystemWindowsLayout>
2018-07-27 18:37:33 +05:30
</FrameLayout>