2012-02-26 21:25:13 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
2013-02-23 03:59:40 +01:00
|
|
|
a:layout_width="fill_parent"
|
2013-05-02 08:53:33 +02:00
|
|
|
a:layout_height="wrap_content"
|
2013-05-26 07:19:28 +02:00
|
|
|
a:minWidth="250dp"
|
|
|
|
a:minHeight="40dp"
|
|
|
|
a:background="@drawable/appwidget_dark_bg_trans"
|
2013-02-23 03:59:40 +01:00
|
|
|
a:orientation="horizontal" >
|
2012-02-28 01:56:29 +01:00
|
|
|
|
2013-02-23 03:59:40 +01:00
|
|
|
<ImageView
|
|
|
|
a:id="@+id/appwidget_coverart"
|
2013-05-26 07:19:28 +02:00
|
|
|
a:layout_width="80dp"
|
|
|
|
a:layout_height="80dp"
|
|
|
|
a:layout_gravity="center_vertical"
|
2012-02-28 01:56:29 +01:00
|
|
|
a:clickable="true"
|
|
|
|
a:focusable="true"
|
2013-12-28 01:29:12 +01:00
|
|
|
a:src="@drawable/unknown_album_large" />
|
2013-02-23 03:59:40 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
a:id="@+id/linearLayout1"
|
|
|
|
a:layout_width="match_parent"
|
|
|
|
a:layout_height="match_parent"
|
2012-02-28 01:56:29 +01:00
|
|
|
a:orientation="vertical" >
|
|
|
|
|
2013-02-23 03:59:40 +01:00
|
|
|
<LinearLayout
|
|
|
|
a:id="@+id/appwidget_top"
|
2012-02-28 01:56:29 +01:00
|
|
|
a:layout_width="fill_parent"
|
|
|
|
a:layout_height="wrap_content"
|
2013-02-23 03:59:40 +01:00
|
|
|
a:clickable="true"
|
|
|
|
a:focusable="true"
|
|
|
|
a:orientation="vertical" >
|
2012-02-28 01:56:29 +01:00
|
|
|
|
2013-02-23 03:59:40 +01:00
|
|
|
<TextView
|
|
|
|
a:id="@+id/title"
|
|
|
|
a:layout_width="fill_parent"
|
|
|
|
a:layout_height="wrap_content"
|
|
|
|
a:ellipsize="none"
|
|
|
|
a:fadingEdge="horizontal"
|
|
|
|
a:fadingEdgeLength="20dip"
|
|
|
|
a:minHeight="16sp"
|
2013-05-26 07:19:28 +02:00
|
|
|
a:paddingLeft="4dip"
|
|
|
|
a:paddingRight="4dip"
|
|
|
|
a:paddingTop="4dip"
|
2013-02-23 03:59:40 +01:00
|
|
|
a:singleLine="true"
|
2013-05-26 07:19:28 +02:00
|
|
|
a:gravity="center_horizontal"
|
|
|
|
a:text="Title"
|
2013-02-23 03:59:40 +01:00
|
|
|
a:textColor="@color/appwidget_text"
|
|
|
|
a:textSize="16sp"
|
|
|
|
a:textStyle="bold" />
|
2012-02-28 01:56:29 +01:00
|
|
|
|
2013-02-23 03:59:40 +01:00
|
|
|
<TextView
|
|
|
|
a:id="@+id/artist"
|
|
|
|
a:layout_width="fill_parent"
|
|
|
|
a:layout_height="wrap_content"
|
|
|
|
a:ellipsize="none"
|
|
|
|
a:fadingEdge="horizontal"
|
|
|
|
a:fadingEdgeLength="10dip"
|
|
|
|
a:minHeight="12sp"
|
2013-05-26 07:19:28 +02:00
|
|
|
a:paddingBottom="4dip"
|
|
|
|
a:paddingLeft="4dip"
|
|
|
|
a:paddingRight="4dip"
|
2013-02-23 03:59:40 +01:00
|
|
|
a:singleLine="true"
|
2013-05-26 07:19:28 +02:00
|
|
|
a:gravity="center_horizontal"
|
|
|
|
a:text="Artist"
|
2013-02-23 03:59:40 +01:00
|
|
|
a:textColor="@color/appwidget_text"
|
|
|
|
a:textSize="12sp" />
|
|
|
|
</LinearLayout>
|
2012-02-28 01:56:29 +01:00
|
|
|
|
2013-02-23 03:59:40 +01:00
|
|
|
<LinearLayout
|
|
|
|
a:layout_width="fill_parent"
|
2012-02-26 21:25:13 +01:00
|
|
|
a:layout_height="fill_parent"
|
2013-05-26 07:19:28 +02:00
|
|
|
a:orientation="horizontal"
|
|
|
|
a:paddingBottom="4dip"
|
|
|
|
a:paddingTop="4dip" >
|
2012-02-28 01:56:29 +01:00
|
|
|
|
2013-02-23 03:59:40 +01:00
|
|
|
<ImageButton
|
|
|
|
a:id="@+id/control_previous"
|
|
|
|
a:layout_width="0dip"
|
|
|
|
a:layout_height="fill_parent"
|
|
|
|
a:layout_weight="1"
|
2013-05-26 07:19:28 +02:00
|
|
|
a:background="@color/transparent"
|
2013-05-02 08:53:33 +02:00
|
|
|
a:scaleType="center"
|
|
|
|
a:src="@drawable/media_backward_normal_dark" />
|
2012-02-28 01:56:29 +01:00
|
|
|
|
2013-02-23 03:59:40 +01:00
|
|
|
<ImageButton
|
|
|
|
a:id="@+id/control_play"
|
|
|
|
a:layout_width="0dip"
|
|
|
|
a:layout_height="fill_parent"
|
|
|
|
a:layout_weight="1"
|
2013-05-26 07:19:28 +02:00
|
|
|
a:background="@color/transparent"
|
2013-05-02 08:53:33 +02:00
|
|
|
a:scaleType="center"
|
|
|
|
a:src="@drawable/media_start_normal_dark" />
|
2012-02-28 01:56:29 +01:00
|
|
|
|
2013-02-23 03:59:40 +01:00
|
|
|
<ImageButton
|
|
|
|
a:id="@+id/control_next"
|
|
|
|
a:layout_width="0dip"
|
|
|
|
a:layout_height="fill_parent"
|
|
|
|
a:layout_weight="1"
|
2013-05-26 07:19:28 +02:00
|
|
|
a:background="@color/transparent"
|
2013-02-23 03:59:40 +01:00
|
|
|
a:scaleType="center"
|
2013-05-02 08:53:33 +02:00
|
|
|
a:src="@drawable/media_forward_normal_dark" />
|
2013-02-23 03:59:40 +01:00
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
2012-02-28 01:56:29 +01:00
|
|
|
|
2013-02-23 03:59:40 +01:00
|
|
|
</LinearLayout>
|