Android单击“突出显示":更新到Android studio 2.2预览版3之后 [英] Android click Highlight issue: After updating to Android studio 2.2 preview 3

查看:92
本文介绍了Android单击“突出显示":更新到Android studio 2.2预览版3之后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于棒棒糖以下的Android操作系统,我遇到了这个奇怪的问题.当我单击工具栏选项菜单或导航抽屉等时,我得到了奇怪的黑色边缘作为突出显示.请以所附图片为例

I am having this weird issue, for android OS below lollipop. When i click on Toolbar option menu or navigation drawer etc i am getting weird black edges as a highlight. Please see attached pic as an example

这是此活动的主题(使用AppCompactActivity作为基本活动) `

here is my theme for this activity (using AppCompactActivity as Base Activity) `

<style name="NoActionBar" parent="Theme.AppCompat.Light.NoActionBar">
            <!-- Customize your theme here. -->
            <item name="colorPrimary">@color/colorPrimary</item>
            <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
            <item name="colorAccent">@color/colorAccent</item>
</style>

`

推荐答案

发现了问题,更新后,我的Gradle Android插件也更新为2.2.0 alpha-3,但我将其更改回了

Found the issue, after the update my Android Plugin for Gradle was also updated to 2.2.0 alpha-3 but i changed it back to

classpath 'com.android.tools.build:gradle:2.1.0'  // stable version. 

通过此小调整,现在已解决此问题.

With this minor tweak now this issue is resolved.

注意:您可以只等待稳定的2.2.0版本,也可以尝试下一个更新.

Note: You can either just wait for stable 2.2.0 version or try the next update.

这篇关于Android单击“突出显示":更新到Android studio 2.2预览版3之后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆