2013-04-02 08:01:15 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2013-05-20 08:33:40 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:id="@+id/statusbar"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal" >
|
2013-04-02 08:01:15 +02:00
|
|
|
|
2013-05-20 08:33:40 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/notification_image"
|
|
|
|
android:layout_width="64dip"
|
|
|
|
android:layout_height="64dip"
|
|
|
|
android:gravity="center" />
|
2013-04-02 08:01:15 +02:00
|
|
|
|
2013-05-20 08:33:40 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="left"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingLeft="12dip" >
|
2013-04-02 08:01:15 +02:00
|
|
|
|
2013-05-20 08:33:40 +02:00
|
|
|
<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" />
|
2013-04-02 08:01:15 +02:00
|
|
|
|
2013-05-20 08:33:40 +02:00
|
|
|
<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" />
|
2013-04-02 08:01:15 +02:00
|
|
|
|
2013-05-20 08:33:40 +02:00
|
|
|
<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>
|
2013-04-02 08:01:15 +02:00
|
|
|
|
2013-05-20 08:33:40 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:gravity="right"
|
|
|
|
android:orientation="horizontal" >
|
2013-04-02 08:01:15 +02:00
|
|
|
|
2013-05-20 08:33:40 +02:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/control_previous"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="@drawable/btn_bg"
|
|
|
|
android:scaleType="fitXY"
|
|
|
|
android:src="@drawable/media_backward_normal_dark" />
|
2013-04-02 08:01:15 +02:00
|
|
|
|
2013-05-20 08:33:40 +02:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/control_play"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="@drawable/btn_bg"
|
|
|
|
android:scaleType="fitXY"
|
|
|
|
android:src="@drawable/media_pause_normal_dark" />
|
2013-04-02 08:01:15 +02:00
|
|
|
|
2013-05-20 08:33:40 +02:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/control_next"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="@drawable/btn_bg"
|
|
|
|
android:scaleType="fitXY"
|
|
|
|
android:src="@drawable/media_forward_normal_dark" />
|
2013-04-02 08:01:15 +02:00
|
|
|
|
2013-05-20 08:33:40 +02:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/control_stop"
|
|
|
|
android:layout_width="22dip"
|
|
|
|
android:layout_height="22dip"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:background="@drawable/btn_bg"
|
|
|
|
android:scaleType="fitXY"
|
|
|
|
android:alpha="70"
|
|
|
|
android:src="@drawable/ic_menu_exit_dark" />
|
|
|
|
</LinearLayout>
|
2013-04-02 08:01:15 +02:00
|
|
|
|
2013-05-20 08:33:40 +02:00
|
|
|
</LinearLayout>
|