From c343442829183ce0bf227103f4450af45cecd4d6 Mon Sep 17 00:00:00 2001 From: Conny Duck Date: Thu, 9 Jan 2025 20:48:10 +0100 Subject: [PATCH 1/2] fix dialog fragment background --- .../com/keylesspalace/tusky/AccountsInListFragment.kt | 2 +- app/src/main/res/drawable/dialog_background.xml | 11 +++++++++++ app/src/main/res/values/styles.xml | 5 +++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/drawable/dialog_background.xml diff --git a/app/src/main/java/com/keylesspalace/tusky/AccountsInListFragment.kt b/app/src/main/java/com/keylesspalace/tusky/AccountsInListFragment.kt index 4bb46939b8..d92b92ab08 100644 --- a/app/src/main/java/com/keylesspalace/tusky/AccountsInListFragment.kt +++ b/app/src/main/java/com/keylesspalace/tusky/AccountsInListFragment.kt @@ -75,7 +75,7 @@ class AccountsInListFragment : DialogFragment() { viewModel.load(listId) } - override fun getTheme() = R.style.TuskyDialogOverlay + override fun getTheme() = R.style.TuskyDialogFragment override fun onStart() { super.onStart() diff --git a/app/src/main/res/drawable/dialog_background.xml b/app/src/main/res/drawable/dialog_background.xml new file mode 100644 index 0000000000..bde2b56d3b --- /dev/null +++ b/app/src/main/res/drawable/dialog_background.xml @@ -0,0 +1,11 @@ + + + + + + + diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index e44f21683c..648ff02660 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -144,6 +144,11 @@ @color/white + + - + + -