This repository has been archived on 2019-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
controldna/res/layout/route_fragment.xml

103 lines
3.4 KiB
XML
Raw Normal View History

2013-06-02 16:39:04 +00:00
<?xml version="1.0" encoding="utf-8"?>
<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
<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"
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"
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"
android:background="@android:color/white" >
2013-06-07 13:19:58 +00:00
<SeekBar
android:id="@+id/progressBar"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<RelativeLayout
2013-06-07 13:19:58 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
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" />
<ImageButton
android:id="@+id/shuffle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/shuffle"
android:layout_toLeftOf="@+id/previous" />
<ImageButton
android:id="@+id/previous"
2013-06-07 13:19:58 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/previous"
android:layout_toLeftOf="@+id/playpause" />
<ImageButton
android:id="@+id/playpause"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/play"
android:layout_centerHorizontal="true"/>
<ImageButton
android:id="@+id/next"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/next"
android:layout_toRightOf="@id/playpause" />
<ImageButton
android:id="@+id/repeat"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/repeat"
android:layout_toRightOf="@id/next" />
<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
</RelativeLayout>
2013-06-07 13:19:58 +00:00
</LinearLayout>
2013-06-02 16:39:04 +00:00
</RelativeLayout>