摘要: 下面代码实现的是登陆,一点XML配置都没有.看起来显然没有之前的使用XML配置例子清晰./****/packagecom.birds.android.login;importandroid.app.Activity;importandroid.app.AlertDialog;importandroid.app.AlertDialog.Builder;importandroid.content.Di... 阅读全文
posted @ 2010-06-21 11:21 looky 阅读(1696) 评论(0) 推荐(0) 编辑
摘要: 下面代码实现的是 登陆 ,一点XML 配置都没有.看起来显然没有之前的使用XML配置 例子清晰./** * */package com.birds.android.login;import android.app.Activity;import android.app.AlertDialog;import android.app.AlertDialog.Builder;import androi... 阅读全文
posted @ 2010-06-21 11:21 looky 阅读(188) 评论(0) 推荐(0) 编辑
摘要: .setInputType(0x81) //EditText变为密码状态。.setInputType(0x90) //EditText变为非密码状态。 阅读全文
posted @ 2010-06-21 11:14 looky 阅读(114) 评论(0) 推荐(0) 编辑
摘要: .setInputType(0x81)//EditText变为密码状态。.setInputType(0x90)//EditText变为非密码状态。 阅读全文
posted @ 2010-06-21 11:14 looky 阅读(626) 评论(0) 推荐(0) 编辑
摘要: //Remove title bar this.requestWindowFeature(Window.FEATURE_NO_TITLE); //Remove notification bar this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_... 阅读全文
posted @ 2010-06-21 10:50 looky 阅读(98) 评论(0) 推荐(0) 编辑
摘要: //Removetitlebarthis.requestWindowFeature(Window.FEATURE_NO_TITLE);//Removenotificationbarthis.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREE... 阅读全文
posted @ 2010-06-21 10:50 looky 阅读(199) 评论(0) 推荐(0) 编辑