Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/container"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:background="#CDDC39"
- android:orientation="vertical"
- android:padding="20dp">
- <TextView
- android:id="@+id/songName"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:text="Judul Lagu"
- android:textColor="#ffffff"/>
- <ImageView
- android:id="@+id/mp3icon"
- android:layout_width="match_parent"
- android:layout_height="200dp"
- android:layout_margin="30dp"
- android:background="#ffffff"
- android:padding="30dp"
- android:src="@drawable/music"/>
- <TextView
- android:id="@+id/songDuration"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:text="Durasi Lagu"
- android:textColor="#ffffff" />
- <SeekBar
- android:id="@+id/seekBar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="30dp"
- android:gravity="center_horizontal">
- <ImageButton
- android:id="@+id/btn_back"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="14dp"
- android:onClick="backtoforward"
- android:src="@android:drawable/ic_media_rew"/>
- <ImageButton
- android:id="@+id/btn_pause"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="14dp"
- android:onClick="pause"
- android:src="@android:drawable/ic_media_pause"/>
- <ImageButton
- android:id="@+id/btn_Play"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="14dp"
- android:onClick="play"
- android:src="@android:drawable/ic_media_play"/>
- <ImageButton
- android:id="@+id/btn_forword"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="14dp"
- android:onClick="foward"
- android:src="@android:drawable/ic_media_ff"/>
- </LinearLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement