/**
* Calls {@link android.view.Window#getCurrentFocus} on the
* Window of this Activity to return the currently focused view.
*
* @return View The current View with focus or null.
*
* @see #getWindow
* @see android.view.Window#getCurrentFocus
*/
public View getCurrentFocus() {
return mWindow != null ? mWindow.getCurrentFocus() : null;
}

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. 安卓开发环境安装
  2. Android(安卓)如何在Android项目中搭建HT
  3. Android Intent传递对象
  4. 【转】android自带的软件或者服务
  5. xamarin for android 环境配置
  6. 自定义progressbar 样式
  7. 【android】listview动态更新(与数据库之
  8. Android framework源码按键操作的完整流
  9. android 进程内存查看
  10. Android listview 制作表格样式+由下往上