2013-06-02 16:39:04 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2013-11-21 17:39:07 +00:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2013-06-02 16:39:04 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<ListView
|
|
|
|
android:id="@+id/listview"
|
|
|
|
android:layout_width="match_parent"
|
2013-12-10 00:16:30 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_above="@+id/controls"
|
|
|
|
android:layout_alignParentRight="true" />
|
2013-06-07 13:19:58 +00:00
|
|
|
|
2013-11-21 17:39:07 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@id/android:empty"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="10dip"
|
|
|
|
android:text="@string/device_list_empty"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:gravity="center" />
|
|
|
|
|
2013-06-07 13:19:58 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2013-06-02 16:39:04 +00:00
|
|
|
android:layout_height="wrap_content"
|
2013-11-21 17:39:07 +00:00
|
|
|
android:layout_alignParentBottom="true"
|
2013-06-07 13:19:58 +00:00
|
|
|
android:orientation="vertical"
|
2013-12-10 00:16:30 +00:00
|
|
|
android:id="@+id/controls"
|
2013-11-24 20:46:24 +00:00
|
|
|
android:visibility="gone"
|
|
|
|
android:background="@android:color/white" >
|
2013-11-26 02:39:00 +00:00
|
|
|
|
2013-06-07 13:19:58 +00:00
|
|
|
<SeekBar
|
|
|
|
android:id="@+id/progressBar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
2013-11-26 02:39:00 +00:00
|
|
|
<RelativeLayout
|
2013-06-07 13:19:58 +00:00
|
|
|
android:layout_width="match_parent"
|
2013-07-02 19:45:11 +00:00
|
|
|
android:layout_height="wrap_content"
|
2013-11-26 02:39:00 +00:00
|
|
|
android:gravity="center"
|
|
|
|
android:paddingLeft="10dip"
|
|
|
|
android:paddingRight="10dip" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/current_time"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:gravity="right"
|
|
|
|
android:minEms="2" />
|
|
|
|
|
2013-07-02 19:45:11 +00:00
|
|
|
<ImageButton
|
2013-06-08 13:19:38 +00:00
|
|
|
android:id="@+id/previous"
|
2013-06-07 13:19:58 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-11-26 02:39:00 +00:00
|
|
|
android:contentDescription="@string/previous"
|
|
|
|
android:layout_toLeftOf="@+id/playpause" />
|
2013-06-08 13:19:38 +00:00
|
|
|
|
2013-07-02 19:45:11 +00:00
|
|
|
<ImageButton
|
2013-06-08 13:19:38 +00:00
|
|
|
android:id="@+id/playpause"
|
|
|
|
android:layout_width="wrap_content"
|
2013-07-02 19:45:11 +00:00
|
|
|
android:layout_height="wrap_content"
|
2013-11-26 02:39:00 +00:00
|
|
|
android:contentDescription="@string/play"
|
|
|
|
android:layout_centerHorizontal="true"/>
|
2013-06-08 13:19:38 +00:00
|
|
|
|
2013-07-02 19:45:11 +00:00
|
|
|
<ImageButton
|
2013-06-08 13:19:38 +00:00
|
|
|
android:id="@+id/next"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-11-26 02:39:00 +00:00
|
|
|
android:contentDescription="@string/next"
|
|
|
|
android:layout_toRightOf="@id/playpause" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/total_time"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:gravity="right"
|
|
|
|
android:minEms="2"/>
|
2013-06-07 13:19:58 +00:00
|
|
|
|
2013-11-26 02:39:00 +00:00
|
|
|
</RelativeLayout>
|
2013-06-07 13:19:58 +00:00
|
|
|
|
|
|
|
</LinearLayout>
|
2013-06-02 16:39:04 +00:00
|
|
|
|
2013-11-21 17:39:07 +00:00
|
|
|
</RelativeLayout>
|