码迷,mamicode.com
首页 >  
搜索关键字:inputmethod    ( 32个结果
Android 开发工具类 04_KeyBoardUtils
打开或关闭软键盘:1、打卡软键盘;2、关闭软键盘。 1 import android.content.Context; 2 import android.view.inputmethod.InputMethodManager; 3 import android.widget.EditText; 4 ...
分类:移动开发   时间:2015-05-28 14:02:09    阅读次数:160
和键盘操作相关的工具类KeyBoardUtils
和键盘操作相关的工具类 package com.flyou.utils; import android.content.Context; import android.view.inputmethod.InputMethodManager; import android.widget.EditText; /** * 打开或关闭软键盘 * * @author flyou * */...
分类:其他好文   时间:2015-03-29 16:32:24    阅读次数:108
安卓工具类-------->打开或关闭软键盘
import android.content.Context; import android.view.inputmethod.InputMethodManager; import android.widget.EditText; //打开或关闭软键盘 public class KeyBoardUtils { /** * 打卡软键盘 * * @param mEditText输入框...
分类:移动开发   时间:2015-02-06 18:55:33    阅读次数:169
【Android】键盘的展开和收起
键盘的展开和收起主要使用到类InputMethodManager:http://developer.android.com/reference/android/view/inputmethod/InputMethodManager.html其大致方法如下:1 public void hide_key...
分类:移动开发   时间:2015-01-02 19:53:30    阅读次数:191
Day2----hidenMeau
//-------------特别不成熟的使用了CSS,完成对下拉菜单的隐藏和显示 hidenMeau This is to show a btn that can control the below submenu hidden or occur. inputMethod ...
分类:其他好文   时间:2014-11-21 23:03:16    阅读次数:329
Red Hat 安装中文支持
cat/proc/sys/dev/cdrom/info安装中文支持yumgroupinstall"chinesesupport"安装中文输入法1、在System》Preferences》中会出现InputMethod选项,点击进入2、选择USEIBUS(recommended),点击InputMethodPreferences选项进入General选项包含快捷键等设置,InputMethod中选择常..
分类:其他好文   时间:2014-11-19 02:23:17    阅读次数:261
Android设计模式系列-单例模式
单例模式,可以说是GOF的23种设计模式中最简单的一个。这个模式相对于其他几个模式比较独立,它只负责控制自己的实例化数量单一(而不是考虑为用户产生什么样的实例),很有意思,是一个感觉上很干净的模式,本人很喜欢这个模式。android中很多地方都用到了单例模式,本文以输入法管理者InputMethod...
分类:移动开发   时间:2014-11-06 12:43:57    阅读次数:179
Android设计模式系列(3)--SDK源码之单例模式
单例模式,可以说是GOF的23种设计模式中最简单的一个。这个模式相对于其他几个模式比较独立,它只负责控制自己的实例化数量单一(而不是考虑为用户产生什么样的实例),很有意思,是一个感觉上很干净的模式,本人很喜欢这个模式。android中很多地方都用到了单例模式,本文以输入法管理者InputMethod...
分类:移动开发   时间:2014-11-05 09:14:56    阅读次数:249
Android软键盘状态的切换及其强制隐藏
MainActivity如下: package cc.c; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.view.inputmethod.InputMethodManager; import android.widget....
分类:移动开发   时间:2014-10-28 15:35:22    阅读次数:131
android.view.inputmethod
接口 InputConnectionInputMethodInputMethod.SessionCallbackInputMethodSessionInputMethodSession.EventCallback 类 BaseInputConnectionCompletionInfoEditorInfoExtractedTextExtractedTextRequestInputBin...
分类:移动开发   时间:2014-10-13 19:28:47    阅读次数:215
32条   上一页 1 2 3 4 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!