Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
如何禁用 AlertDialog 内的按钮?
我正在尝试写一个AlertDialog有 3 个按钮 如果不满足特定条件 我希望禁用中间的中性按钮 Code int playerint settings getPlayerInt int monsterint settings getMo
Java
Android
androidalertdialog
ClassCastException
Flutter - 自动调整 AlertDialog 大小以适合列表内容
我需要从休息网络服务动态加载列表城市 并让用户从警报对话框中选择一个城市 我的代码 createDialog fetchCities then response showDialog context context builder Buil
flutter
ListView
flutterlayout
size
androidalertdialog
在 Android 中每天首次启动应用程序时显示警报
我正在开发 Android 应用程序 其中我遇到了一个问题 我想做的是 当用户一天中第一次启动该应用程序时 我想向他显示一些警报 当他在同一天第二次打开应用程序时 它不会收到警报 他只会在当天首次启动应用程序时收到警报 第二天 如果他再次第
Android
androidactivity
androidalertdialog
AlertDialog 中的 Android EditText 似乎太宽
下图中的 EditText 似乎太宽了 我假设我以某种方式滥用了 SDK 除非确信 否则我不会寻找一种方法来指定边缘 填充像素的数量EditText 这个看起来比较合适 这是我的代码 创建第一个 创建标签 对话框 final Dao
Android
androidedittext
width
androidalertdialog
Android:AlertDialog - 用户单击其他地方[重复]
这个问题在这里已经有答案了 我有一个Alert dialog有 2 个按钮 是 否 如果用户点击yes or no警报对话框表现正常并进入点击方法 但是如果用户单击或触摸警报对话框之外的某个地方 它就会消失 并且不会发生任何事情 有什么方法
Android
androidalertdialog
Android 警报对话框中的 EditText
我有一种在片段中创建警报对话框的方法 private void alertDialog final EditText editTextField new EditText this getContext AlertDialog dialog
Android
androidalertdialog
警报对话框背景颜色
我正在使用具有自定义布局的 AlertDialog 布局中TextView的颜色为黑色 因此在Android 4 0上使用Holo Light打开对话框时 文本是可见的 但是 如果您在 Android 2 2 中打开该对话框 由于灰色背景
Android
androidalertdialog
自定义样式的 AlertDialog 的样式属性
我正在尝试设计我的 AlertDialog 的样式 并且我已经能够通过样式和 xml 声明更改其中的大部分内容 但仍然存在一些问题 如何将标题栏周围的区域从黑色更改为我的自定义颜色 如何将外部背景更改为透明 阴影落在蓝色的外部部分 如何更改
Android
androidlayout
Dialog
styles
androidalertdialog
如何设置AlertDialog中正负按钮的顺序?
为什么我要这样做完全是另一个讨论 但我需要找出使我的所有警报对话框在右侧都有肯定按钮的最佳方法 请注意 在 3 0 及更低版本中 按钮通常显示为 确定 取消 而在 4 0 及更高版本中 按钮通常显示为 取消 确定 我想强制我的应用程序以最简
Android
androidalertdialog
在 AlertDialog 中设置单选按钮和文本的样式
I want to show a radio list inside an AlertDialog with custom styling something like 因此 我创建了一个自定义主题并将其作为参数提供给 AlertDialo
Android
androidalertdialog
androidtheme
androidstyles
具有自定义行布局的多选警报对话框
我需要创建一个包含多个选择项的 AlertDialog 但在尝试将自定义布局文件设置到内部 ListView 时遇到一些麻烦 对于单选项 我使用一个以 ListAdapter 作为参数的构造函数 这样我可以为每行设置正确的布局资源 buil
Android
Adapter
androidalertdialog
multiplechoice
如何使用MaterialAlertDialogBuilder精细?
当我使用dialog builder时 字体大小是正确的 但是当我使用MaterialAlertDialogBu ilder时 正文文本的字体大小较小 没关系 implementation com google android materi
Android
androidalertdialog
materialcomponentsandroid
materialcomponents
Android 警报对话框 - 如何在按下“确定”按钮后隐藏它
我一直在开发 Android 应用程序 我想在用户按下 确定 按钮后隐藏它 因为在进行计算时对话框窗口将在前台停留几秒钟 这是代码 new AlertDialog Builder this setMessage This may take
Android
androidalertdialog
AlertDialog 中的资源 ID #0x0
我添加一个AlertDialog在 kotlin 文件中 但出现异常 btnLogin setOnClickListener view gt login fun login val builder AlertDialog Builder t
Android
kotlin
Resources
androidalertdialog
AlertDialog 不显示列表上的分隔线
我有这门课 public class PageDetailInfoView extends FrameLayout few constructors and methods method to show an AlertDialog wit
Android
androidalertdialog
如何在android的非活动类中实现类似“完成”的功能?
此对话框询问您是否要安装其他应用程序 因此 当单击无按钮时 它必须返回到上一个屏幕 downloadDialog setNegativeButton stringButtonNo new DialogInterface OnClickLis
Android
androidalertdialog
activityfinish
Android 在 AlertDialog 中等待用户输入以继续
我看到这里讨论了这个主题 但似乎不明白如何继续 In my onCreate我有代码检查它是否是应用程序的第一次运行firstRun getPref getBoolean firstRun true 如果是第一次运行该应用程序 则会显示一个
Android
wait
androidalertdialog
在 Jetpack Compose 中显示自定义警报对话框
我正在搜索如何在 Jetpack Compose 中创建自定义对话框 在 XML 或 Material Design 中 我们可以轻松创建自定义对话框 在其中我们可以接受用户输入 单选按钮等 但我在 Jetpack Compose 中没有找
从 Firebase 数据库获取的数据显示在 3 个单独的警报对话框中,而不是一个
我正在从中获取一些数据FirebaseDatabase然后将它们放入array然后尝试以List这是一个习惯AlertDialog 这是代码 query mDatabase child child child anotherChild ch
AlertDialog 样式 - 如何更改标题、消息等的样式(颜色)
我已经为这件事伤透了脑筋 我需要做的是 改变所有的风格AlertDialog在我的 Android 应用程序中 对话框背景需要是白色的 文本需要是黑色的 我尝试创建很多样式 主题 并从代码 清单等中应用 但就文本颜色而言没有成功AlertD
Android
androidalertdialog
androidtheme
androidstyles
«
1
2
3
4
5
6
7
»