mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-01-06 01:20:29 +05:30
remove settings button in player
This commit is contained in:
parent
4f1c46fcf7
commit
a0aabdf5a4
@ -1095,7 +1095,7 @@ class PlayerFragment : Fragment() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
playerBinding.qualityLinLayout.setOnClickListener {
|
playerBinding.qualityText.setOnClickListener {
|
||||||
// Dialog for quality selection
|
// Dialog for quality selection
|
||||||
val builder: MaterialAlertDialogBuilder? = activity?.let {
|
val builder: MaterialAlertDialogBuilder? = activity?.let {
|
||||||
MaterialAlertDialogBuilder(it)
|
MaterialAlertDialogBuilder(it)
|
||||||
|
@ -74,34 +74,31 @@
|
|||||||
android:id="@+id/aspect_ratio_button"
|
android:id="@+id/aspect_ratio_button"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="12dp"
|
android:layout_marginHorizontal="5dp"
|
||||||
android:background="#00FFFFFF"
|
android:background="#00FFFFFF"
|
||||||
android:padding="@dimen/exo_icon_padding"
|
android:padding="@dimen/exo_icon_padding"
|
||||||
android:src="@drawable/ic_aspect_ratio" />
|
android:src="@drawable/ic_aspect_ratio" />
|
||||||
|
|
||||||
<LinearLayout
|
<TextView
|
||||||
android:id="@+id/quality_linLayout"
|
android:id="@+id/speed_text"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginHorizontal="5dp"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:padding="@dimen/exo_icon_padding"
|
||||||
|
android:text="1x"
|
||||||
|
android:textColor="#FFFFFF" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/quality_text"
|
android:id="@+id/quality_text"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center"
|
android:layout_marginHorizontal="5dp"
|
||||||
android:padding="@dimen/exo_icon_padding"
|
android:layout_gravity="center"
|
||||||
android:text="@string/hls"
|
android:padding="@dimen/exo_icon_padding"
|
||||||
android:textColor="#FFFFFF" />
|
android:text="@string/hls"
|
||||||
|
android:textColor="#FFFFFF" />
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/quality_select"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:padding="@dimen/exo_icon_padding"
|
|
||||||
android:src="@drawable/ic_arrow_down"
|
|
||||||
app:tint="@android:color/white" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
@ -183,10 +180,6 @@
|
|||||||
android:id="@id/exo_subtitle"
|
android:id="@id/exo_subtitle"
|
||||||
style="@style/ExoStyledControls.Button.Bottom.CC" />
|
style="@style/ExoStyledControls.Button.Bottom.CC" />
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@id/exo_settings"
|
|
||||||
style="@style/ExoStyledControls.Button.Bottom.Settings" />
|
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/fullscreen"
|
android:id="@+id/fullscreen"
|
||||||
style="@style/ExoStyledControls.Button.Bottom.FullScreen"
|
style="@style/ExoStyledControls.Button.Bottom.FullScreen"
|
||||||
|
Loading…
Reference in New Issue
Block a user