diff --git a/app/src/main/java/com/github/libretube/ui/dialogs/DownloadDialog.kt b/app/src/main/java/com/github/libretube/ui/dialogs/DownloadDialog.kt index d590722e1..9a1236a2a 100644 --- a/app/src/main/java/com/github/libretube/ui/dialogs/DownloadDialog.kt +++ b/app/src/main/java/com/github/libretube/ui/dialogs/DownloadDialog.kt @@ -34,11 +34,9 @@ class DownloadDialog( binding.audioRadio.setOnClickListener { binding.videoSpinner.visibility = View.GONE - binding.audioSpinner.visibility = View.VISIBLE } binding.videoRadio.setOnClickListener { - binding.audioSpinner.visibility = View.GONE binding.videoSpinner.visibility = View.VISIBLE } diff --git a/app/src/main/res/layout/dialog_download.xml b/app/src/main/res/layout/dialog_download.xml index 471ef9f5d..0743059f1 100644 --- a/app/src/main/res/layout/dialog_download.xml +++ b/app/src/main/res/layout/dialog_download.xml @@ -2,7 +2,8 @@ + android:orientation="vertical" + android:paddingHorizontal="20dp"> @@ -30,7 +30,7 @@ android:id="@+id/audio_radio" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginStart="10dp" + android:layout_marginStart="20dp" android:text="@string/audio" /> @@ -39,19 +39,20 @@ android:id="@+id/video_spinner" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_margin="8dp" /> + android:layout_marginVertical="10dp" /> + android:layout_marginVertical="10dp" />