|
41 | 41 | android:id="@+id/detail_thumbnail_image_view" |
42 | 42 | android:layout_width="match_parent" |
43 | 43 | android:layout_height="wrap_content" |
44 | | - android:minHeight="200dp" |
45 | 44 | android:background="?windowBackground" |
46 | 45 | android:contentDescription="@string/detail_thumbnail_view_description" |
| 46 | + android:minHeight="200dp" |
47 | 47 | android:scaleType="fitCenter" |
48 | 48 | tools:ignore="RtlHardcoded" |
49 | 49 | tools:layout_height="200dp" |
|
586 | 586 | android:id="@+id/view_pager" |
587 | 587 | android:layout_width="match_parent" |
588 | 588 | android:layout_height="match_parent" |
589 | | - app:layout_behavior="@string/appbar_scrolling_view_behavior" |
590 | | - android:paddingBottom="48dp"/> |
| 589 | + android:paddingBottom="48dp" |
| 590 | + app:layout_behavior="@string/appbar_scrolling_view_behavior" /> |
591 | 591 |
|
592 | 592 | <com.google.android.material.tabs.TabLayout |
593 | 593 | android:id="@+id/tab_layout" |
594 | 594 | android:layout_width="match_parent" |
595 | 595 | android:layout_height="wrap_content" |
596 | 596 | android:layout_gravity="bottom|center" |
597 | | - app:tabIndicatorGravity="top" |
598 | | - app:tabIconTint="?attr/colorAccent" |
| 597 | + app:elevation="16dp" |
599 | 598 | app:tabBackground="?attr/windowBackground" |
600 | 599 | app:tabGravity="fill" |
601 | | - app:elevation="16dp"/> |
| 600 | + app:tabIconTint="?attr/colorAccent" |
| 601 | + app:tabIndicatorGravity="top" /> |
602 | 602 |
|
603 | 603 | </androidx.coordinatorlayout.widget.CoordinatorLayout> |
604 | 604 |
|
|
668 | 668 | android:layout_height="60dp" |
669 | 669 | android:layout_alignParentEnd="true" |
670 | 670 | android:gravity="center_vertical" |
671 | | - android:paddingLeft="@dimen/video_item_search_padding" |
672 | | - android:paddingRight="@dimen/video_item_search_padding" |
673 | 671 | android:theme="@style/ContrastTintTheme" |
674 | 672 | tools:ignore="RtlHardcoded"> |
675 | 673 |
|
|
678 | 676 | android:layout_width="40dp" |
679 | 677 | android:layout_height="match_parent" |
680 | 678 | android:background="?attr/selectableItemBackground" |
681 | | - android:padding="10dp" |
| 679 | + android:contentDescription="@string/title_activity_play_queue" |
682 | 680 | android:scaleType="center" |
683 | 681 | android:src="@drawable/ic_list" |
684 | 682 | tools:ignore="ContentDescription,RtlHardcoded" /> |
|
688 | 686 | android:layout_width="40dp" |
689 | 687 | android:layout_height="match_parent" |
690 | 688 | android:background="?attr/selectableItemBackground" |
691 | | - android:padding="10dp" |
692 | | - android:scaleType="center" |
| 689 | + android:contentDescription="@string/pause" |
693 | 690 | android:focusable="true" |
694 | 691 | android:focusedByDefault="true" |
695 | | - android:src="@drawable/ic_play_arrow" |
696 | | - tools:ignore="ContentDescription,RtlHardcoded" /> |
| 692 | + android:scaleType="center" |
| 693 | + android:src="@drawable/ic_play_arrow" /> |
697 | 694 |
|
698 | 695 | <ImageButton |
699 | 696 | android:id="@+id/overlay_close_button" |
700 | | - android:layout_width="40dp" |
| 697 | + android:layout_width="48dp" |
701 | 698 | android:layout_height="match_parent" |
702 | 699 | android:background="?attr/selectableItemBackground" |
703 | | - android:padding="10dp" |
| 700 | + android:contentDescription="@string/close" |
| 701 | + android:paddingRight="8dp" |
704 | 702 | android:scaleType="center" |
705 | 703 | android:src="@drawable/ic_close" |
706 | | - tools:ignore="ContentDescription,RtlHardcoded" /> |
| 704 | + tools:ignore="RtlSymmetry" /> |
707 | 705 |
|
708 | 706 | </LinearLayout> |
709 | 707 |
|
|
0 commit comments