AntennaPod/res/layout/player_widget.xml

52 lines
2.0 KiB
XML
Raw Normal View History

2012-07-07 13:30:17 +02:00
<?xml version="1.0" encoding="utf-8"?>
2012-07-07 16:07:01 +02:00
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
2012-07-07 15:05:35 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="@dimen/widget_margin" >
2012-07-07 13:30:17 +02:00
2012-07-07 16:07:01 +02:00
<RelativeLayout
android:layout_width="match_parent"
2012-07-07 13:30:17 +02:00
android:layout_height="match_parent"
2012-11-23 18:53:57 +01:00
android:background="#262C31" >
2012-07-07 13:30:17 +02:00
2012-07-07 16:07:01 +02:00
<ImageButton
android:id="@+id/butPlay"
android:contentDescription="@string/play_label"
2012-07-07 16:07:01 +02:00
android:layout_width="56dp"
android:layout_height="match_parent"
android:layout_alignParentRight="true"
android:layout_margin="12dp"
2012-11-23 18:53:57 +01:00
android:background="@drawable/borderless_button_dark"
android:src="@drawable/av_play_dark" />
2012-07-07 16:07:01 +02:00
<LinearLayout
android:id="@+id/layout_left"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_alignParentLeft="true"
android:layout_toLeftOf="@id/butPlay"
2012-11-23 18:53:57 +01:00
android:background="@drawable/borderless_button_dark"
2012-07-07 16:07:01 +02:00
android:gravity="center_vertical"
android:orientation="vertical" >
2012-07-07 13:30:17 +02:00
2012-07-07 16:07:01 +02:00
<TextView
android:id="@+id/txtvTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:maxLines="1"
android:text="@string/no_media_playing_label"
2012-11-23 18:53:57 +01:00
android:textColor="@color/white"
2013-01-19 23:38:41 +01:00
android:textSize="@dimen/text_size_medium"
2012-07-07 16:07:01 +02:00
android:textStyle="bold" />
2012-07-07 13:30:17 +02:00
2012-07-07 16:07:01 +02:00
<TextView
android:id="@+id/txtvProgress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
2013-01-20 00:02:29 +01:00
android:textColor="?android:attr/textColorSecondary" />
2012-07-07 16:07:01 +02:00
</LinearLayout>
</RelativeLayout>
2012-07-07 13:30:17 +02:00
2012-07-07 16:07:01 +02:00
</FrameLayout>