会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
琳家小美
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2017年6月1日
QQ列表展示
摘要: 效果图展示: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style> ul, h2 { padding: 0; margin: 0; } li { list-style: none; } #list {
阅读全文
posted @ 2017-06-01 17:47 美琳
阅读(162)
评论(0)
推荐(0)
2017年5月26日
拖动条SeekBar
摘要: 1TextView tv=(TextView)findViewById(R.id.TV); 2 tv.setMovementMethod(ScrollingMovementMethod.getInstance());//滚动文本 3 SeekBar sb=(SeekBar)findViewById(
阅读全文
posted @ 2017-05-26 20:32 美琳
阅读(82)
评论(0)
推荐(0)
信息提示框、对话框
摘要: Toast信息提示框 1Button bt1=(Button)findViewById(R.id.Tbt01); 2 Button bt2=(Button)findViewById(R.id.Tbt02); 3 bt1.setOnClickListener(new OnClickListener()
阅读全文
posted @ 2017-05-26 20:29 美琳
阅读(182)
评论(0)
推荐(0)
键盘事件、触摸事件
摘要: OnKeyListener(键盘事件) 1TextView tv=(TextView) findViewById(R.id.keyTV02); 2 EditText input=(EditText) findViewById(R.id.keyET01); 3 ImageView img=(Image
阅读全文
posted @ 2017-05-26 20:26 美琳
阅读(125)
评论(0)
推荐(0)
时间日期事件处理,长按事件
摘要: OnTimeChangedListener(日期和时间的事件处理) DatePicker /*取得DatePicker对象,以init()设置初始值与OnDateChangedListener()*/ DatePicker dp= (DatePicker)findViewById(R.id.Date
阅读全文
posted @ 2017-05-26 20:23 美琳
阅读(125)
评论(0)
推荐(0)
图片切换示例
摘要: 视图: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style> p { margin: 0; } body { text-align: center; } #box { width: 400px; he
阅读全文
posted @ 2017-05-26 20:14 美琳
阅读(150)
评论(0)
推荐(0)
索引值的应用
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script> window.onload = function(){ var aBtn = document.getElementsByTagName('in
阅读全文
posted @ 2017-05-26 20:10 美琳
阅读(122)
评论(0)
推荐(0)
2017年5月25日
this的应用
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style> li { width: 100px; height: 150px; float: left; margin-right: 30px; backgr
阅读全文
posted @ 2017-05-25 18:26 美琳
阅读(106)
评论(0)
推荐(0)
自定义属性应用1
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script> window.onload = function(){ var aBtn = document.getElementsByTagName('in
阅读全文
posted @ 2017-05-25 18:23 美琳
阅读(141)
评论(0)
推荐(0)
自定义属性应用
摘要: <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>无标题文档</title> <style> li { list-style:none; w
阅读全文
posted @ 2017-05-25 18:20 美琳
阅读(148)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告