2013-04-02 08:01:15 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:id="@+id/statusbar"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/notification_image"
|
|
|
|
android:layout_width="64.0dip"
|
|
|
|
android:layout_height="64.0dip"
|
|
|
|
android:layout_weight="0.0"
|
|
|
|
android:gravity="center" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/status_icon"
|
|
|
|
android:layout_width="64.0dip"
|
|
|
|
android:layout_height="64.0dip"
|
|
|
|
android:background="@drawable/status_bg"
|
|
|
|
android:scaleType="center"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0.0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_weight="1.0"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingLeft="11.0dip">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/trackname"
|
|
|
|
style="@android:style/TextAppearance.StatusBar.EventContent.Title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="left"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:focusable="true"
|
|
|
|
android:singleLine="true" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/artist"
|
|
|
|
style="@android:style/TextAppearance.StatusBar.EventContent"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="left"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:scrollHorizontally="true"
|
|
|
|
android:singleLine="true" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/album"
|
|
|
|
style="@android:style/TextAppearance.StatusBar.EventContent"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="left"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:scrollHorizontally="true"
|
|
|
|
android:singleLine="true" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/control_previous"
|
|
|
|
android:layout_width="40dip"
|
|
|
|
android:layout_height="40dip"
|
|
|
|
android:layout_gravity="center|right"
|
|
|
|
android:layout_marginRight="5dip"
|
|
|
|
android:layout_marginTop="2dip"
|
|
|
|
android:layout_weight="0.0"
|
|
|
|
android:background="@drawable/btn_bg"
|
2013-04-09 08:01:45 +02:00
|
|
|
android:src="@drawable/media_backward_normal" />
|
2013-04-02 08:01:15 +02:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/control_play"
|
|
|
|
android:layout_width="40dip"
|
|
|
|
android:layout_height="40dip"
|
|
|
|
android:layout_gravity="center|right"
|
|
|
|
android:layout_marginRight="5dip"
|
|
|
|
android:layout_marginTop="2dip"
|
|
|
|
android:layout_weight="0.0"
|
|
|
|
android:background="@drawable/btn_bg"
|
2013-04-09 08:01:45 +02:00
|
|
|
android:src="@drawable/media_pause_normal" />
|
2013-04-02 08:01:15 +02:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/control_stop"
|
|
|
|
android:layout_width="40dip"
|
|
|
|
android:layout_height="40dip"
|
|
|
|
android:layout_gravity="center|right"
|
|
|
|
android:layout_marginRight="5dip"
|
|
|
|
android:layout_marginTop="2dip"
|
|
|
|
android:layout_weight="0.0"
|
|
|
|
android:background="@drawable/btn_bg"
|
2013-04-09 08:01:45 +02:00
|
|
|
android:src="@drawable/media_stop_normal" />
|
2013-04-02 08:01:15 +02:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/control_next"
|
|
|
|
android:layout_width="40dip"
|
|
|
|
android:layout_height="40dip"
|
|
|
|
android:layout_gravity="center|right"
|
|
|
|
android:layout_marginRight="5dip"
|
|
|
|
android:layout_marginTop="2dip"
|
|
|
|
android:layout_weight="0.0"
|
|
|
|
android:background="@drawable/btn_bg"
|
2013-04-09 08:01:45 +02:00
|
|
|
android:src="@drawable/media_forward_normal" />
|
2013-04-02 08:01:15 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|