Start
来源:互联网 发布:php彩票网站系统 编辑:程序博客网 时间:2024/04/25 07:34
Android
1.Learned to scroll the screen by ScrollView.
2.Learned the new view : CheakBox, new method: isChecked(), toString().
getText() it will get a editable variable. it can not be stored in the form of String.
To show a toast
3.Toast toast = Toast.makeText (context, text, duration);
toast.show();
context refer to the activity, you can use “this” to refer to the current activity.
text: what you want to express in the screen. maybe a string.
duration: the time length that the text will exist.
Attribute: “Toast.LENGTH_SHORT“, Toast.LENGTH_LONG
use .show() to start the method.
example:
Toast.makeText(this, “You can’t reduce anymore!”, Toast.LENGTH_SHORT).show();
0 0
- start
- Start...
- Start!
- Start
- sTART
- START!
- Start
- Start
- start
- Start
- START
- Start
- start
- Start
- Start
- Start!
- start
- STart
- FTP服务基本搭建
- 61. Rotate List
- mysql主从复制
- 小知识点源码解析-STAGE由最后一个RDD确定并行度的源码解析
- C#文件搜索小程序
- Start
- android使用jre自带工具生成证书
- 《HTML+CSS基础课程》学习笔记二
- Wscript对象详解
- @date2016-3-22(软件工程男的日常)
- Python 入门 之 数据类型
- Java NIO和IO的主要区别
- 初识JSP
- 依赖注入