mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-12 08:56:15 +01:00
128 lines
4.5 KiB
XML
128 lines
4.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/white"
|
|
android:orientation="vertical" >
|
|
|
|
<com.viewpagerindicator.TabPageIndicator
|
|
android:id="@+id/tabs"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentTop="true" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/player_control"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="60dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginBottom="4dp"
|
|
android:layout_marginTop="8dp" >
|
|
|
|
<ImageButton
|
|
android:id="@+id/butRev"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.02"
|
|
android:background="@drawable/borderless_button"
|
|
android:src="@drawable/av_rewind" />
|
|
|
|
<View
|
|
android:layout_width="0.5dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginBottom="8dp"
|
|
android:layout_marginTop="8dp"
|
|
android:background="@color/gray" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/butPlay"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.14"
|
|
android:background="@drawable/borderless_button"
|
|
android:src="@drawable/av_pause" />
|
|
|
|
<View
|
|
android:layout_width="0.5dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginBottom="8dp"
|
|
android:layout_marginTop="8dp"
|
|
android:background="@color/gray" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/butFF"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.02"
|
|
android:background="@drawable/borderless_button"
|
|
android:src="@drawable/av_fast_forward" />
|
|
</LinearLayout>
|
|
|
|
<SeekBar
|
|
android:id="@+id/sbPosition"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_above="@+id/player_control"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginRight="8dp"
|
|
android:layout_marginTop="8dp"
|
|
android:max="500" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0.5dp"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_below="@+id/sbPosition"
|
|
android:layout_margin="8dp"
|
|
android:background="@color/gray" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/playtime_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_above="@+id/sbPosition"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginRight="8dp"
|
|
android:layout_marginTop="8dp" >
|
|
|
|
<TextView
|
|
android:id="@+id/txtvPosition"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentLeft="true"
|
|
android:text="@string/position_default_label" />
|
|
|
|
<TextView
|
|
android:id="@+id/txtvLength"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentTop="true"
|
|
android:text="@string/position_default_label" />
|
|
|
|
<TextView
|
|
android:id="@+id/txtvStatus"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_centerHorizontal="true"
|
|
android:textColor="@color/gray" />
|
|
</RelativeLayout>
|
|
|
|
<android.support.v4.view.ViewPager
|
|
android:id="@+id/viewpager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0px"
|
|
android:layout_above="@id/playtime_layout"
|
|
android:layout_below="@id/tabs" >
|
|
</android.support.v4.view.ViewPager>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0.5dp"
|
|
android:layout_below="@id/viewpager"
|
|
android:background="@color/ics_gray" />
|
|
|
|
</RelativeLayout> |