android - 这个 android 菜单 View 的名称是什么?

标签 android android-layout android-view

这个菜单 View 的名称是什么?我怎样才能制作一个像它一样的 View ?

enter image description here

最佳答案

这是 Dialog 的一个子类,叫做 AlertDialog

您可以按照官方文档自行创建: https://developer.android.com/reference/android/app/AlertDialog.html

另请查看“构建警报对话框”的示例 https://developer.android.com/guide/topics/ui/dialogs.html#AlertDialog

关于android - 这个 android 菜单 View 的名称是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48343062/

相关文章:

android - 如何强制 Android Studio 使用更新的 NDK 库进行构建,而无需清理和构建整个项目?

android - 覆盖SD卡android上的图像

android - 如何使用 drawable 兼容所有屏幕尺寸(idpi、mdpi、hdpi、xhdpi、xxhdpi)

android - 在 Android 中获取布局的宽度/高度

java - RecyclerView 中 View 的动态位置

android - 我可以在 Service.onStartCommand 中调用 stopSelf() 吗?

eclipse - 通过Eclipse连接手机调试时如何安全断开手机?

连续不同列宽的Android TableLayout

android - 更改设置为 ConstraintLayout 背景的 Nine-Patch 的颜色

Android:删除动态创建的字段