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
【边做项目边学Android】知识点:Android控件系列之ProgressDialog与ProgressBar
ProgressDialog是继承自Android.app.
AlertDialog
所设计的互动对话窗口,使用时,必须新建ProgressDialog对象,在运行时会弹出“对话框”作为提醒,此时应用程序后台失去焦点
bruce_6
·
2014-10-30 10:00
android
ProgressBar
ProgressDialog
AlertDialog
修改文本内容的颜色
最近遇到一个问题在联想A858T白色手机上测试如下
AlertDialog
时,
AlertDialog
背景默认为白色,title、message为黑色,但是CheckBox的Text却为白色。
moyuxueyi
·
2014-10-29 10:00
AlertDialog
ColorStateList
AlertController
ProgressDialog的简单使用
ProgressDialog 继承自
AlertDialog
,
AlertDialog
继承自Dialog,实现DialogInterface接口。ProgressDi
HarryWeasley
·
2014-10-29 09:00
AlertDialog
自定义样式
AlertDialog
.Builderbuilder=newAlertDialog.Builder(newContextThemeWrapper(this,R.style.AlertDialogCustom
xhl86xhl
·
2014-10-25 16:00
UI
android
AlertDialog
android 更换皮肤项目
packagewang.sc;importandroid.app.Activity;importandroid.app.
AlertDialog
;importandroid.app.
AlertDialog
.Builder
墨镜猫
·
2014-10-23 13:00
android
exception
Random
Class
dialog
button
Android中的GPS和退出应用程序的提示框
2.逻辑代码部分packagexss.gps3;importandroid.app.Activity;importandroid.app.
AlertDialog
ixsai
·
2014-10-22 21:00
仿IOS7的两种对话框
之前做过ios7的滑动按钮http://www.eoeandroid.com/thread-331542-1-1.html这次再仿一下ios7的两种对话框,QQ也是做的和ios7一样的,底部菜单列表和
AlertDialog
xiechengfa
·
2014-10-22 11:00
MLDN魔乐科技ANDROID学习笔记之【对话框】——13种对话框的实例
2多种操作按钮编辑main.xml文件代码如下编辑.java文件如下packageorg.lxh.demo;importandroid.app.Activity;importandroid.app.
AlertDialog
u013087513
·
2014-10-20 17:00
Android的context 和 getApplicationContext()
阅读更多在android中常常会遇到与context有关的内容浅论一下context:在语句
AlertDialog
.Builderbuilder=newAlertDialog.Builder(this)
abc123456789cba
·
2014-10-19 14:00
Android
context
Android的context 和 getApplicationContext()
在android中常常会遇到与context有关的内容 浅论一下context : 在语句
AlertDialog
.Builder builder = new
AlertDialog
.Builder(
abc123456789cba
·
2014-10-19 14:00
android
context
Android的context 和 getApplicationContext()
阅读更多在android中常常会遇到与context有关的内容浅论一下context:在语句
AlertDialog
.Builderbuilder=newAlertDialog.Builder(this)
abc123456789cba
·
2014-10-19 14:00
Android
context
【Exception】 java.lang.NoSuchMethodError: android.app.
AlertDialog
$Builder.setOnDismissListener
newAlertDialog.Builder(getActivity(),R.style.Theme.Sherlock.Dialog);elsebuilder=newAlertDialog.Builder(getActivity());
AlertDialog
.Builderbuilder
ZaneYoung
·
2014-10-14 23:00
Android实现登录对话框
dialog.xml用于设置DialogViewActivitypackagecom.study.android; importandroid.app.Activity;importandroid.app.
AlertDialog
coco510
·
2014-10-13 14:00
Unable to add window -- token null is not for an application
:Unabletoaddwindow--tokennullisnotforanapplication[java] viewplaincopyAlertDialog.Builder builder;
AlertDialog
j236027367
·
2014-10-09 16:00
Android开发学习笔记-显示对话框
private void ShowUpdateDialog() { Log.i("version", "shengji");
AlertDialog
.Builder
·
2014-10-06 23:00
Android开发
Android checkbox和radiobutton 以及Toast和
AlertDialog
的使用
packagecom.example.radiobutton_01; importandroid.app.Activity; importandroid.os.Bundle; importandroid.view.View; importandroid.widget.Button; importandroid.widget.RadioButton; importandroid.widget.Ra
haifengzhilian
·
2014-10-04 10:00
【边做项目边学Android】知识点:Android控件系列之对话框
AlertDialog
.Builder
我们在平时做开发的时候,免不了会用到各种各样的对话框,相信有过其他平台开发经验的朋友都会知道,大部分的平台都只提供了几个最简单的实现,如果我们想实现自己特定需求的对话框,大家可能首先会想到,通过继承等方式,重写我们自己的对话框。当然,这也是不失为一个不错的解决方式,但是一般的情况却是这样,我们重写的对话框,也许只在一个特定的地方会用到,为了这一次的使用,而去创建一个新类,往往有点杀鸡用牛刀的感觉,
bruce_6
·
2014-09-28 14:00
android
控件
android项目Java文件找界面元素findViewById(R.id.*);
两个视图,一个MainActivity,一个
AlertDialog
,分别对应着main
麦田的设计者
·
2014-09-28 10:00
多个xml
Android基础学习(12)-数据的保存
1、FileExplorer-文件浏览器2、SharePreferences数据处理context和getApplicationContext():浅论一下context:在语句
AlertDialog
.Builderbuilder
AlanCooper
·
2014-09-27 21:00
Android基础学习
数据的保存
android 自定义Dialog背景透明及显示位置设置
先贴一下显示效果图,仅作参考: 代码如下: 1、自定义Dialog public class SelectDialog extends
AlertDialog
{public SelectDialog(
gybin
·
2014-09-26 15:00
android
阻止
alertDialog
自动关闭
android开发中,
AlertDialog
使用相当频繁,基本是必须使用的。
dalancon
·
2014-09-26 13:55
Android
阻止
alertDialog
自动关闭
android开发中,
AlertDialog
使用相当频繁,基本是必须使用的。
dalancon
·
2014-09-26 13:00
android
AlertDialog
设置点击button不退出
转载于http://blog.csdn.net/csh159/article/details/8127280 使用的是java里面的反射机制: dialog = new
AlertDialog
.Builder
·
2014-09-26 09:00
AlertDialog
Android开发-- 简单对话框
1 final Builder builder = new
AlertDialog
.Builder(this); 2 builder.setIcon(R.drawable.appicns_folder_smart
·
2014-09-25 17:00
Android开发
android动画效果
阅读更多前几天弄
alertdialog
和popupwindow的时候,用到了android的动画效果,今天专门研究了一下关于android的动画效果,列出来,方便以后使用。
不懂事的小屁孩
·
2014-09-24 18:00
android动画
android动画效果
前几天弄
alertdialog
和popupwindow的时候,用到了android的动画效果,今天专门研究了一下关于android的动画效果,列出来,方便以后使用。
不懂事的小屁孩
·
2014-09-24 18:00
android动画
Service里面启动Activity和
Alertdialog
启动Activity源码:(记得要加上Intent.FLAG_ACTIVITY_NEW_TASK) Intent intent = new Intent(); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); intent.setClass(getApplicationContext(),FileBrowserActivity.class);
·
2014-09-24 15:00
AlertDialog
Android 弹出对话框Dialog
Dialog01Activity.java001packageRw.Dialog;002 003importandroid.app.Activity;004importandroid.app.
AlertDialog
猪刚烈
·
2014-09-24 14:00
android
显示电池电量
1.BatteryBroardCastReceiverpackagecom.example.batterydemo; importandroid.app.
AlertDialog
; importandroid.app.Dialog
kouwoo
·
2014-09-23 11:00
android
Android产生一个提示框
可以使用
AlertDialog
.Builder才产生一个提示框首先最简单的是弹出一个消息框:new
AlertDialog
.Builder(self) .setTitle
pangfc
·
2014-09-21 22:35
Android
提示框
Android
Android产生一个提示框
可以使用
AlertDialog
.Builder才产生一个提示框首先最简单的是弹出一个消息框:new
AlertDialog
.Builder(self) .setTitle
pangfc
·
2014-09-21 22:35
android
提示框
Android实现“退出确认”对话框
@Override public void onBackPressed() { new
AlertDialog
.Builder(this).setTitle("确认退出吗?")
伽罗kapple
·
2014-09-19 22:00
android学习—— context 和 getApplicationContext()
在android中常常会遇到与context有关的内容浅论一下context:在语句
AlertDialog
.Builderbuilder=newAlertDialog.Builder(this);中,要求传递的参数就是一个
MMjiajia132
·
2014-09-18 17:00
Android手电筒案例
//Activity.xml package com.fq.flashlight; import android.app.Activity; import android.app.
AlertDialog
blue_ocean
·
2014-09-18 17:02
android
案例
手电筒
AlertDialog
和PopupWindow
区别:
AlertDialog
是非阻塞式对话框:
AlertDialog
弹出时,后台还可以做事情;而PopupWindow是阻塞式对话框:PopupWindow弹出时,程序会等待,在PopupWindow退出前
不懂事的小屁孩
·
2014-09-18 15:00
PopupWindow
AlertDialog
和PopupWindow
阅读更多区别:
AlertDialog
是非阻塞式对话框:
AlertDialog
弹出时,后台还可以做事情;而PopupWindow是阻塞式对话框:PopupWindow弹出时,程序会等待,在PopupWindow
不懂事的小屁孩
·
2014-09-18 15:00
自定义
AlertDialog
要使弹出框不是android系统自带的,可以自定义
AlertDialog
。
Picasso_L
·
2014-09-18 14:00
android
自定义
控件
AlertDialog
android学习任务
任务 完成情况 搞清楚带箭头的pupupwindows和不带的使用 已完成 熟练使用pupupwindows和
alertdialog
,并搞清楚两者的区别 已完成 熟练使用android的线程
不懂事的小屁孩
·
2014-09-17 16:00
工作
Android 五种不同样式Toast
废话不多说,直接上代码:packagecom.otn.android.toast;importandroid.app.Activity;importandroid.app.
AlertDialog
;importandroid.os.Bundle
失眠的考拉
·
2014-09-16 16:56
android
自定义Toast
Android 五种不同样式Toast
废话不多说,直接上代码:packagecom.otn.android.toast;importandroid.app.Activity;importandroid.app.
AlertDialog
;importandroid.os.Bundle
失眠的考拉
·
2014-09-16 16:56
Android
自定义Toast
Android 自定义
AlertDialog
对话框
系统默认的
AlertDialog
,与项目的UI不统一,所以,改了一下,定义了一样式,最终效果如下图:另外,为了尽量少改原来的代码,该类类名及相关方法名都与android.app.
AlertDialog
相同
墨梅
·
2014-09-10 14:00
从一个应用打开另一个应用
getLaunchIntentForPackage(“应用包名”); if(intent==null){
AlertDialog
.Bu
风流情不留
·
2014-09-09 17:00
应用
Android进阶之
AlertDialog
自定义
AlertDialog
的自定义方式有很多种,这里介绍两种。 第一种是比较简单的,只自定义内容。在
AlertDialog
使用详解中,非常详细的介绍了以下六种使用方法。
jason0539
·
2014-09-07 17:00
Android进阶之
AlertDialog
自定义
AlertDialog
的自定义方式有很多种,这里介绍两种。第一种是比较简单的,只自定义内容。在
AlertDialog
使用详解中,非常详细的介绍了以下六种使用方法。
炸斯特
·
2014-09-07 17:00
Android进阶
Unable to add window -- token null is not for an application
BadTokenException:Unabletoaddwindow--tokennullisnotforanapplication分析:问题在于newAlertDialog.Builder(Context),虽然这里的参数是
AlertDialog
.Builder
年少的风
·
2014-08-30 10:55
window
null
Android Develop Tricks—1
AndroidDevelopTricks设置
AlertDialog
的大小:AlertDialogdialog=builder.setTitle("消息列表") .setView(layout) .create
x359981514
·
2014-08-28 20:00
Android开发
Trick
Android学习笔记-Lesson 4: Favorite Twitter Searches Ap
Context.INPUT_METHOD_SERVICE)) // have a input manager object .hideSoftInputFromWindow(tagEditText.getWindowToken(),0);2、
AlertDialog
勤奋的桑尼
·
2014-08-28 15:00
android
ListView
inputmethod
AlertDialog
赵雅智_名片夹(6)_仿微信底导航栏
Acyivity代码:packagecom.cards.activity; importandroid.app.ActivityManager; importandroid.app.
AlertDialog
zhaoyazhi2129
·
2014-08-25 10:00
android 自定义menu菜单样式
dialogimportjava.util.ArrayList;importjava.util.HashMap;importandroid.app.Activity;importandroid.app.
AlertDialog
rvncds
·
2014-08-22 15:36
android
自定义menu
(Android review)dialog的使用
一、基本知识点常见的dialog基本代码:
AlertDialog
.Builderbuilder=newAlertDialog.Builder(this);AlertDialogdialog=builder.create
caihongshijie6
·
2014-08-21 21:00
上一页
52
53
54
55
56
57
58
59
下一页
按字母分类:
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
其他