2019-08-19 16:50:33 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-06-22 18:05:25 +02:00
|
|
|
android:layout_marginHorizontal="8dp"
|
|
|
|
android:layout_marginVertical="6dp"
|
|
|
|
android:background="@drawable/ripple"
|
2019-08-19 16:50:33 +02:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal"
|
2020-06-22 18:05:25 +02:00
|
|
|
android:padding="8dp"
|
2019-08-19 16:50:33 +02:00
|
|
|
android:transitionGroup="true"
|
|
|
|
tools:showIn="@layout/fragment_tracks">
|
|
|
|
|
|
|
|
<com.github.apognu.otter.views.SquareImageView
|
|
|
|
android:id="@+id/handle"
|
|
|
|
android:layout_width="18dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:src="@drawable/reorder"
|
|
|
|
android:tint="#787878"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
<com.github.apognu.otter.views.SquareImageView
|
|
|
|
android:id="@+id/cover"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
tools:src="@tools:sample/avatars" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/title"
|
|
|
|
style="@style/AppTheme.ItemTitle"
|
2020-06-13 17:44:50 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-08-19 16:50:33 +02:00
|
|
|
android:layout_height="wrap_content"
|
2020-06-13 17:44:50 +02:00
|
|
|
android:drawableStart="@drawable/downloaded"
|
|
|
|
android:drawablePadding="8dp"
|
2020-06-22 18:05:25 +02:00
|
|
|
android:drawableTint="@color/controlColor"
|
2019-08-19 16:50:33 +02:00
|
|
|
android:ellipsize="end"
|
|
|
|
android:lines="1"
|
|
|
|
tools:text="Absolution" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/artist"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:lines="1"
|
|
|
|
tools:text="Muse" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/favorite"
|
|
|
|
style="@style/IconButton"
|
2020-05-29 23:42:03 +02:00
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
2019-08-19 16:50:33 +02:00
|
|
|
android:contentDescription="@string/manage_add_to_favorites"
|
|
|
|
android:src="@drawable/favorite" />
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/actions"
|
|
|
|
style="@style/IconButton"
|
2020-05-29 23:42:03 +02:00
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
2019-10-21 19:49:48 +02:00
|
|
|
android:contentDescription="@string/alt_more_options"
|
2019-08-19 16:50:33 +02:00
|
|
|
android:src="@drawable/more" />
|
|
|
|
|
|
|
|
</LinearLayout>
|