问题标签 [customdialog]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
android - Android - 对话框中的条目应在对话框关闭时删除
我有一个带有输入字段的 customDialog。我希望在关闭对话框后(通过返回或按下某个按钮)删除可能的条目,即不应保存状态。
我怎样才能做到这一点?
android - 如何从自定义对话框获取值到android应用程序中的主要活动
在我的活动中,当用户单击文本视图时,会打开一个自定义对话框。在这里,我设置了一些选轮器。用户在滚轮选择器中设置的值在自定义对话框中显示为标题。当用户单击“确定”按钮时,对话框关闭,我希望该标题文本显示在我的主要活动的文本视图中。
我知道我们可以在我们的活动类中设置初始化一个变量并在对话框中设置它的值,没什么特别的。但我已将自定义对话框编写为单独的类文件,如下所示
如何从该类中获取价值到我的主要活动类...
installshield - 在 InstallScript 中禁用“下一步”按钮
使用 InstallShield - InstallScript 项目:
我制作了一个用于浏览文件的自定义对话框。
在对话框初始化时,我想禁用“下一步”按钮。
我成功禁用了此对话框上的其他按钮,但安装向导的任何按钮除外:取消、下一步和返回。
我使用了函数 _WinSubEnableControl 或 EnableWindow。
iphone - iOS 自定义对话框
我正在开发一个 iPhone 应用程序,在该应用程序中我试图创建一张卡片,该卡片将显示在视图顶部,当触摸事件发生在其边界之外时,卡片需要关闭。最好的方法是什么。该卡片将有一个自定义背景图像、一个UIWebview
(包含一个问题)和 2 个按钮 - 是和否。
任何建议都受到高度赞赏。提前致谢。
android - 如何在 Android Dialog 中居中布局?
我正在尝试创建一个自定义对话框,并将其内容居中,但它总是以左对齐结束。这是aboutdialog.xml:
还有我的(相关)代码:
我在这里想念什么?感谢您的帮助。
图片:
blackberry - 如何在此自定义对话框上设置按钮的操作?
我制作了一个自定义对话框,如下所示:
如何设置“查看按钮”和“取消按钮”的操作?我搜索并没有找到我必须做的事情。请帮我 !
android - 自定义警报对话框边框
我正在创建一个自定义对话框。它的示例代码是:
问题是当显示对话框时,它具有本机对话框的灰色背景,其一些顶部和底部边框也显示在我的自定义对话框中。有没有办法只显示我的自定义对话框视图......???
我使用的 XML 是:
android - getview 方法上的 Onitemclick 侦听器
我正在尝试实现打开一个自定义对话框,其中包含适配器列表中的相关信息。在这里我使用 onclicklistener,它工作正常我得到自定义对话框,我的问题是我没有得到正确的信息。如果我单击对话框中列表中的任何项目,它会显示最后一个项目的详细信息。
在生成列表时,它会显示 logcat 中的位置。但是当我试图点击细节文本视图时,它会占据最后一个项目的位置。
android - Listview and dialog in android
I have a small custom dialog in wich I have a ListView with id:list. I want to populate it with strings I have in my resources (R.array.tones), but I have really big problems making this work, have tried many different solutions this is the latest which I think would work but it throws an null pointer exception on the toneList.
My class is just extending Activity not ListActivity, and I would like to have it that way otherwise I must create a new class just for the listview. I apologize for the long code, I'm new here and hasn't really figured out all functionality yet.
android - 无法在 Android 中实现自定义对话框的代码
我想在 Android 中实现自定义对话框。但是,当我自己尝试时,我无法运行我的代码。
我在 Eclipse 中的这些语句中遇到错误:
1)Button button1main = (Button) findViewById(R.id.*btn1*);
2)TextView text = (TextView) dialog.findViewById(R.id.*txt3*);
我的安卓代码是:
这是我的xml:front.xml
主对话框.xml
在删除上述语句中的那些红线错误之前,我无法在 Eclipse 中运行我的代码。有人可以帮助我吗?
谢谢