Files
Opus/Opus/Resources/layout/PlaylistHeader.xml
2019-06-24 00:22:47 +02:00

83 lines
2.7 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:fitsSystemWindows="true"
android:background="#ff0000"
android:id="@+id/playlistHeader" >
<ImageView
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:fitsSystemWindows="true"
android:src="@drawable/noAlbum"
android:id="@+id/headerArt"
android:adjustViewBounds="true"
android:background="#00ff00" />
<LinearLayout
android:orientation="vertical"
android:fitsSystemWindows="true"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginBottom="10dp"
android:layout_alignParentBottom="true">
<TextView
android:id="@+id/headerTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="#BF000000"
android:textColor="#ffffff"
android:textSize="20dip"
android:textStyle="bold" />
<TextView
android:id="@+id/headerAuthor"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="#BF000000"
android:textColor="#ffffff"
android:textSize="19dip"
android:alpha=".8"
android:text="by Username"/>
<TextView
android:id="@+id/headerNumber"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="#BF000000"
android:textColor="#ffffff"
android:textSize="14dip"
android:alpha=".65"
android:text="256 songs"/>
</LinearLayout>
<LinearLayout
android:orientation="horizontal"
android:fitsSystemWindows="true"
android:layout_height="60dp"
android:layout_width="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:id="@+id/playlistButtons"
android:background="@drawable/semiDarkLinear" >
<ImageButton
android:id="@+id/headerPlay"
android:layout_width="60dp"
android:layout_height="60dp"
android:tint="#ffffff"
android:src="@drawable/Play"
android:background="@null" />
<ImageButton
android:id="@+id/headerShuffle"
android:layout_width="60dp"
android:layout_height="60dp"
android:tint="#ffffff"
android:src="@drawable/Shuffle"
android:background="@null"/>
<ImageButton
android:id="@+id/headerMore"
android:layout_width="60dp"
android:layout_height="60dp"
android:tint="#ffffff"
android:src="@drawable/More"
android:background="@null" />
</LinearLayout>
</RelativeLayout>