RetroMusicPlayer/app/src/main/res/layout-land/activity_album.xml

126 lines
5.3 KiB
XML
Raw Normal View History

2018-07-27 18:37:33 +05:30
<?xml version="1.0" encoding="utf-8"?>
2018-08-30 14:59:30 +05:30
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-07-27 18:37:33 +05:30
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:orientation="horizontal">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1">
<ImageView
android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:scaleType="centerCrop"
android:transitionName="@string/transition_album_art" />
2018-08-30 14:59:30 +05:30
<androidx.appcompat.widget.Toolbar
2018-07-27 18:37:33 +05:30
android:id="@+id/toolbar"
style="@style/Toolbar48" />
</FrameLayout>
2018-08-30 14:59:30 +05:30
<androidx.core.widget.NestedScrollView
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:fillViewport="true"
android:overScrollMode="never">
<LinearLayout
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal">
<code.name.monkey.retromusic.views.CircularImageView
android:id="@+id/artist_image"
android:layout_width="52dp"
android:layout_height="52dp"
android:layout_marginStart="8dp"
2018-11-05 19:23:07 +05:30
android:layout_weight="0"
app:civ_border="false" />
2018-07-27 18:37:33 +05:30
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_weight="1"
android:orientation="vertical"
android:padding="16dp">
2018-11-05 19:23:07 +05:30
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
2018-07-27 18:37:33 +05:30
android:id="@+id/title"
fontPath="@string/circular_std_black"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLines="2"
android:textAppearance="@style/TextAppearance.AppCompat.Title"
2018-11-05 19:23:07 +05:30
android:transitionName="@string/transition_album_name"
2018-07-27 18:37:33 +05:30
tools:ignore="MissingPrefix" />
2018-11-05 19:23:07 +05:30
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
2018-07-27 18:37:33 +05:30
android:id="@+id/text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:freezesText="true"
android:marqueeRepeatLimit="marquee_forever"
2018-11-05 19:23:07 +05:30
android:paddingTop="4dp"
2018-07-27 18:37:33 +05:30
android:scrollHorizontally="true"
android:singleLine="true"
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
2018-11-05 19:23:07 +05:30
android:transitionName="@string/transition_album_text"
2018-07-27 18:37:33 +05:30
tools:ignore="MissingPrefix"
tools:text="Title" />
</LinearLayout>
</LinearLayout>
2018-11-05 19:23:07 +05:30
<include layout="@layout/activity_album_content" />
2018-07-27 18:37:33 +05:30
</LinearLayout>
2018-08-30 14:59:30 +05:30
</androidx.core.widget.NestedScrollView>
2018-07-27 18:37:33 +05:30
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="72dp"
android:background="@drawable/shadow_down_strong" />
2018-11-05 19:23:07 +05:30
<com.google.android.material.button.MaterialButton
2018-07-27 18:37:33 +05:30
android:id="@+id/action_shuffle_all"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_margin="16dp"
2018-11-05 19:23:07 +05:30
android:text="@string/shuffle"
android:textAllCaps="false"
app:backgroundTint="@color/md_red_500"
app:cornerRadius="25dp"
app:icon="@drawable/ic_shuffle_white_24dp"
app:iconGravity="start"
app:iconPadding="12dp"
app:layout_dodgeInsetEdges="all" />
2018-07-27 18:37:33 +05:30
2018-08-30 14:59:30 +05:30
</androidx.coordinatorlayout.widget.CoordinatorLayout>
2018-07-27 18:37:33 +05:30