meizu手机的虚拟键盘被popwindow覆盖的解决办法
2015-12-10 14:33
513 查看
注意到Android6.0的程序默认的主题描述是这样的:
<!--
Base application theme, dependent on API level. This theme is replaced
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
-->
<style name="AppBaseTheme" parent="android:Theme.Light">
<!--
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
-->
</style>
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
生成的程序配置文件里用的正是AppTheme这个继承自AppBaseTheme的主题。
我用魅族手机作调试的时候发现,popwindow组件会把魅族的SmartBar覆盖,返回键也被覆盖。
解决办法:
让AppTheme直接继承自android:Theme.Light主题就好了。
<!--
Base application theme, dependent on API level. This theme is replaced
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
-->
<style name="AppBaseTheme" parent="android:Theme.Light">
<!--
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
-->
</style>
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
生成的程序配置文件里用的正是AppTheme这个继承自AppBaseTheme的主题。
我用魅族手机作调试的时候发现,popwindow组件会把魅族的SmartBar覆盖,返回键也被覆盖。
解决办法:
让AppTheme直接继承自android:Theme.Light主题就好了。
相关文章推荐
- Linux 编程学习笔记----ANSI C 文件I/O管理
- Linux 日常管理
- Linux学习笔记(二) - sort,uniq,cut,wc 命令详解
- 安装完CentOS 7 后必做的七件事
- 安装完CentOS 7 后必做的七件事
- 安装完CentOS 7 后必做的七件事
- 安装完CentOS 7 后必做的七件事
- 安装完CentOS 7 后必做的七件事
- Apache编译与安装 RedHat enterprises 6.2
- Apache Stratos探究:概念--cloudburst和Hybrid Cloud
- git shell 命令大全
- Tomcat server.xml简单配置
- linux中断申请之request_threaded_irq【转】
- linux下vi命令大全
- property
- Centos下Tomcat以指定的用户,非root权限开机自启
- Centos 6.6 安装python3.4及Django1.9
- 系统架构之TOMCAT中文参数
- 驱动 ENC28J60 SPI网卡移植 linux 2.6.28 SAMSUNG 6410 ARM11
- How To Install Linux, nginx, MySQL, PHP (LEMP) stack on CentOS 6