Add favorite and info button in landscape Now Playing view.
This commit is contained in:
parent
8d7836172b
commit
9fb9d45e05
|
@ -103,19 +103,53 @@
|
||||||
android:paddingTop="16dp"
|
android:paddingTop="16dp"
|
||||||
android:paddingEnd="32dp">
|
android:paddingEnd="32dp">
|
||||||
|
|
||||||
<TextView
|
<LinearLayout
|
||||||
android:id="@+id/now_playing_details_title"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textColor="@color/itemTitle"
|
android:orientation="horizontal">
|
||||||
android:textSize="18sp"
|
|
||||||
tools:text="Supermassive Black Hole" />
|
|
||||||
|
|
||||||
<TextView
|
<LinearLayout
|
||||||
android:id="@+id/now_playing_details_artist"
|
android:layout_width="match_parent"
|
||||||
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
||||||
tools:text="Muse" />
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/now_playing_details_title"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textColor="@color/itemTitle"
|
||||||
|
android:textSize="18sp"
|
||||||
|
tools:text="Supermassive Black Hole" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/now_playing_details_artist"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
tools:text="Muse" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<ImageButton
|
||||||
|
android:id="@+id/now_playing_details_favorite"
|
||||||
|
style="@style/IconButton"
|
||||||
|
android:layout_width="24dp"
|
||||||
|
android:layout_height="24dp"
|
||||||
|
android:layout_margin="8dp"
|
||||||
|
android:contentDescription="@string/alt_album_cover"
|
||||||
|
android:src="@drawable/favorite" />
|
||||||
|
|
||||||
|
<ImageButton
|
||||||
|
android:id="@+id/now_playing_details_info"
|
||||||
|
style="@style/IconButton"
|
||||||
|
android:layout_width="24dp"
|
||||||
|
android:layout_height="24dp"
|
||||||
|
android:layout_margin="8dp"
|
||||||
|
android:contentDescription="@string/alt_track_info"
|
||||||
|
android:src="@drawable/more"
|
||||||
|
android:tint="@color/controlForeground" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
<SeekBar
|
<SeekBar
|
||||||
android:id="@+id/now_playing_details_progress"
|
android:id="@+id/now_playing_details_progress"
|
||||||
|
|
Loading…
Reference in New Issue