Fix video format, Clean up

This commit is contained in:
MrLetsplay 2021-07-11 17:43:44 +02:00
parent 597e33ff32
commit 746c2db5f8
5 changed files with 3 additions and 8 deletions

View File

@ -309,7 +309,6 @@ public class MainActivity extends AppCompatActivity {
mBuilder.setTitle(R.string.menu_remove);
mBuilder.setMultiChoiceItems(tabsarray, null, new DialogInterface.OnMultiChoiceClickListener() {
@RequiresApi(api = Build.VERSION_CODES.KITKAT)
@Override
public void onClick(DialogInterface dialogInterface, int i, boolean isChecked) {
String selectedItem = tabsarray[i];

View File

@ -162,7 +162,6 @@ public class TabsFragment extends Fragment implements AddButtonDialogSingle.AddB
AlertDialog.Builder mBuilder = new AlertDialog.Builder(getActivity());
mBuilder.setTitle(getString(R.string.choose_element));
mBuilder.setSingleChoiceItems(listItems, -1, new DialogInterface.OnClickListener() {
@RequiresApi(api = Build.VERSION_CODES.KITKAT)
@Override
public void onClick(DialogInterface dialogInterface, int i) {
if (i == 0) {
@ -209,7 +208,6 @@ public class TabsFragment extends Fragment implements AddButtonDialogSingle.AddB
addHeadlineDialog.show(requireActivity().getSupportFragmentManager(), getString(R.string.heading));
}
@RequiresApi(api = Build.VERSION_CODES.KITKAT)
@Override
public void applyTextsSingle(String name, String command, String button) {
//items.add(new ListItemSingle(0,name,command,button));
@ -222,7 +220,6 @@ public class TabsFragment extends Fragment implements AddButtonDialogSingle.AddB
}
@RequiresApi(api = Build.VERSION_CODES.KITKAT)
@Override
public void applyTextsDouble(String name, String command1, String command2, String button1, String button2) {
listAdapter.add(new ListItemDouble(name, command1, command2, button1, button2));
@ -233,7 +230,6 @@ public class TabsFragment extends Fragment implements AddButtonDialogSingle.AddB
}
}
@RequiresApi(api = Build.VERSION_CODES.KITKAT)
@Override
public void applyTextsHeadline(String headline) {
listAdapter.add(new ListItemHeadline(headline));

View File

@ -9,9 +9,9 @@
<VideoView
android:id="@+id/videoView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
app:layout_constraintBottom_toBottomOf="parent"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"

Binary file not shown.

Binary file not shown.