ultrasonic-app-subsonic-and.../res/layout/appwidget4x1.xml

105 lines
3.5 KiB
XML
Raw Normal View History

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"
a:layout_height="wrap_content"
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"
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"
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"
a:paddingLeft="4dip"
a:paddingRight="4dip"
a:paddingTop="4dip"
2013-02-23 03:59:40 +01:00
a:singleLine="true"
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"
a:paddingBottom="4dip"
a:paddingLeft="4dip"
a:paddingRight="4dip"
2013-02-23 03:59:40 +01:00
a:singleLine="true"
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"
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"
a:background="@color/transparent"
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"
a:background="@color/transparent"
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"
a:background="@color/transparent"
2013-02-23 03:59:40 +01:00
a:scaleType="center"
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>