| 4 |
| android:layout_width="match_parent" |
| 5 | android:layout_height="match_parent" |
| 6 | android:background="#ff424242" > |
| 7 |
| 8 | <ImageView |
| 9 | android:layout_width="match_parent" |
| 10 | android:layout_height="match_parent" |
| 11 | android:src="@drawable/transparent" /> |
| 12 |
| 13 | <ImageView |
| 14 | android:id="@+id/player_album_art" |
| 15 | android:layout_width="40dp" |
| 16 | android:layout_height="40dp" |
| 17 | android:scaleType="fitXY" |
| 18 | android:layout_centerVertical="true" |
| 19 | android:layout_marginLeft="12dp" /> |
| 20 |
| 21 | <TextView |
| 22 | android:id="@+id/player_song_name" |
| 23 | android:layout_width="wrap_content" |
| 24 | android:layout_height="wrap_content" |
| 25 | android:gravity="top|left" |
| 26 | android:singleLine="true" |
| 27 | android:textColor="#ffffffff" |
| 28 | android:textSize="16dp" |
| 29 | android:layout_marginLeft="64dp" |
| 30 | android:layout_marginTop="12dp" |
| 31 | android:layout_marginRight="180dp"/> |
| 32 |
| 33 | <ImageView |
| 34 | android:id="@+id/player_close" |
| 35 | android:layout_width="28dp" |
| 36 | android:layout_height="28dp" |
| 37 | android:layout_marginTop="8dp" |
| 38 | android:layout_marginRight="8dp" |
| 39 | android:scaleType="center" |
| 40 | android:layout_alignParentRight="true" |
| 41 | android:background="@drawable/bar_selector_white" |
| 42 | android:src="@drawable/ic_close_white" /> |
| 43 |
| 44 | <TextView |
| 45 | android:id="@+id/player_author_name" |
| 46 | android:layout_width="match_parent" |
| 47 | android:layout_height="wrap_content" |
| 48 | android:singleLine="true" |
| 49 | android:textColor="#ffc7c7c7" |
| 50 | android:layout_marginTop="33dp" |
| 51 | android:layout_marginLeft="64dp" |
| 52 | android:layout_marginRight="180dp" |
| 53 | android:textSize="13dp" /> |
| 54 |
| 55 | <LinearLayout |
| 56 | android:layout_width="wrap_content" |
| 57 | android:layout_height="48dp" |
| 58 | android:gravity="center" |
| 59 | android:layout_marginRight="40dp" |
| 60 | android:layout_centerVertical="true" |
| 61 | android:layout_alignParentRight="true" |
| 62 | android:orientation="horizontal" > |
| 63 |
| 64 | <ProgressBar |
| 65 | android:layout_width="30dp" |
| 66 | android:layout_height="30dp" |
| 67 | android:layout_gravity="center" |
| 68 | android:layout_marginRight="56dp" |
| 69 | android:indeterminateDrawable="@drawable/loading_animation" |
| 70 | android:indeterminateDuration="1500" |
| 71 | android:id="@+id/player_progress_bar" /> |
| 72 |
| 73 | <ImageView |
| 74 | android:id="@+id/player_previous" |
| 75 | android:layout_width="32dp" |
| 76 | android:layout_height="32dp" |
| 77 | android:layout_marginLeft="8dp" |
| 78 | android:layout_marginRight="8dp" |
| 79 | android:scaleType="center" |
| 80 | android:background="@drawable/bar_selector_white" |
| 81 | android:src="@drawable/ic_action_previous" /> |
| 82 |
| 83 | <ImageView |
| 84 | android:id="@+id/player_pause" |
| 85 | android:layout_width="36dp" |
| 86 | android:layout_height="36dp" |
| 87 | android:layout_marginLeft="8dp" |
| 88 | android:layout_marginRight="8dp" |
| 89 | android:scaleType="center" |
| 90 | android:background="@drawable/bar_selector_white" |
| 91 | android:src="@drawable/ic_action_pause" /> |
| 92 |
| 93 | <ImageView |
| 94 | android:id="@+id/player_play" |
| 95 | android:layout_width="36dp" |
| 96 | android:layout_height="36dp" |
| 97 | android:layout_marginLeft="8dp" |
| 98 | android:layout_marginRight="8dp" |
| 99 | android:scaleType="center" |
| 100 | android:background="@drawable/bar_selector_white" |
| 101 | android:src="@drawable/ic_action_play" |
| 102 | android:visibility="gone" /> |
| 103 |
| 104 | <ImageView |
| 105 | android:id="@+id/player_next" |
| 106 | android:layout_width="32dp" |
| 107 | android:layout_height="32dp" |
| 108 | android:layout_marginLeft="8dp" |
| 109 | android:layout_marginRight="8dp" |
| 110 | android:scaleType="center" |
| 111 | android:background="@drawable/bar_selector_white" |
| 112 | android:src="@drawable/ic_action_next"/> |
| 113 |
| 114 | </LinearLayout> |
| 115 |
| 116 | </RelativeLayout> |