Skip to content

Commit

Permalink
Fix invisible queue close button
Browse files Browse the repository at this point in the history
  • Loading branch information
Stypox committed Sep 19, 2020
1 parent 59e7eba commit 7317737
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
11 changes: 5 additions & 6 deletions app/src/main/res/layout-large-land/player.xml
Original file line number Diff line number Diff line change
Expand Up @@ -469,17 +469,16 @@
android:id="@+id/playQueueClose"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_centerVertical="true"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:layout_marginEnd="40dp"
android:padding="10dp"
android:background="?android:selectableItemBackground"
android:clickable="true"
android:contentDescription="@string/close"
android:focusable="true"
android:padding="10dp"
android:scaleType="fitXY"
android:tint="?attr/colorAccent"
app:srcCompat="@drawable/ic_close_white_24dp"
android:background="?android:selectableItemBackground"
tools:ignore="ContentDescription"/>
app:srcCompat="@drawable/ic_close_white_24dp" />

<ImageButton
android:id="@+id/repeatButton"
Expand Down
13 changes: 6 additions & 7 deletions app/src/main/res/layout/player.xml
Original file line number Diff line number Diff line change
Expand Up @@ -461,21 +461,20 @@
android:layout_height="60dp"
android:id="@+id/playQueueControl">

<ImageButton
<androidx.appcompat.widget.AppCompatImageButton
android:id="@+id/playQueueClose"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_centerVertical="true"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:layout_marginEnd="40dp"
android:padding="10dp"
android:background="?android:selectableItemBackground"
android:clickable="true"
android:contentDescription="@string/close"
android:focusable="true"
android:padding="10dp"
android:scaleType="fitXY"
android:tint="?attr/colorAccent"
app:srcCompat="@drawable/ic_close_white_24dp"
android:background="?android:selectableItemBackground"
tools:ignore="ContentDescription"/>
app:srcCompat="@drawable/ic_close_white_24dp" />

<ImageButton
android:id="@+id/repeatButton"
Expand Down

0 comments on commit 7317737

Please sign in to comment.