aboutsummaryrefslogtreecommitdiffstats
path: root/libs/audiowife/src/main/res/layout
diff options
context:
space:
mode:
authorChristian S <christian@pix-art.de>2016-05-05 10:44:56 +0200
committerChristian S <christian@pix-art.de>2016-05-05 10:44:56 +0200
commitf99eb2c1d9baf9688a82bfdb63466c0e0e58fad6 (patch)
tree1cc4359c67c2bc6ff28d380967d811af37a89c3f /libs/audiowife/src/main/res/layout
parent8013668850e92f3dbd6e35bc3be9acddd74a9163 (diff)
added audio player
Diffstat (limited to 'libs/audiowife/src/main/res/layout')
-rw-r--r--libs/audiowife/src/main/res/layout/aw_player.xml49
1 files changed, 49 insertions, 0 deletions
diff --git a/libs/audiowife/src/main/res/layout/aw_player.xml b/libs/audiowife/src/main/res/layout/aw_player.xml
new file mode 100644
index 000000000..6d2904e31
--- /dev/null
+++ b/libs/audiowife/src/main/res/layout/aw_player.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/player_layout"
+ android:layout_width="match_parent"
+ android:layout_height="70dp"
+ android:gravity="center_vertical"
+ android:paddingLeft="4dp">
+
+ <ImageView
+ android:id="@+id/play"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="6"
+ android:src="@android:drawable/ic_media_play" />
+
+ <ImageView
+ android:id="@+id/pause"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="6"
+ android:src="@android:drawable/ic_media_pause"
+ android:visibility="gone" />
+
+ <FrameLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="0.8"
+ android:paddingBottom="5dp"
+ android:paddingRight="10dp"
+ android:paddingTop="5dp" >
+
+ <SeekBar
+ android:id="@+id/media_seekbar"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical" />
+
+ <TextView
+ android:id="@+id/playback_time"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="right|top"
+ android:ellipsize="end"
+ android:inputType="text"
+ android:textColor="@android:color/darker_gray"
+ android:textSize="11sp" />
+ </FrameLayout>
+
+</LinearLayout> \ No newline at end of file