-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add explanatory text to "Filter notifications" dialog #285
Comments
Can I ask you a question? In AlertDialog, it is not possible to put text between title and checkbox, is it? Is it necessary to create a custom dialog to solve this issue? |
You can. But you can also set a custom view in an AlertDialog, see https://developer.android.com/develop/ui/views/components/dialogs#CustomLayout |
Ah, I think I might have confused you. "You can" was in reference to "Is it necessary to create a custom dialog". You can create a custom dialog to do this. However, you don't have to. You can also As you've already seen, you can't mix a message and a list of items in |
Oh, sorry (English is difficult...)
It seems worthwhile! I would like to work on this issue!! |
Great, thanks. When creating the custom layout you can use https://cs.android.com/android/platform/superproject/main/+/main:frameworks/base/core/res/res/layout/alert_dialog_material.xml for inspiration. There are quite few existing places in the code where To make sure the padding at the start/end of each view is correct you can use the android:layout_marginStart="?dialogPreferredPadding"
android:layout_marginEnd="?dialogPreferredPadding" |
@sanao1006 FYI, I'll be generally unavailable until the second week of January, so if you have anything ready for review earlier I won't be able to look at it until then. Thanks for your contributions so far. Looking forward to seeing what you do in 2024. |
I understand. I will do my best to contribute more next year! |
Hey @sanao1006 , were you able to get any further with this? No problem if you couldn't, I just don't want to start working on it if you have something that's almost ready for review. |
Hi @nikclayton |
Sure, that's great. And congratulations on the new job. |
Describe the bug
The "Filter notifications" dialog doesn't clarify whether a checked box means that the notification will be shown or hidden.
Add a line of explanatory text underneath the dialog title, something like "Checked items are shown, unchecked items are hidden".
Versions
2.0.0
The text was updated successfully, but these errors were encountered: