GrenderG / GrenderG/Toasty

Request: support Android 11 (R - API 31)

Open
#161 1 comment 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Java
Stars
6.6k
Forks
803
PR merge metrics
No merged PRs in 30d

Description

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](https://github.com/GrenderG/Toasty/files/5610631/dfu6CwFaPM.zip)

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.