自己定义的软键盘,感觉点击按钮时弹出的窗口不好看,可以直接禁用掉。
加入以下这条属性即可: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通过build.gradle配置应用版本等
  2. android 自定义动画按钮
  3. Android(安卓)手写字体识别
  4. android byte数组,bitmap,drawable之间的
  5. Android(安卓)webview长按图片保存到本地
  6. Android获取wifi的名字(SSID)
  7. Android中通过当前经纬度获得城市
  8. android四种更新UI进程
  9. Android(安卓)让Tabs显示在底部
  10. android studio svn报错