Adjustable timing on Android
Everyone, including people with disabilities, should have adequate time to interact with your app. People with disabilities may require more time to interact with your app. If certain functions are time-dependent, it will be difficult for some users to finish in time. If content is shown for a limited time, users might not finish reading in time. It should be possible for users to increase time limits, or ideally, disable all time limits.
On Android, a Toast
is often used display temporary messages. The display duration might be too short for people to read or hear the message.
We recommend displaying messages by using an AlertDialog
or Snackbar
with the duration set to LENGTH_INDEFINITE
. Don't forget to add a close button.
Also check whether Executors
, Handler
or Timer
are used somewhere. If there are any time limits, make sure they can be extended.
val snackbar = Snackbar
.make(view, "Appt", Snackbar.LENGTH_INDEFINITE)
.setAction("Close") {
// Close
}
snackbar.show()