-
Android实现按回车确认键显示其它输入框的EditText
Android实现按回车确认键显示其它输入框的EditText,在正常状态下,其它部分的EditText是灰色的,当按下回车键后,高亮显示进入输入状态,相关代码可参考如下代码:
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
editTexts[0] = (EditText) findViewById(R.id.edittext1);
editTexts[1] = (EditText) findViewById(R.id.edittext2);
editTexts[2] = (EditText) findViewById(R.id.edittext3);
for (int i = 0; i < editTexts.length; i++)
editTexts[i].setOnKeyListener(this);
buttons[0] = (Button) findViewById(R.id.button1);
buttons[1] = (Button) findViewById(R.id.button2);
buttons[2] = (Button) findViewById(R.id.button3);
}
- 2022-03-26 11:46:37下载
- 积分:1
-
安卓编程读取短信结果程序
此段代码为本人自己所写,用来读取短信结果的程序,感兴趣的可以下载看下,对学习安卓有帮助。
- 2023-01-02 03:25:10下载
- 积分:1
-
android调用 webservice的两种方法 示例源码下载
android调用 webservice的两种方法 示例源码下载
- 2013-10-23下载
- 积分:1
-
二维码插件
二维码插件,Zbar二维码扫描插件,相比于其它二维码扫描插件而言,代码简洁,扫码速度更快,集成在android、codova、以及Java中......
- 2022-02-27 00:47:22下载
- 积分:1
-
lcIPC_SurfaceView
surface,H264,解码,显示,网络流,播放(surface, H264)
- 2013-08-06 10:18:16下载
- 积分:1
-
fasongsms
这是一个安卓程序,主要功能是发送短信,希望与大家分享。(This is an Android program, the main function is to send text messages.)
- 2013-06-02 16:32:25下载
- 积分:1
-
android以get和post方式提交数据给WEB 完整实例源码下载
android以get和post方式提交数据给WEB 完整实例源码下载
- 2014-06-20下载
- 积分:1
-
SimpleBrowser_V1.0
这是一个简单的 android 浏览器,带书签,历史记录功能,通过SQLITE数据库实现读写操作。(This is a simple android web browser application ,have some function
For example bookmark, history.)
- 2014-03-22 22:40:27下载
- 积分:1
-
LinkGame
能实现电脑端双人连连看游戏,里面已设置好关卡,只有在规定时间内通过游戏关卡才能进入下一关,否则游戏失败,同时进行倒计时。(It can realize the double-player continuous watching game on the computer side. The game has been set up a checkpoint. Only through the game checkpoint in the prescribed time can we enter the next level, otherwise the game will fail and the countdown will be made at the same time.)
- 2019-04-03 15:34:59下载
- 积分:1
-
android拖动效果
android拖动效果,类似launcher的滑动替换效果,叫你如何使用android的touch方法来实现拖动替换效果。代码很简单,易于理解实用!用这个例子就可以让你了解拖动的实现方式
- 2022-05-08 06:29:01下载
- 积分:1