summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/external_player_fragment.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/external_player_fragment.xml')
-rw-r--r--app/src/main/res/layout/external_player_fragment.xml59
1 files changed, 59 insertions, 0 deletions
diff --git a/app/src/main/res/layout/external_player_fragment.xml b/app/src/main/res/layout/external_player_fragment.xml
new file mode 100644
index 000000000..f084ccac1
--- /dev/null
+++ b/app/src/main/res/layout/external_player_fragment.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/fragmentLayout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:visibility="gone">
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="2dp"
+ android:background="@color/bright_blue"/>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+
+ <RelativeLayout
+ android:id="@+id/layoutInfo"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:background="?attr/borderless_button">
+
+ <ImageView
+ android:id="@+id/imgvCover"
+ android:contentDescription="@string/cover_label"
+ android:layout_width="@dimen/external_player_height"
+ android:layout_height="@dimen/external_player_height"
+ android:layout_alignParentLeft="true"
+ android:padding="4dp"
+ android:adjustViewBounds="true"
+ android:cropToPadding="true"
+ android:scaleType="fitXY"/>
+
+ <TextView
+ android:id="@+id/txtvTitle"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="8dp"
+ android:layout_marginTop="8dp"
+ android:layout_toRightOf="@id/imgvCover"
+ android:ellipsize="end"
+ android:maxLines="2"
+ android:textSize="18sp"
+ android:fontFamily="sans-serif-light"/>
+ </RelativeLayout>
+
+ <ImageButton
+ android:id="@+id/butPlay"
+ android:contentDescription="@string/pause_label"
+ android:layout_width="@dimen/external_player_height"
+ android:layout_height="@dimen/external_player_height"
+ android:background="?attr/borderless_button"/>
+ </LinearLayout>
+
+</LinearLayout> \ No newline at end of file