E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
alertdialog
对话框集合
选择对话框//选择对话框 publicvoidclick1(Viewview){ //Builder是对话框的创建器
AlertDialog
.Builderbuilder=newBuilder(this
chenruibing
·
2015-05-26 14:00
Android对话框使用详解(一)
Android应用主要有4种类型对话框,分别为
AlertDialog
、ProgressDialog、DataPickerDialog、TimePickerDialog,其中后三种都是继承于
AlertDialog
u012637501
·
2015-05-26 08:00
android
UI
界面
Android官方推荐使用DialogFragment替换
AlertDialog
DialogFragment是在Android3.0(APIlevel11)中引入的,它代替了已经不建议使用的
AlertDialog
。
u010687392
·
2015-05-25 18:00
对话框
DialogFragment
AlertDialog
Android3.0
android
AlertDialog
描述:一个可以处理0个、1个、2个或3个按钮,和/或一组包含复选框或单选按钮等可以选择的项。
AlertDialog
足够胜任创建和用户交互的大部分对话框,并且它
水之心05
·
2015-05-25 17:00
android:theme决定
AlertDialog
的背景颜色
最近遇到一个很奇怪的问题,两个项目弹出的dialog背景颜色不一样,一个是黑色的,一个是白色的,最后发现是AndroidManifest.xml文件里面application指定的android:theme设置的样式不一样。黑色dialog背景效果图:dialog是黑色的时候application指定的样式如下: true 白色背景如图:dialog是白色背景的时候application指定的
lowprofile_coding
·
2015-05-23 20:00
application
dialog
Android样式
Android 退出
导入:importandroid.content.DialogInterface;importandroid.app.
AlertDialog
; ......newAlertDialog.Builder(
40岁的青春
·
2015-05-22 17:00
Android 圆角图片
Android圆角图片importandroid.app.Activity;importandroid.app.
AlertDialog
;importandroid.content.BroadcastReceiver
menglele1314
·
2015-05-21 09:00
android
bitmap
图片
imageview
位图
android设备信息获取
android设备信息获取权限:importandroid.app.Activity; importandroid.app.
AlertDialog
; importandroid.content.BroadcastReceiver
menglele1314
·
2015-05-21 09:00
apk
android
Android开发
文档
Android DialogFragment对话框
写在前面从事Android开发至今,一提及Android开发中使用的对话框就想起
AlertDialog
或者PopupWindow,我在上一篇博客中也总结了这两种对话框的使用大全,有兴趣的可靠looklookAndroid
feidu804677682
·
2015-05-20 15:00
dialog
Fragment
对话框
Android
AlertDialog
对话框回调
封装的Dialog对话框,有时候需要获取选项这时候就用到了函数的回调package com.example.testlistq; import android.app.
AlertDialog
; import
671076656
·
2015-05-19 16:52
android
dialog
回调
Android
AlertDialog
对话框回调
封装的Dialog对话框,有时候需要获取选项这时候就用到了函数的回调package com.example.testlistq; import android.app.
AlertDialog
; import
671076656
·
2015-05-19 16:52
android
dialog
回调
Android
AlertDialog
对话框回调
封装的Dialog对话框,有时候需要获取选项这时候就用到了函数的回调package com.example.testlistq;import android.app.
AlertDialog
;import
671076656
·
2015-05-19 16:52
回调
android
dialog
android开发
Android 对话框
AlertDialog
,PopupWindow使用大全
对话框种类1.
AlertDialog
(Dialog)系统对话框。2.Popupwindow弹出式对话框。对话框区别1.
AlertDialog
非阻塞式对话框:对话框的显示不影响后台任务的执行。
feidu804677682
·
2015-05-19 11:00
dialog
pw
android 注册页面实现
注册页面的实现:importandroid.os.Bundle;importandroid.app.Activity;importandroid.app.
AlertDialog
;importandroid.content.Intent
*且听风吟
·
2015-05-17 11:40
Android
android之PopupWindow详解一
Android对话框Android的对话框有两种:PopupWindow和
AlertDialog
。
u010933680
·
2015-05-16 12:00
AlertDialog
自定义布局
AlertDialog
自定义布局activity调用privatevoidshowAlertDialog(){ finalAlertDialogUtildialog=newAlertDialogUtil
menglele1314
·
2015-05-14 11:00
android
Android开发
布局
界面
AlertDialog
Android开发秘籍学习笔记(四)
关于Toast和
AlertDialog
的学习Toast的使用: Toast警报仅用一行代码就可以在屏幕上产生一条输出消息,而且不需要修改布局文件。
cuihaoren01
·
2015-05-13 18:00
toast
AlertDialog
Android之VideoView窗口/全屏播放
packagecom.FJICC.lzm;importandroid.app.Activity;importandroid.app.
AlertDialog
;importandroid.app.Dialog
u011240877
·
2015-05-09 13:00
android
视频
Android实现自定义
AlertDialog
的自下向上的动画效果(并消除dialog边框)
话不多说,直接上代码:
AlertDialog
.Builderbuilder=newBuilder(HomeActivity.this); Viewview=View.inflate(HomeActivity.this
u011240877
·
2015-05-09 02:00
android
动画
自定义
AlertDialog
(圆角+退出动画+自定义布局)
首先看activity_main.xml MainActivity.javapackagecom.godinsec.
alertdialog
; importcom.godinsec.
alertdialog
.ShowDeleDialog.onBtnClickListener
u013210620
·
2015-05-09 01:00
自定义
圆角
AlertDialog
动
Android消息提示:
AlertDialog
、Toast、Notification的使用
主要介绍Android常用于消息提示的组件:
ALertDialog
、Toast、Notification的使用场景以及它们的基本用法,探讨一些高级主题,最后总结一些开发过程中常见的问题。
qwm8777411
·
2015-05-08 21:00
android
notification
消息
ProgressDialog使用总结
ProgressDialog的使用 ProgressDialog继承自
AlertDialog
,
AlertDialog
继承自Dialog,实现DialogInterface接口。
yolinfeng
·
2015-05-08 18:00
android
ProgressDialog
android小项目demo2
packagecn.thewee.gourmetmeal.staff;importjava.util.Timer;importjava.util.TimerTask;importandroid.app.
AlertDialog
易水寒521
·
2015-05-08 15:00
android小项目
LoginActivity:packagecn.thewee.gourmetmeal.staff;importjava.util.HashMap;importandroid.app.
AlertDialog
易水寒521
·
2015-05-08 15:00
笔记107--
AlertDialog
和EditText、Activity和EditText、点击空白处隐藏键盘
1、
AlertDialog
中EditText不能弹出输入法
alertDialog
.getWindow()clearFlags(WidnowManager.LayoutParams.FLAG_ALIFOCUSABLE_IM
caohuicong
·
2015-05-08 14:00
android对话框代码中设置背景为透明
//创建背景透明的对话框
AlertDialog
.THEME_HOLO_LIGHT
AlertDialog
.Builderb=newAlertDialog.Builder(myContext.getApplicationContext
lizhenmingdirk
·
2015-05-04 17:00
背景
dialog
透明
对话框
笔记107--去除自定义
AlertDialog
黑边
1、现象描述View_view=LayoutInflater.from(getActivity()).inflate(R.layout.
alertdialog
_schoolcourse,null);
AlertDialog
_ad
caohuicong
·
2015-05-04 16:00
Android常用实例—Alert Dialog的使用
Android常用实例—
AlertDialog
的使用
AlertDialog
的使用很普遍,在应用中当你想要用户做出“是”或“否”或者其它各式各样的选择时,为了保持在同样的Activity和不改变用户屏幕,
qwm8777411
·
2015-05-01 17:00
android
实例
AlertDialo
android文件管理
importjava.util.ArrayList;importandroid.net.Uri;importandroid.os.Bundle;importandroid.app.Activity;importandroid.app.
AlertDialog
易水寒521
·
2015-04-30 16:00
好看的 自定义
AlertDialog
dialog的资源文件代码,在activity中这样调用:/***是否选择框*@paramparamInt*@paramparamQuestionList*/privatevoidlowVerDiolog(){
AlertDialog
.BuilderlocalBuilder
一个会玩SF的男人
·
2015-04-30 11:38
android
好看的 自定义
AlertDialog
的资源文件代码,在activity中这样调用:/***是否选择框*@paramparamInt*@paramparamQuestionList*/ privatevoidlowVerDiolog(){
AlertDialog
.BuilderlocalBuilder
zhang58246500
·
2015-04-30 11:00
AlertDialog
自定义效果
/***自定义
AlertDialog
*用于退出程序按钮**/publicclassAlertDialog{Contextcontext;android.app.AlertDialogad;TextViewtitleView
清甘茶
·
2015-04-30 03:22
自定义
AdlertDialog
android
AlertDialog
自定义效果
/** *自定义
AlertDialog
*用于退出程序按钮 **/publicclassAlertDialog{Contextcontext;android.app.AlertDialogad;TextViewtitleView
清甘茶
·
2015-04-30 03:22
自定义
AdlertDialog
AlertDialog
自定义样式
废话不多说了,只是做个笔记,以后忘了才可以查看下,我一般都不不去记这些方法的,知道了就好,要用的时候查下就可以了。关键性代码:/** *用户名或密码错误的弹窗 *网络状况不好的弹窗 */ publicvoidshow_login_error(Stringerr_text){ finalAlertDialogdlg=newAlertDialog.Builder(this).create(); dlg
蜀山下的鱼
·
2015-04-29 00:00
android
自定义
AlertDialog
AlertDialog
源码解析
按照惯例,先看类说明:[java] viewplaincopyA subclass of Dialog that can display one, two or three buttons. If you only want to display a String in this dialog box, use the setMessage() method. If you want to dis
ff313976
·
2015-04-27 15:00
自定义
AlertDialog
(仿微信)
安卓自定义
AlertDialog
,原理很简单:AlertDialogdialog=newAlertDialog.Builder(MainActivity.this).create(); dialog.show
baiyuliang2013
·
2015-04-24 10:00
AlertDialog
PopupWindow详解
Android的对话框有两种:PopupWindow和
AlertDialog
。
joyy001
·
2015-04-23 20:57
android
对话框
parent
PupupWindow
android 登陆界面
LoginActivity.java package com.example.ruian; import android.app.Activity; import android.app.
AlertDialog
·
2015-04-22 11:00
android
C# 使用Xamarin 开发应用 -- Alert Box
publicstaticclassAlertExtension { publicstaticvoidShowAlert(thisActivityactivity,stringmsg,stringtitle="",stringbtnText="OK"){
AlertDialog
.Builderbuilder
csharp25
·
2015-04-18 16:00
Android在Service中显示Dialog
例如:[java] viewplaincopyAlertDialog.Builder builder = new
AlertDialog
.Builder(mContext); builder.setTitle
等待流星
·
2015-04-18 11:00
android showAsDropDown的用法属性介绍
使用PopupWindow可实现弹出窗口效果,,其实和
AlertDialog
一样,也是一种对话框,两者也经常混用,但是也各有特点。下面就看看使用方法。
u011467537
·
2015-04-17 09:00
Android
AlertDialog
参考:http://stackoverflow.com/questions/8881710/how-to-reduce-
alertdialog
-builder-title-font-size-and-positive-button-sizeAlertDialog
当空皓月
·
2015-04-16 16:00
WebView缓存的应用案例
; importandroid.os.Handler; importandroid.os.Message; importandroid.app.Activity; importandroid.app.
AlertDialog
rnZuoZuo
·
2015-04-14 19:00
【Android开发】消息提示框与对话框-使用
AlertDialog
创建对话框
AlertDialog
类的功能十分强大,它不仅可以生成带按钮的提示对话框,还可以生成带列表的列表对话框,概括起来有一下4种:1.带确定、中立和取消等N个按钮的提示对话框,其中的按钮个数不是固定的,可以根据需要添加
u013517797
·
2015-04-12 13:00
android
builder
AlertDialog
安卓对话框
Android学习问题:关于
AlertDialog
中自定义布局带有的EditText无法弹出键盘
最近在用到
AlertDialog
的时候,自定义了其布局文件,其中带有EditText,但是发现在手机上使用的时候,点击EditText却没有弹出键盘,在网上搜索了下,看到有好几种解决方法,试过其中一些方法
lc013
·
2015-04-12 13:00
android
EditText
AlertDialg
弹出键盘问题
Android
AlertDialog
去除黑边白边自定义布局
LayoutInflater inflater = this.getLayoutInflater(); View view = inflater.inflate(R.layout.test_
alertdialog
_listview
·
2015-04-10 09:00
AlertDialog
AlertDialog
用法
AlertDialog
用法:Button deleteButton = (Button) programView.findViewById(R.id.notification_delete_button
lifj15
·
2015-04-09 09:00
书写全局 ProgressDialog
最近事情很多,很久没写了,给大家介绍一个知识点,全局的PorgressDialog实现的方式很普通,我就直接上代码了,至于效果图大家自己去演示:importandroid.app.
AlertDialog
u011993368
·
2015-04-08 16:00
Android开发
全局Progress
加载框
Android面试简录——对话框、信息提示和菜单
标准对话框——
AlertDialog
类。最多有3个按钮,显示方法:setButton(),setButton2(),setButton3()。
nancymi
·
2015-04-07 19:04
AlertDialog
弹窗在屏幕底部
监听按钮:R.id.imageView_saofeng:LayoutInflaterfactory=LayoutInflater.from(SmartACActivity.this);ViewmyView=factory.inflate(R.layout.select_windy_speed,null);myView.setPadding(10,10,10,30);Dialogdialog=new
u011195535
·
2015-04-03 08:00
AlertDialog
上一页
48
49
50
51
52
53
54
55
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他