Removed obvious title from the "Playback Speed Controls"

This commit is contained in:
litetex 2021-11-07 13:51:43 +01:00
parent f933db8117
commit 62efb588ef
2 changed files with 0 additions and 23 deletions

View file

@ -157,11 +157,6 @@ public class PlaybackParameterDialog extends DialogFragment {
setupControlViews(view); setupControlViews(view);
final AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(requireActivity()) final AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(requireActivity())
.setCustomTitle(
View.inflate(
getContext(),
R.layout.dialog_playback_parameter_title,
null))
.setView(view) .setView(view)
.setCancelable(true) .setCancelable(true)
.setNegativeButton(R.string.cancel, (dialogInterface, i) -> .setNegativeButton(R.string.cancel, (dialogInterface, i) ->

View file

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Title for the dialog of the playback parameters -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="vertical">
<org.schabi.newpipe.views.NewPipeTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="4dp"
android:text="@string/playback_speed_control"
android:textColor="?attr/colorAccent"
android:textSize="18sp"
android:textStyle="bold" />
</LinearLayout>