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"
|
2013-12-17 10:33:05 +00:00
|
|
|
android:layout_above="@+id/controls"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentTop="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"
|
2013-12-21 20:12:16 +00:00
|
|
|
android:text="@string/route_list_empty"
|
2013-11-21 17:39:07 +00:00
|
|
|
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-17 10:33:05 +00:00
|
|
|
android:id="@+id/controls"
|
|
|
|
android:visibility="gone"
|
2013-11-24 20:46:24 +00:00
|
|
|
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-12-29 18:31:42 +00:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/shuffle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:contentDescription="@string/shuffle"
|
|
|
|
android:layout_toLeftOf="@+id/previous" />
|
2013-11-26 02:39:00 +00:00
|
|
|
|
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" />
|
2013-12-29 18:31:42 +00:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/repeat"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:contentDescription="@string/repeat"
|
|
|
|
android:layout_toRightOf="@id/next" />
|
2013-11-26 02:39:00 +00:00
|
|
|
|
|
|
|
<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>
|