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

113 lines
4.8 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-08-08 13:33:38 +05:30
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/root"
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
2018-08-08 13:33:38 +05:30
android:layout_height="match_parent">
2018-07-27 18:37:33 +05:30
2018-08-30 14:59:30 +05:30
<com.google.android.material.appbar.AppBarLayout
2018-08-08 13:33:38 +05:30
android:id="@+id/app_bar"
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
2018-08-08 13:33:38 +05:30
android:layout_height="wrap_content">
2018-08-01 12:21:27 +05:30
2018-08-30 14:59:30 +05:30
<com.google.android.material.appbar.CollapsingToolbarLayout
2018-08-08 13:33:38 +05:30
android:id="@+id/collapsing_toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:contentScrim="@android:color/transparent"
app:layout_scrollFlags="scroll|exitUntilCollapsed"
app:titleEnabled="false">
<code.name.monkey.retromusic.views.WidthFitSquareLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
app:layout_collapseMode="parallax">
2018-08-30 14:59:30 +05:30
<androidx.appcompat.widget.AppCompatImageView
2018-08-08 13:33:38 +05:30
android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:transitionName="@string/transition_artist_image" />
<View
android:layout_width="match_parent"
android:layout_height="72dp"
android:background="@drawable/shadow_down_strong" />
</code.name.monkey.retromusic.views.WidthFitSquareLayout>
2018-08-30 14:59:30 +05:30
<androidx.appcompat.widget.Toolbar
2018-08-08 13:33:38 +05:30
android:id="@+id/toolbar"
style="@style/Toolbar48"
app:layout_collapseMode="pin" />
2018-08-30 14:59:30 +05:30
</com.google.android.material.appbar.CollapsingToolbarLayout>
</com.google.android.material.appbar.AppBarLayout>
2018-08-08 13:33:38 +05:30
2018-08-30 14:59:30 +05:30
<androidx.core.widget.NestedScrollView
2018-08-08 13:33:38 +05:30
android:id="@+id/content"
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-08-08 13:33:38 +05:30
android:background="@drawable/bg_circular_top_corners"
android:overScrollMode="never"
app:behavior_overlapTop="24dp"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
2018-07-27 18:37:33 +05:30
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-08-08 13:33:38 +05:30
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-11-05 19:23:07 +05:30
android:orientation="vertical"
android:padding="16dp">
2018-08-08 13:33:38 +05:30
2018-11-05 19:23:07 +05:30
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
android:id="@+id/title"
fontPath="@string/circular_std_black"
2018-08-08 13:33:38 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-11-05 19:23:07 +05:30
android:maxLines="2"
android:textAppearance="@style/TextAppearance.AppCompat.Title"
tools:ignore="MissingPrefix"
tools:text="Title" />
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
android:id="@+id/text"
android:layout_width="match_parent"
2018-08-08 13:33:38 +05:30
android:layout_height="wrap_content"
android:layout_gravity="center"
2018-11-05 19:23:07 +05:30
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:freezesText="true"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:singleLine="true"
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
tools:ignore="MissingPrefix"
tools:text="Title" />
2018-08-08 13:33:38 +05:30
</LinearLayout>
2018-11-05 19:23:07 +05:30
<include layout="@layout/activity_artist_content" />
2018-08-08 13:33:38 +05:30
2018-11-13 09:00:08 +05:30
2018-07-27 18:37:33 +05:30
</LinearLayout>
2018-08-30 14:59:30 +05:30
</androidx.core.widget.NestedScrollView>
2018-11-05 19:23:07 +05:30
2018-11-13 09:00:08 +05:30
<code.name.monkey.retromusic.views.CollapsingFAB
2018-11-05 19:23:07 +05:30
android:id="@+id/action_shuffle_all"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2018-11-13 09:00:08 +05:30
android:layout_gravity="end|bottom"
android:layout_margin="10dp"
app:showTitle="true"
2018-11-28 11:07:10 +05:30
app:setIcon="@drawable/ic_shuffle_white_24dp"
app:setText="@string/action_shuffle_all"
2018-11-13 09:00:08 +05:30
app:shuffleBackgroundColor="@color/md_black_1000" />
2018-08-30 14:59:30 +05:30
</androidx.coordinatorlayout.widget.CoordinatorLayout>