mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-23 16:40:32 +00:00
Add buttons also in landscape mode
This commit is contained in:
parent
abe77c4783
commit
63e167b38e
@ -111,7 +111,7 @@
|
|||||||
tools:ignore="RtlHardcoded">
|
tools:ignore="RtlHardcoded">
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/control_backward"
|
android:id="@+id/control_fast_rewind"
|
||||||
android:layout_width="40dp"
|
android:layout_width="40dp"
|
||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
@ -121,7 +121,7 @@
|
|||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
android:tint="?attr/colorAccent"
|
android:tint="?attr/colorAccent"
|
||||||
android:src="@drawable/exo_controls_previous"
|
android:src="@drawable/exo_controls_rewind"
|
||||||
android:background="?attr/selectableItemBackgroundBorderless"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
tools:ignore="ContentDescription"/>
|
tools:ignore="ContentDescription"/>
|
||||||
|
|
||||||
@ -161,7 +161,7 @@
|
|||||||
android:visibility="invisible"/>
|
android:visibility="invisible"/>
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/control_forward"
|
android:id="@+id/control_fast_forward"
|
||||||
android:layout_width="40dp"
|
android:layout_width="40dp"
|
||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
@ -172,7 +172,7 @@
|
|||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
android:tint="?attr/colorAccent"
|
android:tint="?attr/colorAccent"
|
||||||
android:src="@drawable/exo_controls_next"
|
android:src="@drawable/exo_controls_fastforward"
|
||||||
tools:ignore="ContentDescription"/>
|
tools:ignore="ContentDescription"/>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
@ -185,8 +185,8 @@
|
|||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
tools:ignore="RtlHardcoded">
|
tools:ignore="RtlHardcoded">
|
||||||
|
|
||||||
<TextView
|
<ImageButton
|
||||||
android:id="@+id/control_playback_speed"
|
android:id="@+id/control_backward"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="35dp"
|
android:layout_height="35dp"
|
||||||
android:layout_marginLeft="5dp"
|
android:layout_marginLeft="5dp"
|
||||||
@ -195,11 +195,13 @@
|
|||||||
android:layout_toLeftOf="@+id/control_repeat"
|
android:layout_toLeftOf="@+id/control_repeat"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:minWidth="50dp"
|
android:minWidth="50dp"
|
||||||
android:text="1x"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:textColor="?attr/colorAccent"
|
android:clickable="true"
|
||||||
android:textStyle="bold"
|
android:focusable="true"
|
||||||
android:background="?attr/selectableItemBackground"
|
android:scaleType="fitXY"
|
||||||
tools:ignore="HardcodedText,RtlHardcoded"/>
|
android:src="@drawable/exo_controls_previous"
|
||||||
|
android:tint="?attr/colorAccent"
|
||||||
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/control_repeat"
|
android:id="@+id/control_repeat"
|
||||||
@ -236,8 +238,8 @@
|
|||||||
android:src="@drawable/ic_shuffle_white_24dp"
|
android:src="@drawable/ic_shuffle_white_24dp"
|
||||||
tools:ignore="ContentDescription"/>
|
tools:ignore="ContentDescription"/>
|
||||||
|
|
||||||
<TextView
|
<ImageButton
|
||||||
android:id="@+id/control_playback_pitch"
|
android:id="@+id/control_forward"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="35dp"
|
android:layout_height="35dp"
|
||||||
android:layout_marginLeft="5dp"
|
android:layout_marginLeft="5dp"
|
||||||
@ -246,11 +248,13 @@
|
|||||||
android:layout_toRightOf="@+id/control_shuffle"
|
android:layout_toRightOf="@+id/control_shuffle"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:minWidth="50dp"
|
android:minWidth="50dp"
|
||||||
android:text="100%"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:textColor="?attr/colorAccent"
|
android:clickable="true"
|
||||||
android:textStyle="bold"
|
android:focusable="true"
|
||||||
android:background="?attr/selectableItemBackground"
|
android:scaleType="fitXY"
|
||||||
tools:ignore="HardcodedText,RtlHardcoded"/>
|
android:src="@drawable/exo_controls_next"
|
||||||
|
android:tint="?attr/colorAccent"
|
||||||
|
tools:ignore="ContentDescription" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user