autojs遍历当前页面所有控件_移动端控件(一)-弹窗(Alert/Dialog)

autojs遍历当前页面所有控件_移动端控件(一)-弹窗(Alert/Dialog)_第1张图片

什么是弹窗?

(注:本文所说的“弹窗”仅指Alert 和 Dialog,不包含Actionbar、Toast、Snackbar、Popover)

官方解释:

Dialogs inform users about a task and can contain critical information, require decisions, or involve multiple tasks. —— https:// material.io/components/ dialogs/# Alerts convey important information related to the state of your app or the device, and often request feedback. An alert consists of a title, an optional message, one or more buttons, and optional text fields for gathering input. Aside from these configurable elements, the visual appearance of an alert is static and can’t be customized. —— iOS Human Interface Guidelines

你可能感兴趣的:(layer,关闭一个弹窗打不开新的的弹窗)