126 lines
4.2 KiB
XML
126 lines
4.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
|
a:layout_width="fill_parent"
|
|
a:layout_height="wrap_content"
|
|
a:minWidth="250dp"
|
|
a:minHeight="110dp"
|
|
a:background="@drawable/appwidget_dark_bg_trans"
|
|
a:orientation="horizontal" >
|
|
|
|
<ImageView
|
|
a:id="@+id/appwidget_coverart"
|
|
a:layout_width="110dp"
|
|
a:layout_height="110dp"
|
|
a:layout_gravity="center_vertical"
|
|
a:clickable="true"
|
|
a:focusable="true"
|
|
a:src="@drawable/unknown_album_large" />
|
|
|
|
<LinearLayout
|
|
a:id="@+id/linearLayout1"
|
|
a:layout_width="match_parent"
|
|
a:layout_height="match_parent"
|
|
a:orientation="vertical" >
|
|
|
|
<LinearLayout
|
|
a:id="@+id/appwidget_top"
|
|
a:layout_width="fill_parent"
|
|
a:layout_height="wrap_content"
|
|
a:clickable="true"
|
|
a:focusable="true"
|
|
a:orientation="vertical"
|
|
a:paddingTop="4dip"
|
|
a:paddingBottom="4dip" >
|
|
|
|
<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"
|
|
a:singleLine="true"
|
|
a:gravity="center_horizontal"
|
|
a:text="Title"
|
|
a:textColor="@color/appwidget_text"
|
|
a:textSize="16sp"
|
|
a:textStyle="bold" />
|
|
|
|
<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:paddingLeft="4dip"
|
|
a:paddingRight="4dip"
|
|
a:singleLine="true"
|
|
a:gravity="center_horizontal"
|
|
a:text="Artist"
|
|
a:textColor="@color/appwidget_text"
|
|
a:textSize="12sp" />
|
|
|
|
<TextView
|
|
a:id="@+id/album"
|
|
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"
|
|
a:singleLine="true"
|
|
a:gravity="center_horizontal"
|
|
a:text="Album"
|
|
a:textColor="@color/appwidget_text"
|
|
a:textSize="12sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
a:layout_width="fill_parent"
|
|
a:layout_height="wrap_content"
|
|
a:orientation="horizontal"
|
|
a:layout_gravity="bottom"
|
|
a:gravity="bottom"
|
|
a:paddingBottom="4dip"
|
|
a:paddingTop="4dip" >
|
|
|
|
<ImageButton
|
|
a:id="@+id/control_previous"
|
|
a:layout_width="0dip"
|
|
a:layout_height="wrap_content"
|
|
a:layout_weight="1"
|
|
a:background="@color/transparent"
|
|
a:scaleType="center"
|
|
a:src="@drawable/media_backward_normal_dark" />
|
|
|
|
<ImageButton
|
|
a:id="@+id/control_play"
|
|
a:layout_width="0dip"
|
|
a:layout_height="wrap_content"
|
|
a:layout_weight="1"
|
|
a:background="@color/transparent"
|
|
a:scaleType="center"
|
|
a:src="@drawable/media_start_normal_dark" />
|
|
|
|
<ImageButton
|
|
a:id="@+id/control_next"
|
|
a:layout_width="0dip"
|
|
a:layout_height="wrap_content"
|
|
a:layout_weight="1"
|
|
a:background="@color/transparent"
|
|
a:scaleType="center"
|
|
a:src="@drawable/media_forward_normal_dark" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |