From b72333b75f0ab2179429f98f07947d136a38aed6 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Wed, 31 May 2023 21:25:55 +0200 Subject: [PATCH 1/2] Fix channel groups sheet buttons not visible --- .../res/layout/dialog_edit_channel_group.xml | 33 +++++++++-------- .../res/layout/dialog_subscription_groups.xml | 37 ++++++++++--------- 2 files changed, 36 insertions(+), 34 deletions(-) diff --git a/app/src/main/res/layout/dialog_edit_channel_group.xml b/app/src/main/res/layout/dialog_edit_channel_group.xml index e63296b72..5ad4bb7c6 100644 --- a/app/src/main/res/layout/dialog_edit_channel_group.xml +++ b/app/src/main/res/layout/dialog_edit_channel_group.xml @@ -1,22 +1,22 @@ + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + android:layout_height="wrap_content" /> @@ -37,36 +37,37 @@ + android:layout_height="wrap_content" /> + android:layout_height="0dp" + android:layout_marginTop="10dp" + android:layout_weight="1" /> + android:paddingVertical="10dp"> + android:layout_height="wrap_content" + android:text="@string/cancel" /> + android:text="@string/okay" /> @@ -77,6 +78,6 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" - android:layout_marginVertical="20dp"/> + android:layout_marginVertical="20dp" /> \ No newline at end of file diff --git a/app/src/main/res/layout/dialog_subscription_groups.xml b/app/src/main/res/layout/dialog_subscription_groups.xml index 049ec40d4..582b53634 100644 --- a/app/src/main/res/layout/dialog_subscription_groups.xml +++ b/app/src/main/res/layout/dialog_subscription_groups.xml @@ -1,44 +1,45 @@ + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + android:layout_height="wrap_content" + android:layout_marginStart="18dp" + android:layout_marginTop="18dp" + android:text="@string/channel_groups" + android:textSize="24sp" + android:textStyle="bold" /> + android:layout_height="0dp" + android:layout_marginTop="20dp" + android:layout_weight="1" /> + android:paddingVertical="10dp"> + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/new_group" /> + android:text="@string/okay" /> From 52a2cfafa9ac60946f85f1e96d4dd8c05a2259ae Mon Sep 17 00:00:00 2001 From: Bnyro Date: Wed, 31 May 2023 21:27:30 +0200 Subject: [PATCH 2/2] Move button to edit channel groups to start --- .../res/layout/fragment_subscriptions.xml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/app/src/main/res/layout/fragment_subscriptions.xml b/app/src/main/res/layout/fragment_subscriptions.xml index 1eefa1d60..f4022d751 100644 --- a/app/src/main/res/layout/fragment_subscriptions.xml +++ b/app/src/main/res/layout/fragment_subscriptions.xml @@ -142,6 +142,16 @@ android:layout_height="wrap_content" android:orientation="horizontal"> + + - -