import android.app.Activity;import android.app.AlertDialog;import android.app.Dialog;import android.content.DialogInterface;import android.os.Bundle;i...
分类:
其他好文 时间:
2014-07-07 15:18:20
阅读次数:
237
之前自定义了一个AlertDialog对话框,第一次点击时正常,但第二次调用时会出现错误:java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
关于这个错误纠结了我...
分类:
移动开发 时间:
2014-06-28 07:28:39
阅读次数:
278
第二篇只是学了加载用datagrid加载数据,数据的增删改还没有做,今天主要是解决这个问题了。在做增删改前需要弹出对应窗口,这就需要了解一下EasyUi的弹窗控件。摘自:http://philoo.cnblogs.com/ 我的理解,就是panel有的属性Window、dialog都有,同时保留自己...
分类:
Web程序 时间:
2014-06-27 20:05:54
阅读次数:
307
1.Modal:打开:presentViewController关闭:dismissViewController2.Push:需搭配NavigationController使用,采用压栈和出栈的方式打开:pushViewController关闭:popViewController3.Segue:以上...
分类:
其他好文 时间:
2014-06-27 13:57:24
阅读次数:
161
添加了一个Dialog资源,修改了ID之后右击资源添加了一个类,在类里面有一个成员变量:// 对话框数据 enum { IDD = IDD_GETIN };而在编译过程中出现报错,错误代号是error C2065 : 未声明的标识符,我的第一反应是为什么我没通过手动添加资源而是通过VS添加都会出现这...
分类:
其他好文 时间:
2014-06-25 20:45:45
阅读次数:
223
真机测试时个别机型toast信息不显示,找到两个解决方案,不知还有什么其它有效方法,期待大神们的分享!!!
1、手动方案:设置——>应用软件管理——>对应APP——>勾选显示通知框
2、替代方案:避免toast被拦截,可以考虑用alert dialog来显示需要的信息
public static void forceUpdate()
{
Log.i(TAG, "forceUpdate"...
分类:
其他好文 时间:
2014-06-24 18:10:12
阅读次数:
211
Builder类中还有一个SetView()方法:可以在对话框中添加组件builder.setView(newCheckBox(this));//添加CheckBoxBuilder.setMultiChoiceItems(String[]arg0,Boolean[]arg1,OnMultiChoiceClickListenerarg3)//添加复选框的方法Builder.setSingleChoiceItems(String[]arg0,intarg..
分类:
移动开发 时间:
2014-06-24 16:13:14
阅读次数:
286
###How to qulick start Like virtual memory,before closing system,win8 write kernel dialog to a file named hiberfil.sys so ,it just write hiberfil.sy.....
android:theme="@android:style/Theme.Dialog" 将一个Activity显示为能话框模式
android:theme="@android:style/Theme.NoTitleBar" 不显示应用程序标题栏
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" 不显示应用程序标题栏,并全屏
and...
分类:
移动开发 时间:
2014-06-22 21:48:57
阅读次数:
248
使用场景:关闭window的时候增加监听事件。
正确的使用方式:
addwin = new Ext.Window({
title : '新增',
closable : true,
width : 500,
autoHeight: true,
border : false,
plain : true,
modal : true,
layout : 'fit',
bo...
分类:
Windows程序 时间:
2014-06-22 19:07:56
阅读次数:
1013