2012-06-27 17:30:54 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2013-12-30 00:23:18 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
2012-06-27 21:39:42 +02:00
|
|
|
|
2013-12-30 00:23:18 +01:00
|
|
|
<de.danoeh.antennapod.view.AspectRatioVideoView
|
2012-06-27 21:39:42 +02:00
|
|
|
android:id="@+id/videoview"
|
2013-12-29 22:13:18 +01:00
|
|
|
android:layout_width="wrap_content"
|
2013-12-30 00:23:18 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"/>
|
2012-08-05 16:27:10 +02:00
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progressIndicator"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:visibility="invisible"
|
2013-12-30 00:23:18 +01:00
|
|
|
android:indeterminateOnly="true"/>
|
2013-12-29 22:13:18 +01:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/butPlay"
|
2014-02-14 14:26:55 +01:00
|
|
|
android:contentDescription="@string/pause_label"
|
2013-12-29 22:13:18 +01:00
|
|
|
android:layout_width="80dp"
|
|
|
|
android:layout_height="80dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:scaleType="fitXY"
|
|
|
|
android:background="@drawable/overlay_button_circle_background"
|
2013-12-30 00:23:18 +01:00
|
|
|
android:src="@drawable/ic_action_pause_over_video"/>
|
2012-06-27 21:39:42 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/overlay"
|
|
|
|
android:layout_width="match_parent"
|
2012-06-27 17:30:54 +02:00
|
|
|
android:layout_height="wrap_content"
|
2012-06-27 21:39:42 +02:00
|
|
|
android:layout_gravity="bottom|center"
|
2013-12-29 22:13:18 +01:00
|
|
|
android:background="#80000000"
|
2013-12-30 00:23:18 +01:00
|
|
|
android:orientation="vertical">
|
2012-06-27 21:39:42 +02:00
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/timecontrol"
|
|
|
|
android:layout_width="match_parent"
|
2013-12-29 22:13:18 +01:00
|
|
|
android:layout_height="50dp"
|
|
|
|
android:paddingTop="8dp"
|
2013-12-30 00:23:18 +01:00
|
|
|
android:layout_marginBottom="4dp">
|
2012-06-27 21:39:42 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/txtvPosition"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
2012-08-05 14:17:07 +02:00
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginRight="8dp"
|
2013-12-29 22:13:18 +01:00
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textStyle="bold"
|
2013-12-30 00:23:18 +01:00
|
|
|
android:text="@string/position_default_label"/>
|
2012-06-27 21:39:42 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/txtvLength"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
2012-08-05 14:17:07 +02:00
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginRight="8dp"
|
2013-12-29 22:13:18 +01:00
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textStyle="bold"
|
2013-12-30 00:23:18 +01:00
|
|
|
android:text="@string/position_default_label"/>
|
2012-07-15 20:51:56 +02:00
|
|
|
|
2012-06-27 21:39:42 +02:00
|
|
|
<SeekBar
|
|
|
|
android:id="@+id/sbPosition"
|
|
|
|
android:layout_width="0px"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_toLeftOf="@+id/txtvLength"
|
|
|
|
android:layout_toRightOf="@+id/txtvPosition"
|
2013-12-30 00:23:18 +01:00
|
|
|
android:max="500"/>
|
2012-06-27 21:39:42 +02:00
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
2012-06-27 17:30:54 +02:00
|
|
|
</FrameLayout>
|