- added extractor args lang when searching in yt-dlp - removed webarchive search engine since its not supported anymore - fixed terminal prematurely closing - made format auto-update on by default for new users - fixed main activity getting removed from recents when using the app with rvx - added ability to have the last used command template for the next download - fixed app crashing in landscape logs - fixed app constantly going back to home in landscape or config change. now it keeps state - add subtitle language suggestions in the subtitle dialog - made command template scroll state hold even if fragment is destroyed - added slovak sk language - fixed terminal icon being blank in white mode, and now its red - fixed share files from notification showing 2 files even though its 1 - fixed history item not being deleted from the bottom sheet - cleared outdated player urls for stale result items - added export cookies as file - added export command templates for selected templates - added icons for history details sheet chips - added markdown in the update dialog
107 lines
No EOL
4.1 KiB
XML
107 lines
No EOL
4.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:orientation="vertical"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:orientation="horizontal"
|
|
android:paddingTop="20dp">
|
|
|
|
<TextView
|
|
android:id="@+id/bottom_sheet_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/download"
|
|
android:textSize="25sp"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/bottom_sheet_subtitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/configure_download"
|
|
android:textSize="12sp"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/bottom_sheet_title" />
|
|
|
|
|
|
<Button
|
|
android:id="@+id/bottom_sheet_ok"
|
|
style="@style/Widget.Material3.Button.ElevatedButton.Icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:autoLink="all"
|
|
android:text="@string/ok"
|
|
app:icon="@drawable/ic_check"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
android:id="@+id/download_tablayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="10dp"
|
|
android:backgroundTint="@android:color/transparent"
|
|
app:tabGravity="fill"
|
|
app:tabMinWidth="0dp"
|
|
app:tabMode="scrollable">
|
|
|
|
<com.google.android.material.tabs.TabItem
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:text="@string/audio" />
|
|
|
|
<com.google.android.material.tabs.TabItem
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:text="@string/video" />
|
|
|
|
<com.google.android.material.tabs.TabItem
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:text="@string/command" />
|
|
|
|
|
|
</com.google.android.material.tabs.TabLayout>
|
|
|
|
<androidx.viewpager2.widget.ViewPager2
|
|
android:id="@+id/download_viewpager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button
|
|
android:id="@+id/bottom_sheet_link"
|
|
style="@style/Widget.Material3.Button.TextButton.Icon"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="10dp"
|
|
android:textAlignment="textStart"
|
|
android:singleLine="true"
|
|
android:text="@string/app_name"
|
|
android:textSize="15sp"
|
|
app:icon="@drawable/ic_link" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |