| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context="${relativePackage}.${activityClass}" >
- <ImageButton
- android:id="@+id/playButton"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_centerHorizontal="true"
- android:layout_marginBottom="10dp"
- android:src="@drawable/play"
- android:contentDescription="@string/playDescription" />
- <ImageButton
- android:id="@+id/pauseButton"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignBottom="@+id/playButton"
- android:layout_toRightOf="@+id/playButton"
- android:src="@drawable/pause"
- android:contentDescription="@string/pauseDescription" />
- <ImageButton
- android:id="@+id/stopButton"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignBottom="@+id/playButton"
- android:layout_toLeftOf="@+id/playButton"
- android:src="@drawable/stop"
- android:contentDescription="@string/stopDescription" />
- <TextView
- android:id="@+id/songName"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
- android:layout_centerVertical="true"
- android:textAppearance="?android:attr/textAppearanceLarge" />
- <TextView
- android:id="@+id/mediaPlayerStatus"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_above="@+id/playButton"
- android:layout_centerHorizontal="true"
- android:layout_marginBottom="42dp" />
- </RelativeLayout>
|