|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | + android:id="@+id/background" |
| 4 | + android:layout_width="match_parent" |
| 5 | + android:layout_height="match_parent" > |
| 6 | + |
| 7 | + <ImageView |
| 8 | + android:id="@+id/nowPlayingImage" |
| 9 | + android:layout_width="match_parent" |
| 10 | + android:layout_height="match_parent" |
| 11 | + android:layout_centerInParent="true" |
| 12 | + android:tileMode="repeat" |
| 13 | + android:layout_alignParentTop="true" |
| 14 | + android:layout_marginLeft="14dp" /> |
| 15 | + |
| 16 | + <TextView |
| 17 | + android:id="@+id/nowPlayingAlbum" |
| 18 | + android:layout_width="wrap_content" |
| 19 | + android:layout_height="wrap_content" |
| 20 | + android:layout_alignLeft="@+id/nowPlayingArtist" |
| 21 | + android:layout_alignParentRight="true" |
| 22 | + android:layout_centerVertical="true" |
| 23 | + android:textSize="20sp" /> |
| 24 | + |
| 25 | + <TextView |
| 26 | + android:id="@+id/nowPlayingTitle" |
| 27 | + android:layout_width="wrap_content" |
| 28 | + android:layout_height="wrap_content" |
| 29 | + android:layout_alignLeft="@+id/nowPlayingAlbum" |
| 30 | + android:layout_alignParentRight="true" |
| 31 | + android:layout_below="@+id/nowPlayingAlbum" |
| 32 | + android:layout_marginTop="18dp" |
| 33 | + android:textSize="18sp" /> |
| 34 | + |
| 35 | + <TextView |
| 36 | + android:id="@+id/nowPlayingArtist" |
| 37 | + android:layout_width="wrap_content" |
| 38 | + android:layout_height="wrap_content" |
| 39 | + android:layout_above="@+id/nowPlayingAlbum" |
| 40 | + android:layout_alignLeft="@+id/nowPlayingOnClient" |
| 41 | + android:layout_alignParentRight="true" |
| 42 | + android:layout_marginBottom="26dp" |
| 43 | + android:textSize="24sp" /> |
| 44 | + |
| 45 | + <TextView |
| 46 | + android:id="@+id/nowPlayingOnClient" |
| 47 | + android:layout_width="wrap_content" |
| 48 | + android:layout_height="wrap_content" |
| 49 | + android:layout_above="@+id/nowPlayingArtist" |
| 50 | + android:layout_alignLeft="@+id/nowPlayingImage" |
| 51 | + android:layout_marginBottom="28dp" |
| 52 | + android:layout_marginLeft="14dp" |
| 53 | + android:text="@string/now_playing_on" |
| 54 | + android:textColor="@color/white" /> |
| 55 | + |
| 56 | +</RelativeLayout> |
0 commit comments