summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/swipeactions_picker_item.xml
blob: b497efb14c1bef92a21bd7b53d5623cbe44ae1ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:grid="http://schemas.android.com/apk/res-auto"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:gravity="center"
    android:background="?attr/selectableItemBackground"
    android:padding="8dp">

    <ImageView
        android:id="@+id/swipeIcon"
        android:layout_width="48dp"
        android:layout_height="48dp"
        android:padding="8dp"
        app:srcCompat="@drawable/ic_add" />

    <TextView
        android:id="@+id/swipeActionLabel"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/add_to_queue_label"
        android:textSize="14sp"
        android:textAlignment="center"
        android:textColor="?android:attr/textColorPrimary" />

</LinearLayout>