AntennaPod/res/layout/mediaplayer_activity.xml

99 lines
3.4 KiB
XML
Raw Normal View History

2012-06-04 21:39:27 +02:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
2012-06-22 16:05:59 +02:00
2012-06-04 21:39:27 +02:00
android:orientation="vertical" >
<ImageView
android:id="@+id/imgvCover"
2012-06-04 21:39:27 +02:00
android:layout_width="match_parent"
android:layout_height="283dp"
android:layout_weight="0.02"
android:src="@drawable/navigation_cancel" />
<RelativeLayout
android:id="@+id/playtime_layout"
2012-06-22 16:05:59 +02:00
android:layout_width="match_parent"
2012-06-04 21:39:27 +02:00
android:layout_height="wrap_content" >
<TextView
android:id="@+id/txtvPosition"
2012-06-04 21:39:27 +02:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:text="left" />
<TextView
android:id="@+id/txtvLength"
2012-06-04 21:39:27 +02:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:text="right" />
<TextView
android:id="@+id/txtvStatus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:visibility="invisible" />
2012-06-04 21:39:27 +02:00
</RelativeLayout>
<SeekBar
android:id="@+id/sbPosition"
2012-06-04 21:39:27 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content" />
2012-06-22 16:05:59 +02:00
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
android:padding="5dp"
android:src="@drawable/horizontal_divider" />
2012-06-04 21:39:27 +02:00
<LinearLayout
android:id="@+id/player_control"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2012-06-22 16:05:59 +02:00
android:layout_weight="0.015" >
2012-06-04 21:39:27 +02:00
<ImageButton
android:id="@+id/butRev"
android:layout_width="wrap_content"
android:layout_height="match_parent"
2012-06-22 16:05:59 +02:00
android:layout_weight="0.02"
2012-06-20 19:54:43 +02:00
android:background="@drawable/borderless_button"
2012-06-04 21:39:27 +02:00
android:src="@android:drawable/ic_media_rew" />
2012-06-22 16:05:59 +02:00
<ImageView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:scaleType="fitXY"
android:src="@drawable/vertical_divider" />
2012-06-04 21:39:27 +02:00
<ImageButton
android:id="@+id/butPlay"
android:layout_width="wrap_content"
android:layout_height="match_parent"
2012-06-22 16:05:59 +02:00
android:layout_weight="0.14"
2012-06-20 19:54:43 +02:00
android:background="@drawable/borderless_button"
2012-06-04 21:39:27 +02:00
android:src="@android:drawable/ic_media_pause" />
2012-06-22 16:05:59 +02:00
<ImageView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:scaleType="fitXY"
android:src="@drawable/vertical_divider" />
2012-06-04 21:39:27 +02:00
<ImageButton
android:id="@+id/butFF"
android:layout_width="wrap_content"
android:layout_height="match_parent"
2012-06-22 16:05:59 +02:00
android:layout_weight="0.02"
2012-06-20 19:54:43 +02:00
android:background="@drawable/borderless_button"
2012-06-04 21:39:27 +02:00
android:src="@android:drawable/ic_media_ff" />
</LinearLayout>
</LinearLayout>