1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-06-29 00:23:22 +00:00

Un-nest some text views in play queue activity

This commit is contained in:
Stypox 2021-08-09 20:05:33 +02:00
parent e6c56cacc6
commit 4d50a66e40
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23

View File

@ -31,24 +31,18 @@
android:id="@+id/play_queue"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@id/progress_bar"
android:layout_above="@id/metadata"
android:layout_below="@id/appbar"
android:scrollbars="vertical"
app:layoutManager="LinearLayoutManager"
tools:listitem="@layout/play_queue_item" />
<RelativeLayout
android:id="@+id/seek_bar_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@id/center">
<TextView
android:id="@+id/seek_display"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:layout_above="@id/metadata"
android:background="#c0000000"
android:paddingLeft="30dp"
android:paddingTop="5dp"
@ -61,19 +55,12 @@
tools:ignore="RtlHardcoded"
tools:text="1:06:29"
tools:visibility="visible" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/center"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@id/progress_bar"
android:gravity="center">
<LinearLayout
android:id="@+id/metadata"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@id/progress_bar"
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:focusable="true"
@ -108,8 +95,6 @@
tools:text="Duis posuere arcu condimentum lobortis mattis." />
</LinearLayout>
</RelativeLayout>
<LinearLayout
android:id="@+id/progress_bar"
android:layout_width="match_parent"
@ -168,7 +153,6 @@
android:visibility="gone" />
</LinearLayout>
<RelativeLayout
android:id="@+id/playback_controls"
android:layout_width="match_parent"
@ -305,7 +289,4 @@
tools:ignore="ContentDescription" />
</RelativeLayout>
</RelativeLayout>