自己定义的软键盘,感觉点击按钮时弹出的窗口不好看,可以直接禁用掉。
加入以下这条属性即可:android:keyPreviewLayout=”@null”

<android.inputmethodservice.KeyboardView
android:id="@+id/m_act_keyboard_view"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:focusable="true"
android:focusableInTouchMode="true"
android:background="@android:color/black"
android:keyPreviewLayout="@null"
android:keyTextColor="@android:color/darker_gray"
android:visibility="gone" />

更多相关文章

  1. EditText在输入法上显示搜索按钮
  2. Android中控件的继承 通用行为和属性
  3. android设置按钮背景透明度与设置布局背景图片的透明度
  4. android默认属性
  5. 将Android DHCPInfo 属性转换为int类型(使用BigInteger)
  6. android gravity padding margin 布局属性使用说明

随机推荐

  1. Android多线程之AsycnTask
  2. 模拟器上安装Android(安卓)Market
  3. android 阅读器(寻爱好者共同学习进步)
  4. Qt on Android:怎样适应不同的屏幕尺寸
  5. Android[中级教程]第五章 XML解析之PULL
  6. android 自动开关机
  7. Android初中级阶段――一个新的开始,新的
  8. Android的ADB工具使用
  9. Android(安卓)layout adaptive to mutipl
  10. 关于 Android(安卓)默认字体以及对比微软