Remove classic player
This commit is contained in:
parent
2fa5102cd3
commit
b4d32af0e1
15 changed files with 55 additions and 61 deletions
|
@ -5,8 +5,6 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingStart="@dimen/horizontal_padding_home"
|
||||
android:paddingEnd="@dimen/horizontal_padding_home"
|
||||
android:paddingBottom="12dp">
|
||||
|
||||
|
||||
|
|
|
@ -1,17 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout 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">
|
||||
|
||||
|
||||
<androidx.viewpager.widget.ViewPager
|
||||
android:id="@+id/viewPager"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior" />
|
||||
|
||||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
android:id="@+id/appBarLayout"
|
||||
android:layout_width="match_parent"
|
||||
|
@ -26,10 +20,11 @@
|
|||
app:contentInsetStart="0dp"
|
||||
app:contentInsetStartWithNavigation="0dp"
|
||||
app:layout_scrollFlags="scroll|enterAlways"
|
||||
app:subtitleTextAppearance="@style/TextAppearance.MaterialComponents.Caption"
|
||||
app:titleMargin="0dp"
|
||||
app:titleMarginStart="0dp"
|
||||
app:titleTextAppearance="@style/TextAppearance.MaterialComponents.Subtitle1" />
|
||||
app:titleTextAppearance="@style/ToolbarTextAppearanceNormal"
|
||||
tools:subtitle="@tools:sample/full_names"
|
||||
tools:title="@tools:sample/full_names" />
|
||||
|
||||
<com.google.android.material.tabs.TabLayout
|
||||
android:id="@+id/tabs"
|
||||
|
@ -49,6 +44,13 @@
|
|||
</com.google.android.material.tabs.TabLayout>
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
||||
|
||||
<androidx.viewpager.widget.ViewPager
|
||||
android:id="@+id/viewPager"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior" />
|
||||
|
||||
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
|
||||
android:id="@+id/fab"
|
||||
android:layout_width="wrap_content"
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
android:paddingStart="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:textAppearance="@style/TextViewNormal"
|
||||
android:textColor="?colorOnPrimary"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
|
@ -23,6 +24,7 @@
|
|||
android:paddingTop="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:textAppearance="@style/TextViewNormal"
|
||||
android:textColor="?colorOnPrimary"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
|
@ -33,6 +35,7 @@
|
|||
android:paddingTop="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:textAppearance="@style/TextViewNormal"
|
||||
android:textColor="?colorOnPrimary"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
|
@ -43,6 +46,7 @@
|
|||
android:paddingTop="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:textAppearance="@style/TextViewNormal"
|
||||
android:textColor="?colorOnPrimary"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
|
@ -53,6 +57,7 @@
|
|||
android:paddingTop="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:textAppearance="@style/TextViewNormal"
|
||||
android:textColor="?colorOnPrimary"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
|
@ -63,6 +68,7 @@
|
|||
android:paddingTop="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:textAppearance="@style/TextViewNormal"
|
||||
android:textColor="?colorOnPrimary"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
|
@ -74,6 +80,7 @@
|
|||
android:paddingEnd="16dp"
|
||||
android:paddingBottom="16dp"
|
||||
android:textAppearance="@style/TextViewNormal"
|
||||
android:textColor="?colorOnPrimary"
|
||||
android:textSize="16sp" />
|
||||
|
||||
</LinearLayout>
|
|
@ -19,8 +19,6 @@
|
|||
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
app:tint="?colorOnSurface"
|
||||
tools:tint="?colorOnSurface"
|
||||
android:id="@+id/miniPlayerImage"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
|
@ -28,7 +26,9 @@
|
|||
android:layout_margin="16dp"
|
||||
android:scaleType="centerCrop"
|
||||
app:srcCompat="@drawable/ic_keyboard_arrow_up_24dp"
|
||||
tools:ignore="ContentDescription" />
|
||||
app:tint="?colorOnSecondary"
|
||||
tools:ignore="ContentDescription"
|
||||
tools:tint="?colorOnSurface" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/miniPlayerTitle"
|
||||
|
@ -56,7 +56,7 @@
|
|||
android:background="?roundSelector"
|
||||
android:padding="6dp"
|
||||
app:srcCompat="@drawable/ic_skip_previous_white_24dp"
|
||||
app:tint="?colorOnSurface" />
|
||||
app:tint="?colorOnSecondary" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/miniPlayerPlayPauseButton"
|
||||
|
@ -67,7 +67,7 @@
|
|||
android:padding="6dp"
|
||||
android:scaleType="center"
|
||||
app:srcCompat="@drawable/ic_pause_white_24dp"
|
||||
app:tint="?colorOnSurface"
|
||||
app:tint="?colorOnSecondary"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
|
@ -78,8 +78,8 @@
|
|||
android:background="?roundSelector"
|
||||
android:padding="6dp"
|
||||
app:srcCompat="@drawable/ic_skip_next_white_24dp"
|
||||
app:tint="?colorOnSurface"
|
||||
tools:tint="?colorOnSurface" />
|
||||
app:tint="?colorOnSecondary"
|
||||
tools:tint="?colorOnSecondary" />
|
||||
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
|
@ -90,8 +90,8 @@
|
|||
android:background="?roundSelector"
|
||||
android:padding="6dp"
|
||||
app:srcCompat="@drawable/ic_playlist_play_white_24dp"
|
||||
app:tint="?colorOnSurface"
|
||||
tools:tint="?colorOnSurface" />
|
||||
app:tint="?colorOnSecondary"
|
||||
tools:tint="?colorOnSecondary" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
<FrameLayout
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
android:id="@+id/imageContainer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="172dp"
|
||||
app:cardCornerRadius="12dp"
|
||||
app:cardUseCompatPadding="true">
|
||||
android:layout_margin="8dp"
|
||||
app:cardCornerRadius="12dp">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/image"
|
||||
|
@ -38,7 +38,7 @@
|
|||
android:layout_height="match_parent"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="1"
|
||||
android:paddingStart="8dp"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingTop="6dp"
|
||||
android:paddingEnd="8dp"
|
||||
android:paddingBottom="4dp"
|
||||
|
@ -53,7 +53,7 @@
|
|||
android:layout_height="match_parent"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="1"
|
||||
android:paddingStart="8dp"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingEnd="8dp"
|
||||
android:textAppearance="@style/TextViewSubtitle1"
|
||||
android:textStyle="bold"
|
||||
|
|
|
@ -67,8 +67,4 @@
|
|||
android:id="@+id/action_delete_from_device"
|
||||
android:orderInCategory="13"
|
||||
android:title="@string/action_delete_from_device" />
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:orderInCategory="13"
|
||||
android:title="@string/action_settings" />
|
||||
</menu>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue