Skip to content
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

Request: support Android 11 (R - API 31) #4

Open
AndroidDeveloperLB opened this issue Nov 28, 2020 · 1 comment
Open

Request: support Android 11 (R - API 31) #4

AndroidDeveloperLB opened this issue Nov 28, 2020 · 1 comment

Comments

@AndroidDeveloperLB
Copy link

Sadly on Android R, you can't set a custom View for a Toast (when targeting API 31) :

https://developer.android.com/reference/android/widget/Toast#setView(android.view.View)
https://developer.android.com/reference/android/widget/Toast#getView()

Please offer something that mimics the standard Toast's look&feel, so that at least we could have it shown within the app, as a normal View.
Maybe something similar to what we have when we long press the action items on the toolbar:

dfu6CwFaPM.zip

Custom Toasts are useful anyway usually only when the user is inside the app...

@hatamiarash7
Copy link
Owner

Yes. Unfortunately, this project has not been updated for a long time.
I have to look at the code as soon as possible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants