summaryrefslogtreecommitdiff
path: root/res/layout/external_player_fragment.xml
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2012-09-10 13:02:08 +0200
committerdaniel oeh <daniel.oeh@gmail.com>2012-09-10 13:02:08 +0200
commit5df974a85e2fbfe96e55a6173dabc1c7ab3f22d7 (patch)
tree3b3ce796f32e4de4c4b47cf14e1473c8f814e960 /res/layout/external_player_fragment.xml
parentade896787f607146e312804aea420658d58388c2 (diff)
downloadAntennaPod-5df974a85e2fbfe96e55a6173dabc1c7ab3f22d7.zip
Improved layout of external player fragment, added status textview
Diffstat (limited to 'res/layout/external_player_fragment.xml')
-rw-r--r--res/layout/external_player_fragment.xml32
1 files changed, 24 insertions, 8 deletions
diff --git a/res/layout/external_player_fragment.xml b/res/layout/external_player_fragment.xml
index cdde81aa4..e24e2da21 100644
--- a/res/layout/external_player_fragment.xml
+++ b/res/layout/external_player_fragment.xml
@@ -8,14 +8,9 @@
<View
android:layout_width="match_parent"
- android:layout_height="0.5dp"
+ android:layout_height="1.5dp"
android:background="#AAAAAA" />
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="#D2D2D2" />
-
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -46,6 +41,7 @@
android:layout_marginRight="8dp"
android:layout_marginTop="8dp"
android:layout_toRightOf="@id/imgvCover"
+ android:ellipsize="end"
android:maxLines="1"
android:textStyle="bold" />
@@ -54,9 +50,29 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/txtvTitle"
- android:layout_margin="8dp"
+ android:layout_marginBottom="8dp"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="8dp"
+ android:layout_marginTop="4dp"
android:layout_toRightOf="@id/imgvCover"
- android:textSize="14dp" />
+ android:maxLines="1"
+ android:textSize="12dp" />
+
+ <TextView
+ android:id="@+id/txtvStatus"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_below="@id/txtvTitle"
+ android:layout_marginBottom="8dp"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="8dp"
+ android:layout_marginTop="4dp"
+ android:layout_toRightOf="@id/txtvPosition"
+ android:ellipsize="end"
+ android:maxLines="1"
+ android:textColor="@color/gray"
+ android:textSize="12dp" />
</RelativeLayout>
<ImageButton