summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2012-07-07 15:05:35 +0200
committerdaniel oeh <daniel.oeh@gmail.com>2012-07-07 15:05:35 +0200
commite498216378fd4a89b6df366906e4a1d21e62e057 (patch)
tree0f1526d9c2116facc77156b3ec5e51c95e39b059 /res/layout
parent897516aa88714bc21a6ce1c93a7ddfa38dd7f2d7 (diff)
downloadAntennaPod-e498216378fd4a89b6df366906e4a1d21e62e057.zip
Implemented PlayerWidgetService
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/player_widget.xml22
1 files changed, 7 insertions, 15 deletions
diff --git a/res/layout/player_widget.xml b/res/layout/player_widget.xml
index 6e0f96ba4..fc26f2a9d 100644
--- a/res/layout/player_widget.xml
+++ b/res/layout/player_widget.xml
@@ -1,7 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="294dp"
- android:layout_height="74dp" >
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/white"
+ android:padding="@dimen/widget_margin" >
<ImageButton
android:id="@+id/butPlay"
@@ -12,37 +14,27 @@
android:background="@drawable/borderless_button"
android:src="@drawable/av_play" />
- <View
- android:id="@+id/divider"
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:layout_marginBottom="8dp"
- android:layout_marginTop="8dp"
- android:layout_toLeftOf="@id/butPlay"
- android:background="@color/gray" />
-
<LinearLayout
android:id="@+id/layout_left"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_alignParentLeft="true"
- android:layout_toLeftOf="@id/divider"
+ android:layout_toLeftOf="@id/butPlay"
android:orientation="vertical" >
<TextView
android:id="@+id/txtvTitle"
+ android:textColor="@color/black"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
- android:text="Test Titel"
android:textStyle="bold" />
<TextView
android:id="@+id/txtvProgress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_margin="8dp"
- android:text="Test progress" />
+ android:layout_margin="8dp" />
</LinearLayout>
</RelativeLayout> \ No newline at end of file