From c763d00f080d6ac44a7d8e456ca2cb7706024a6f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Denis=20=C3=87erri?=
<64997243+deniscerri@users.noreply.github.com>
Date: Sun, 16 Oct 2022 23:37:54 +0200
Subject: [PATCH] init bottom cards for configuring download for both audio and
video
---
.idea/misc.xml | 2 +
app/src/main/res/layout/download_all_card.xml | 44 -----
.../layout/home_download_all_bottom_sheet.xml | 2 +-
.../home_download_audio_bottom_sheet.xml | 157 +++++++++++++++
.../home_download_video_bottom_sheet.xml | 186 ++++++++++++++++++
app/src/main/res/values-sq-rAL/strings.xml | 13 ++
app/src/main/res/values/arrays.xml | 19 +-
app/src/main/res/values/strings.xml | 10 +
8 files changed, 378 insertions(+), 55 deletions(-)
delete mode 100644 app/src/main/res/layout/download_all_card.xml
create mode 100644 app/src/main/res/layout/home_download_audio_bottom_sheet.xml
create mode 100644 app/src/main/res/layout/home_download_video_bottom_sheet.xml
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 00960192..787e42be 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -102,6 +102,8 @@
+
+
diff --git a/app/src/main/res/layout/download_all_card.xml b/app/src/main/res/layout/download_all_card.xml
deleted file mode 100644
index d5c96b7e..00000000
--- a/app/src/main/res/layout/download_all_card.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/src/main/res/layout/home_download_all_bottom_sheet.xml b/app/src/main/res/layout/home_download_all_bottom_sheet.xml
index a1ef04f8..8c986512 100644
--- a/app/src/main/res/layout/home_download_all_bottom_sheet.xml
+++ b/app/src/main/res/layout/home_download_all_bottom_sheet.xml
@@ -10,13 +10,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/src/main/res/layout/home_download_video_bottom_sheet.xml b/app/src/main/res/layout/home_download_video_bottom_sheet.xml
new file mode 100644
index 00000000..3128ce86
--- /dev/null
+++ b/app/src/main/res/layout/home_download_video_bottom_sheet.xml
@@ -0,0 +1,186 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/src/main/res/values-sq-rAL/strings.xml b/app/src/main/res/values-sq-rAL/strings.xml
index 17b86735..6846b950 100644
--- a/app/src/main/res/values-sq-rAL/strings.xml
+++ b/app/src/main/res/values-sq-rAL/strings.xml
@@ -108,4 +108,17 @@
Duke Shkarkuar
Hiq në shkarkim
Jeni duke hequr të gjithë elementet që kanë gjendje shkarkimi dhe anuluar shërbimin e shkarkimit!
+ Gabim në fshirjen e skedarit! :(
+ Fshije skedarin nga sistemi
+ Shkarko privatësisht pa histori shkarkimi
+ Shkarko Audion
+ Konfiguro Shkarkimin
+ Titulli
+ Autori
+ Shkarko
+ Shkako Videon
+ Albumi
+ Kualiteti i Videos
+ Vendos Titrat
+ Vendos Kapituj
\ No newline at end of file
diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml
index e8943eb6..6ab037ee 100644
--- a/app/src/main/res/values/arrays.xml
+++ b/app/src/main/res/values/arrays.xml
@@ -1,5 +1,4 @@
-
- mp3
- m4a
@@ -11,20 +10,20 @@
- wav
-
- mp4
- mkv
- webm
-
-
- - Reply
- - Reply to all
-
-
- - reply
- - reply_all
+
+ - Best Quality
+ - 2160p
+ - 1440p
+ - 1080p
+ - 720p
+ - 480p
+ - 360p
+
\ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 7c9dfede..997a2412 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -116,4 +116,14 @@
Error on deleting file! :(
Delete the file from the system
Download privately without a download history
+ Download Audio
+ Configure Download
+ Title
+ Author
+ Download
+ Download Video
+ Album
+ Video Quality
+ Embed Subtitles
+ Add Chapters