|
|
|
|
@ -1,95 +1,78 @@
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
|
<androidx.core.widget.NestedScrollView android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:scrollbars="none"
|
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:padding="10dp"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
|
|
|
<!-- android:id="@+id/result_card_constraintLayout"-->
|
|
|
|
|
<!-- android:layout_width="match_parent"-->
|
|
|
|
|
<!-- android:layout_height="wrap_content">-->
|
|
|
|
|
|
|
|
|
|
<!-- <RelativeLayout-->
|
|
|
|
|
<!-- android:id="@+id/result_relative_layout"-->
|
|
|
|
|
<!-- android:layout_width="0dp"-->
|
|
|
|
|
<!-- android:layout_height="0dp"-->
|
|
|
|
|
<!-- app:layout_constraintDimensionRatio="H,16:9"-->
|
|
|
|
|
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
|
|
|
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
|
|
|
<!-- app:layout_constraintTop_toTopOf="parent">-->
|
|
|
|
|
|
|
|
|
|
<!-- <com.google.android.material.card.MaterialCardView-->
|
|
|
|
|
<!-- android:id="@+id/result_card_view"-->
|
|
|
|
|
<!-- android:layout_width="match_parent"-->
|
|
|
|
|
<!-- android:layout_height="match_parent"-->
|
|
|
|
|
<!-- app:cardCornerRadius="10dp"-->
|
|
|
|
|
<!-- app:cardElevation="10dp"-->
|
|
|
|
|
<!-- app:cardMaxElevation="12dp"-->
|
|
|
|
|
<!-- app:cardBackgroundColor="@color/black"-->
|
|
|
|
|
<!-- app:cardPreventCornerOverlap="true"-->
|
|
|
|
|
<!-- android:checkable="true"-->
|
|
|
|
|
<!-- app:strokeWidth="0dp"-->
|
|
|
|
|
<!-- android:layout_margin="10dp">-->
|
|
|
|
|
|
|
|
|
|
<!-- <com.devbrackets.android.exomedia.ui.widget.VideoView-->
|
|
|
|
|
<!-- android:id="@+id/result_video_view"-->
|
|
|
|
|
<!-- android:layout_width="match_parent"-->
|
|
|
|
|
<!-- android:layout_height="match_parent"-->
|
|
|
|
|
<!-- app:useDefaultControls="true"/>-->
|
|
|
|
|
|
|
|
|
|
<!-- </com.google.android.material.card.MaterialCardView>-->
|
|
|
|
|
<!-- </RelativeLayout>-->
|
|
|
|
|
|
|
|
|
|
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
|
|
|
|
|
|
|
|
<!-- <com.google.android.material.slider.RangeSlider-->
|
|
|
|
|
<!-- android:id="@+id/range_slider"-->
|
|
|
|
|
<!-- android:layout_marginHorizontal="10dp"-->
|
|
|
|
|
<!-- android:layout_width="match_parent"-->
|
|
|
|
|
<!-- android:layout_height="wrap_content"-->
|
|
|
|
|
<!-- app:values="@array/initial_slider_values"-->
|
|
|
|
|
<!-- android:valueFrom="0.0"-->
|
|
|
|
|
|
|
|
|
|
<!-- android:valueTo="100.0" />-->
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
|
android:id="@+id/title_textinput"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
app:errorEnabled="true"
|
|
|
|
|
android:hint="@string/title"
|
|
|
|
|
style="@style/Widget.Material3.TextInputLayout.FilledBox">
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:inputType="text"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:padding="10dp"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
|
|
|
<!-- android:id="@+id/result_card_constraintLayout"-->
|
|
|
|
|
<!-- android:layout_width="match_parent"-->
|
|
|
|
|
<!-- android:layout_height="wrap_content">-->
|
|
|
|
|
|
|
|
|
|
<!-- <RelativeLayout-->
|
|
|
|
|
<!-- android:id="@+id/result_relative_layout"-->
|
|
|
|
|
<!-- android:layout_width="0dp"-->
|
|
|
|
|
<!-- android:layout_height="0dp"-->
|
|
|
|
|
<!-- app:layout_constraintDimensionRatio="H,16:9"-->
|
|
|
|
|
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
|
|
|
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
|
|
|
<!-- app:layout_constraintTop_toTopOf="parent">-->
|
|
|
|
|
|
|
|
|
|
<!-- <com.google.android.material.card.MaterialCardView-->
|
|
|
|
|
<!-- android:id="@+id/result_card_view"-->
|
|
|
|
|
<!-- android:layout_width="match_parent"-->
|
|
|
|
|
<!-- android:layout_height="match_parent"-->
|
|
|
|
|
<!-- app:cardCornerRadius="10dp"-->
|
|
|
|
|
<!-- app:cardElevation="10dp"-->
|
|
|
|
|
<!-- app:cardMaxElevation="12dp"-->
|
|
|
|
|
<!-- app:cardBackgroundColor="@color/black"-->
|
|
|
|
|
<!-- app:cardPreventCornerOverlap="true"-->
|
|
|
|
|
<!-- android:checkable="true"-->
|
|
|
|
|
<!-- app:strokeWidth="0dp"-->
|
|
|
|
|
<!-- android:layout_margin="10dp">-->
|
|
|
|
|
|
|
|
|
|
<!-- <com.devbrackets.android.exomedia.ui.widget.VideoView-->
|
|
|
|
|
<!-- android:id="@+id/result_video_view"-->
|
|
|
|
|
<!-- android:layout_width="match_parent"-->
|
|
|
|
|
<!-- android:layout_height="match_parent"-->
|
|
|
|
|
<!-- app:useDefaultControls="true"/>-->
|
|
|
|
|
|
|
|
|
|
<!-- </com.google.android.material.card.MaterialCardView>-->
|
|
|
|
|
<!-- </RelativeLayout>-->
|
|
|
|
|
|
|
|
|
|
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
|
|
|
|
|
|
|
|
<!-- <com.google.android.material.slider.RangeSlider-->
|
|
|
|
|
<!-- android:id="@+id/range_slider"-->
|
|
|
|
|
<!-- android:layout_marginHorizontal="10dp"-->
|
|
|
|
|
<!-- android:layout_width="match_parent"-->
|
|
|
|
|
<!-- android:layout_height="wrap_content"-->
|
|
|
|
|
<!-- app:values="@array/initial_slider_values"-->
|
|
|
|
|
<!-- android:valueFrom="0.0"-->
|
|
|
|
|
|
|
|
|
|
<!-- android:valueTo="100.0" />-->
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
|
android:id="@+id/author_textinput"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:id="@+id/title_textinput"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="40"
|
|
|
|
|
app:errorEnabled="true"
|
|
|
|
|
android:hint="@string/author"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
|
android:hint="@string/title"
|
|
|
|
|
style="@style/Widget.Material3.TextInputLayout.FilledBox">
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
|
@ -100,104 +83,117 @@
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
|
android:id="@+id/downloadContainer"
|
|
|
|
|
style="@style/Widget.Material3.TextInputLayout.FilledBox.ExposedDropdownMenu"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_weight="45"
|
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:hint="@string/container">
|
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<AutoCompleteTextView
|
|
|
|
|
android:id="@+id/container_textview"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
|
android:id="@+id/author_textinput"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:inputType="none"
|
|
|
|
|
app:simpleItems="@array/audio_containers"
|
|
|
|
|
/>
|
|
|
|
|
android:layout_weight="40"
|
|
|
|
|
android:hint="@string/author"
|
|
|
|
|
style="@style/Widget.Material3.TextInputLayout.FilledBox">
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:inputType="text"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
|
android:id="@+id/format"
|
|
|
|
|
style="@style/Widget.Material3.TextInputLayout.FilledBox.ExposedDropdownMenu"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
|
android:hint="@string/audio_format">
|
|
|
|
|
|
|
|
|
|
<AutoCompleteTextView
|
|
|
|
|
android:id="@+id/format_textview"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:inputType="none"
|
|
|
|
|
app:simpleItems="@array/video_formats"
|
|
|
|
|
/>
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
|
android:id="@+id/downloadContainer"
|
|
|
|
|
style="@style/Widget.Material3.TextInputLayout.FilledBox.ExposedDropdownMenu"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_weight="45"
|
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:hint="@string/container">
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
<AutoCompleteTextView
|
|
|
|
|
android:id="@+id/container_textview"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:inputType="none"
|
|
|
|
|
app:simpleItems="@array/audio_containers"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
|
android:id="@+id/outputPath"
|
|
|
|
|
style="@style/Widget.Material3.TextInputLayout.FilledBox"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:hint="@string/save_dir">
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/audio_format" />
|
|
|
|
|
<include layout="@layout/format_item" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
|
android:id="@+id/outputPath"
|
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
|
style="@style/Widget.Material3.TextInputLayout.FilledBox"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:inputType="text" />
|
|
|
|
|
android:hint="@string/save_dir">
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:inputType="text" />
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/adjust_audio"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:padding="10dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:paddingBottom="5dp"
|
|
|
|
|
android:textSize="15sp"
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/adjust_audio"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:padding="10dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/adjust_audio" />
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
<HorizontalScrollView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:paddingBottom="5dp"
|
|
|
|
|
android:textSize="15sp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/adjust_audio" />
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.chip.ChipGroup
|
|
|
|
|
android:id="@+id/chipGroup"
|
|
|
|
|
<HorizontalScrollView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
app:singleLine="false"
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.chip.Chip
|
|
|
|
|
android:id="@+id/embed_thumb"
|
|
|
|
|
style="@style/Widget.Material3.Chip.Filter.Elevated"
|
|
|
|
|
<com.google.android.material.chip.ChipGroup
|
|
|
|
|
android:id="@+id/chipGroup"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:checked="false"
|
|
|
|
|
android:text="@string/embed_thumb"/>
|
|
|
|
|
app:singleLine="false"
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.chip.ChipGroup>
|
|
|
|
|
<com.google.android.material.chip.Chip
|
|
|
|
|
android:id="@+id/embed_thumb"
|
|
|
|
|
style="@style/Widget.Material3.Chip.Filter.Elevated"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:checked="false"
|
|
|
|
|
android:text="@string/embed_thumb"/>
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.chip.ChipGroup>
|
|
|
|
|
|
|
|
|
|
</HorizontalScrollView>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</HorizontalScrollView>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
</androidx.core.widget.NestedScrollView>
|