fix dialog background colors (#4864)
In https://github.com/tuskyapp/Tusky/pull/4851 I changed the theme of `AccountsInListFragment`, which accidentally turned its background white for the dark theme. Additionally this fixes the color for the preference dialogs, which I think have been incorrect since the Material3 redesign. I also wondered if we should make dialogs darker for the black theme, but looks like there is not much interest in that https://chaos.social/deck/@ConnyDuck/113802937491059461 (Currently they are just the same as the dark theme)
This commit is contained in:
parent
5aaf885536
commit
a24c4718af
3 changed files with 27 additions and 6 deletions
11
app/src/main/res/drawable/dialog_background.xml
Normal file
11
app/src/main/res/drawable/dialog_background.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<inset xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:insetLeft="16dp"
|
||||
android:insetTop="16dp"
|
||||
android:insetRight="16dp"
|
||||
android:insetBottom="16dp">
|
||||
<shape android:shape="rectangle">
|
||||
<corners android:radius="?attr/dialogCornerRadius" />
|
||||
<solid android:color="@color/colorBackground" />
|
||||
</shape>
|
||||
</inset>
|
||||
Loading…
Add table
Add a link
Reference in a new issue