2012-06-04 21:39:27 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2012-06-27 20:38:55 +02:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2012-06-04 21:39:27 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2012-11-20 20:15:01 +01:00
|
|
|
android:background="?attr/non_transparent_background"
|
2012-06-04 21:39:27 +02:00
|
|
|
android:orientation="vertical" >
|
|
|
|
|
2013-02-02 23:14:31 +01:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/navBar"
|
2012-07-01 18:32:52 +02:00
|
|
|
android:layout_width="fill_parent"
|
2013-02-02 23:14:31 +01:00
|
|
|
android:layout_height="60dp"
|
|
|
|
android:layout_alignParentTop="true" >
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/butNavLeft"
|
2014-02-14 14:26:55 +01:00
|
|
|
android:contentDescription="@string/show_shownotes_label"
|
2013-02-02 23:14:31 +01:00
|
|
|
android:layout_width="60dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:background="?attr/borderless_button"
|
2013-02-23 13:28:31 +01:00
|
|
|
android:padding="4dp" />
|
2013-02-02 23:14:31 +01:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/butNavRight"
|
2014-02-14 14:26:55 +01:00
|
|
|
android:contentDescription="@string/show_chapters_label"
|
2013-02-02 23:14:31 +01:00
|
|
|
android:layout_width="60dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:background="?attr/borderless_button"
|
2013-02-23 13:28:31 +01:00
|
|
|
android:padding="4dp" />
|
2013-02-02 23:14:31 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/txtvTitle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginRight="8dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_toLeftOf="@id/butNavRight"
|
|
|
|
android:layout_toRightOf="@id/butNavLeft"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
2013-04-06 21:28:57 +02:00
|
|
|
android:textSize="@dimen/text_size_small"
|
2013-02-02 23:14:31 +01:00
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/txtvFeed"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/txtvTitle"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginRight="8dp"
|
|
|
|
android:layout_toLeftOf="@id/butNavRight"
|
|
|
|
android:layout_toRightOf="@id/butNavLeft"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
android:textSize="@dimen/text_size_small" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<View
|
2013-02-02 23:36:00 +01:00
|
|
|
android:id="@+id/navBarDivider"
|
2013-02-02 23:14:31 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_below="@id/navBar"
|
|
|
|
android:background="@color/bright_blue" />
|
2012-06-22 16:05:59 +02:00
|
|
|
|
2013-02-01 23:59:02 +01:00
|
|
|
<RelativeLayout
|
2012-06-04 21:39:27 +02:00
|
|
|
android:id="@+id/player_control"
|
|
|
|
android:layout_width="match_parent"
|
2013-04-06 21:28:57 +02:00
|
|
|
android:layout_height="80dp"
|
2012-07-14 20:26:47 +02:00
|
|
|
android:layout_alignParentBottom="true"
|
2013-02-01 23:59:02 +01:00
|
|
|
android:background="?attr/overlay_background" >
|
2012-06-22 16:05:59 +02:00
|
|
|
|
2012-06-04 21:39:27 +02:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/butPlay"
|
2014-02-14 14:26:55 +01:00
|
|
|
android:contentDescription="@string/pause_label"
|
2013-04-06 21:28:57 +02:00
|
|
|
android:layout_width="80dp"
|
2012-06-04 21:39:27 +02:00
|
|
|
android:layout_height="match_parent"
|
2013-02-01 23:59:02 +01:00
|
|
|
android:layout_centerHorizontal="true"
|
2012-11-23 18:44:15 +01:00
|
|
|
android:background="?attr/borderless_button"
|
2012-11-20 19:26:41 +01:00
|
|
|
android:src="?attr/av_pause" />
|
2012-06-04 21:39:27 +02:00
|
|
|
|
2013-02-01 23:59:02 +01:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/butRev"
|
2014-02-14 14:26:55 +01:00
|
|
|
android:contentDescription="@string/rewind_label"
|
2013-04-06 21:28:57 +02:00
|
|
|
android:layout_width="80dp"
|
2012-06-22 16:05:59 +02:00
|
|
|
android:layout_height="match_parent"
|
2013-02-01 23:59:02 +01:00
|
|
|
android:layout_toLeftOf="@id/butPlay"
|
|
|
|
android:background="?attr/borderless_button"
|
|
|
|
android:src="?attr/av_rewind" />
|
2012-06-22 16:05:59 +02:00
|
|
|
|
2012-06-04 21:39:27 +02:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/butFF"
|
2014-02-14 14:26:55 +01:00
|
|
|
android:contentDescription="@string/fast_forward_label"
|
2013-04-06 21:28:57 +02:00
|
|
|
android:layout_width="80dp"
|
2012-06-04 21:39:27 +02:00
|
|
|
android:layout_height="match_parent"
|
2013-02-01 23:59:02 +01:00
|
|
|
android:layout_toRightOf="@id/butPlay"
|
2012-11-23 18:44:15 +01:00
|
|
|
android:background="?attr/borderless_button"
|
2012-11-20 19:26:41 +01:00
|
|
|
android:src="?attr/av_fast_forward" />
|
2013-05-03 18:31:39 +02:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/butPlaybackSpeed"
|
2014-02-14 14:26:55 +01:00
|
|
|
android:contentDescription="@string/set_playback_speed_label"
|
2013-05-03 18:31:39 +02:00
|
|
|
android:layout_width="80dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_toRightOf="@id/butFF"
|
|
|
|
android:background="?attr/borderless_button"
|
|
|
|
android:src="?attr/av_fast_forward"
|
|
|
|
android:textColor="@color/gray"
|
|
|
|
android:textSize="@dimen/text_size_medium"
|
|
|
|
android:visibility="gone" />
|
2013-02-01 23:59:02 +01:00
|
|
|
</RelativeLayout>
|
2012-06-27 20:38:55 +02:00
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/playtime_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2013-02-01 23:59:02 +01:00
|
|
|
android:layout_above="@id/player_control"
|
2012-07-14 20:26:47 +02:00
|
|
|
android:layout_alignParentLeft="true"
|
2013-02-01 23:59:02 +01:00
|
|
|
android:background="?attr/overlay_drawable" >
|
2012-06-27 20:38:55 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/txtvPosition"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
2013-02-01 23:59:02 +01:00
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:text="@string/position_default_label"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
android:textSize="@dimen/text_size_micro" />
|
2012-06-27 20:38:55 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/txtvLength"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentTop="true"
|
2013-02-01 23:59:02 +01:00
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginRight="8dp"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:text="@string/position_default_label"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
android:textSize="@dimen/text_size_micro" />
|
|
|
|
|
|
|
|
<SeekBar
|
|
|
|
android:id="@+id/sbPosition"
|
|
|
|
android:layout_width="0dp"
|
2012-06-27 20:38:55 +02:00
|
|
|
android:layout_height="wrap_content"
|
2013-02-01 23:59:02 +01:00
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginRight="8dp"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:layout_toLeftOf="@id/txtvLength"
|
|
|
|
android:layout_toRightOf="@id/txtvPosition"
|
|
|
|
android:max="500" />
|
2012-06-27 20:38:55 +02:00
|
|
|
</RelativeLayout>
|
|
|
|
|
2013-02-02 23:14:31 +01:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/contentView"
|
2012-07-01 18:32:52 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_above="@id/playtime_layout"
|
2013-02-02 23:36:00 +01:00
|
|
|
android:layout_below="@id/navBarDivider" >
|
2013-02-02 23:14:31 +01:00
|
|
|
</FrameLayout>
|
2012-07-01 18:32:52 +02:00
|
|
|
|
2012-06-27 20:38:55 +02:00
|
|
|
</RelativeLayout>
|