登录
首页 » Android » Android实现按回车确认键显示其它输入框的EditText

Android实现按回车确认键显示其它输入框的EditText

于 2022-03-26 发布 文件大小:25.82 kB
0 129
下载积分: 2 下载次数: 1

代码说明:

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);   }

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 呼叫接收机
    打开源代码关于呼叫接收机的新手开始 android 的代码。我希望它将帮助任何一个:D
    2023-01-17 16:15:04下载
    积分:1
  • 高仿网易客户端UI
    Android应用源码之高仿网易客户端UI(tabhost)
    2023-05-17 18:35:03下载
    积分:1
  • RecordTest
    android语音识别,使用讯飞的sdk(在线使用)(android voice recognition, use iFly sdk)
    2016-10-08 13:27:16下载
    积分:1
  • 广发项目的界面设计
    广发项目界面简单设计,实现部分功能
    2022-03-30 05:18:31下载
    积分:1
  • C语言:AI五子棋
    【实例简介】C语言:AI五子棋
    2021-12-13 00:49:42下载
    积分:1
  • android在wifi下手机与电脑的socket通信
    此代码实现 局域网条件下 手机和电脑通过无线路由连接 使用TCP Socket 手机和电脑互发数据 当手机作为客户端时 与电脑交互数据满足16进制格式。。代码重点对数据进行了处理 将android默认格式编码的字符串转换成了 我们调试一般所使用的十六进制格式。
    2022-06-29 02:34:23下载
    积分:1
  • SMPP-Gateway-System
    1. SMPP网关概述(联系dotphoenix@qq.com获取更多信息) 1.1 包含一个标准的SMPP Server(SMPP模拟器),一个SMPP Client 和 SDK 1.2 支持标准的SMPP V3.4,支持如下功能:多种bind模式,unbind,submit_sm,delivery_sm,enquire_link,generic_ack 1.3 SMPP Server可运行于LinuxWindowsOSXEmbeded Linux 1.4 SMPP Client可运行于WindowsLinuxOSXAndroidiOSEmbeded Linux 1.5 SDK支持WindowsLinuxOSXAndroidiOSEmbeded Linux,可被JavaC#C++MFCPHP等调用,并提供基于json的HTTP API 1.6 支持MYSQL和SQLITE数据库 1.7 支持自定义计费,支持自定义业务系统 1.8 支持大吞吐量(使用数据库可支持500/秒,不使用数据库可支持8000条/秒) 1.9 兼容性良好,可以和几乎所有主流和非主流的网关及客户端正常工作( SMPP Gateway System(Contact dotphoenix@qq.com to get more information) 1 Including a standard SMPP Server(SMPP Simulator),a SMPP Client and SDK 2 Implement SMPP V3.4,Support PDUs including:3 bind modes,unbind,submit_sm,delivery_sm,enquire_link,generic_ack 3 SMPP Server supported platforms: LinuxWindowsOSXEmbeded Linux 4 SMPP Client supported platforms: WindowsLinuxOSXAndroidiOSEmbeded Linux 5 SDK supported platforms: WindowsLinuxOSXAndroidiOSEmbeded Linux,supported languages: JavaC#C++MFCPHP,and also including HTTP API based on JSON. 6 Suppored s: MYSQLSQLITE 7 Support customizing billing system and business system 8 Small delay, good reliability and large throughput (500 PDUs/s if need ,8000 PDUs/s if no need ) 9 Good compatibility, can co-work with nearly all the mainstream and non-mainstream gateways/servers/clients )
    2016-01-18 12:37:14下载
    积分:1
  • android 便签项目完整源码下载
    android 便签项目完整源码下载
    2015-02-25下载
    积分:1
  • 简易点餐系统
    具体请看源码,实现了五个菜种的下单,点菜功能,不过为了交付作业,时间较赶,界面效果一般,请各位看官自行修改
    2023-08-28 03:40:08下载
    积分:1
  • AndroidPushNotificationsDemo
    android 推送的项目源码,基于ibm的mqtt的客户端,打包即可运行(Push android project source code, based on the ibm mqtt client, packaged to run)
    2013-05-25 17:15:51下载
    积分:1
  • 696516资源总数
  • 106648会员总数
  • 8今日下载