Removed download button to album page and added to menu

This commit is contained in:
CappielloAntonio 2021-04-29 11:27:49 +02:00
parent b70819c337
commit 3a1a39691a
6 changed files with 54 additions and 23 deletions

View file

@ -50,6 +50,7 @@
android:ellipsize="end"
android:maxLines="2"
android:singleLine="false"
android:text="American Idiot"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/album_cover_image_view"
app:layout_constraintTop_toTopOf="@+id/album_cover_image_view" />
@ -63,6 +64,7 @@
android:layout_marginEnd="16dp"
android:ellipsize="end"
android:maxLines="1"
android:text="Green Day"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/album_cover_image_view"
app:layout_constraintTop_toBottomOf="@+id/album_name_label" />
@ -74,26 +76,11 @@
android:layout_height="wrap_content"
android:layout_marginStart="12dp"
android:layout_marginEnd="16dp"
android:text="2004"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/album_cover_image_view"
app:layout_constraintTop_toBottomOf="@+id/album_artist_label" />
<com.google.android.material.button.MaterialButton
android:id="@+id/download_icon_button"
style="@style/SecondaryButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="12dp"
android:backgroundTint="@color/buttonBackgroundColor"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:text="Download"
android:textAllCaps="false"
app:cornerRadius="18dp"
app:elevation="0dp"
app:layout_constraintBottom_toBottomOf="@+id/album_cover_image_view"
app:layout_constraintStart_toEndOf="@+id/album_cover_image_view" />
<View
android:id="@+id/upper_button_divider"
style="@style/Divider"