Added Android code
[wl-app.git] / Android / app / src / main / res / layout / playlist_item.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3                 xmlns:tools="http://schemas.android.com/tools"
4                 android:layout_width="match_parent"
5                 android:layout_height="wrap_content"
6                 android:background="@color/turquoise">
7
8     <TextView
9         android:id="@+id/tvMediaName"
10         style="@style/PlayerPlaylistText"
11         android:layout_width="match_parent"
12         android:layout_height="wrap_content"
13         android:layout_alignParentStart="true"
14         android:layout_centerVertical="true"
15         android:layout_toStartOf="@id/ibPlay"
16         android:padding="10dp"/>
17
18     <ImageButton
19         android:id="@+id/ibPlay"
20         android:layout_width="wrap_content"
21         android:layout_height="wrap_content"
22         android:layout_alignParentEnd="true"
23         android:layout_centerVertical="true"
24         android:background="@null"
25         android:padding="20dp"
26         android:src="@drawable/play_white_tint"
27         android:visibility="invisible"
28         tools:ignore="ContentDescription"/>
29 </RelativeLayout>