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

111 lines
5 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">
2018-11-13 09:00:08 +05:30
<androidx.appcompat.widget.AppCompatImageView
2018-07-27 18:37:33 +05:30
android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:scaleType="centerCrop"
2019-09-28 23:22:49 +05:30
android:transitionName="@string/transition_album_art"
tools:srcCompat="@tools:sample/backgrounds/scenic[5]" />
2018-07-27 18:37:33 +05:30
2019-09-28 23:22:49 +05:30
<com.google.android.material.appbar.MaterialToolbar
2018-07-27 18:37:33 +05:30
android:id="@+id/toolbar"
2018-12-04 21:04:26 +05:30
style="@style/Toolbar" />
2018-07-27 18:37:33 +05:30
</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">
2019-06-24 01:44:27 +05:30
<com.google.android.material.card.MaterialCardView
android:id="@+id/contentContainer"
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-06-24 01:44:27 +05:30
app:cardCornerRadius="16dp"
app:cardElevation="0dp">
2018-07-27 18:37:33 +05:30
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-06-24 01:44:27 +05:30
android:orientation="vertical">
2018-07-27 18:37:33 +05:30
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-06-24 01:44:27 +05:30
android:gravity="center_vertical"
android:orientation="horizontal">
<code.name.monkey.retromusic.views.CircularImageView
android:id="@+id/artistImage"
android:layout_width="52dp"
android:layout_height="52dp"
android:layout_marginStart="8dp"
android:layout_weight="0"
2019-09-28 23:22:49 +05:30
app:civ_border="false"
tools:srcCompat="@tools:sample/backgrounds/scenic[11]" />
2018-07-27 18:37:33 +05:30
2019-06-24 01:44:27 +05:30
<LinearLayout
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-06-24 01:44:27 +05:30
android:layout_gravity="bottom"
android:layout_weight="1"
android:orientation="vertical"
android:padding="16dp">
2019-09-28 23:22:49 +05:30
<com.google.android.material.textview.MaterialTextView
2019-06-24 01:44:27 +05:30
android:id="@+id/albumTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLines="2"
2019-09-28 23:22:49 +05:30
android:textAppearance="@style/TextViewHeadline6"
tools:ignore="MissingPrefix"
tools:text="Album name" />
2019-06-24 01:44:27 +05:30
2019-09-28 23:22:49 +05:30
<com.google.android.material.textview.MaterialTextView
2019-06-24 01:44:27 +05:30
android:id="@+id/albumText"
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"
android:scrollHorizontally="true"
android:singleLine="true"
2019-09-28 23:22:49 +05:30
android:textAppearance="@style/TextViewHeadline6"
2019-06-24 01:44:27 +05:30
tools:ignore="MissingPrefix"
2019-09-28 23:22:49 +05:30
tools:text="Album details name" />
2019-06-24 01:44:27 +05:30
</LinearLayout>
2018-07-27 18:37:33 +05:30
</LinearLayout>
2019-06-24 01:44:27 +05:30
<include layout="@layout/activity_album_content" />
2018-07-27 18:37:33 +05:30
</LinearLayout>
2019-06-24 01:44:27 +05:30
</com.google.android.material.card.MaterialCardView>
2018-08-30 14:59:30 +05:30
</androidx.core.widget.NestedScrollView>
2018-07-27 18:37:33 +05:30
</LinearLayout>
2018-08-30 14:59:30 +05:30
</androidx.coordinatorlayout.widget.CoordinatorLayout>
2018-07-27 18:37:33 +05:30