|
564 | 564 | android:visibility="gone" /> |
565 | 565 |
|
566 | 566 | <androidx.appcompat.widget.AppCompatImageButton |
567 | | - android:id="@+id/itemsListClose" |
| 567 | + android:id="@+id/repeatButton" |
568 | 568 | android:layout_width="50dp" |
569 | 569 | android:layout_height="50dp" |
570 | | - android:layout_alignParentEnd="true" |
| 570 | + android:layout_alignParentStart="true" |
| 571 | + android:layout_alignParentLeft="true" |
571 | 572 | android:layout_centerVertical="true" |
572 | | - android:layout_marginEnd="40dp" |
| 573 | + android:layout_marginStart="40dp" |
| 574 | + android:layout_marginLeft="40dp" |
573 | 575 | android:background="?attr/selectableItemBackgroundBorderless" |
574 | 576 | android:clickable="true" |
575 | | - android:contentDescription="@string/close" |
576 | 577 | android:focusable="true" |
577 | 578 | android:padding="10dp" |
578 | 579 | android:scaleType="fitXY" |
579 | | - app:srcCompat="@drawable/ic_close" |
580 | | - app:tint="@color/white" /> |
| 580 | + android:tint="?attr/colorAccent" |
| 581 | + app:srcCompat="@drawable/exo_controls_repeat_off" |
| 582 | + tools:ignore="ContentDescription,RtlHardcoded" /> |
581 | 583 |
|
582 | 584 | <androidx.appcompat.widget.AppCompatImageButton |
583 | | - android:id="@+id/addToPlaylistButton" |
| 585 | + android:id="@+id/shuffleButton" |
584 | 586 | android:layout_width="50dp" |
585 | 587 | android:layout_height="50dp" |
586 | 588 | android:layout_centerVertical="true" |
587 | | - android:layout_toLeftOf="@+id/itemsListClose" |
| 589 | + android:layout_toRightOf="@id/repeatButton" |
588 | 590 | android:background="?attr/selectableItemBackgroundBorderless" |
589 | 591 | android:clickable="true" |
590 | 592 | android:focusable="true" |
591 | 593 | android:padding="10dp" |
592 | 594 | android:scaleType="fitXY" |
593 | 595 | android:tint="?attr/colorAccent" |
594 | | - app:srcCompat="@drawable/ic_playlist_add" |
| 596 | + app:srcCompat="@drawable/ic_shuffle" |
595 | 597 | tools:ignore="ContentDescription,RtlHardcoded" /> |
596 | 598 |
|
| 599 | + <androidx.appcompat.widget.AppCompatTextView |
| 600 | + android:id="@+id/itemsListHeaderDuration" |
| 601 | + style="@style/TextAppearance.AppCompat.Medium" |
| 602 | + android:layout_width="wrap_content" |
| 603 | + android:layout_height="wrap_content" |
| 604 | + android:layout_centerVertical="true" |
| 605 | + android:layout_toStartOf="@id/addToPlaylistButton" |
| 606 | + android:layout_toEndOf="@id/shuffleButton" |
| 607 | + android:gravity="center" |
| 608 | + android:textColor="@android:color/white" /> |
| 609 | + |
597 | 610 | <androidx.appcompat.widget.AppCompatImageButton |
598 | | - android:id="@+id/repeatButton" |
| 611 | + android:id="@+id/addToPlaylistButton" |
599 | 612 | android:layout_width="50dp" |
600 | 613 | android:layout_height="50dp" |
601 | | - android:layout_alignParentStart="true" |
602 | | - android:layout_alignParentLeft="true" |
603 | 614 | android:layout_centerVertical="true" |
604 | | - android:layout_marginStart="40dp" |
605 | | - android:layout_marginLeft="40dp" |
| 615 | + android:layout_toLeftOf="@+id/itemsListClose" |
606 | 616 | android:background="?attr/selectableItemBackgroundBorderless" |
607 | 617 | android:clickable="true" |
608 | 618 | android:focusable="true" |
609 | 619 | android:padding="10dp" |
610 | 620 | android:scaleType="fitXY" |
611 | 621 | android:tint="?attr/colorAccent" |
612 | | - app:srcCompat="@drawable/exo_controls_repeat_off" |
| 622 | + app:srcCompat="@drawable/ic_playlist_add" |
613 | 623 | tools:ignore="ContentDescription,RtlHardcoded" /> |
614 | 624 |
|
615 | 625 | <androidx.appcompat.widget.AppCompatImageButton |
616 | | - android:id="@+id/shuffleButton" |
| 626 | + android:id="@+id/itemsListClose" |
617 | 627 | android:layout_width="50dp" |
618 | 628 | android:layout_height="50dp" |
| 629 | + android:layout_alignParentEnd="true" |
619 | 630 | android:layout_centerVertical="true" |
620 | | - android:layout_toRightOf="@id/repeatButton" |
| 631 | + android:layout_marginEnd="40dp" |
621 | 632 | android:background="?attr/selectableItemBackgroundBorderless" |
622 | 633 | android:clickable="true" |
| 634 | + android:contentDescription="@string/close" |
623 | 635 | android:focusable="true" |
624 | 636 | android:padding="10dp" |
625 | 637 | android:scaleType="fitXY" |
626 | | - android:tint="?attr/colorAccent" |
627 | | - app:srcCompat="@drawable/ic_shuffle" |
628 | | - tools:ignore="ContentDescription,RtlHardcoded" /> |
| 638 | + app:srcCompat="@drawable/ic_close" |
| 639 | + app:tint="@color/white" /> |
629 | 640 |
|
630 | | - <androidx.appcompat.widget.AppCompatTextView |
631 | | - android:id="@+id/itemsListHeaderDuration" |
632 | | - style="@style/TextAppearance.AppCompat.Medium" |
633 | | - android:layout_width="wrap_content" |
634 | | - android:layout_height="wrap_content" |
635 | | - android:layout_centerVertical="true" |
636 | | - android:layout_toStartOf="@id/addToPlaylistButton" |
637 | | - android:layout_toEndOf="@id/shuffleButton" |
638 | | - android:gravity="center" |
639 | | - android:textColor="@android:color/white" /> |
640 | 641 | </RelativeLayout> |
641 | 642 |
|
642 | 643 | <androidx.recyclerview.widget.RecyclerView |
|
0 commit comments