Default pressed MenuItem with 9-patch border after Android Studio 2.2

梦想与她 提交于 2019-12-22 08:24:45

问题


After updating to Android Studio 2.2 and Android Plugin to 2.2.0-alpha1, I noticed that when I press a MenuItem, it gets a black border. I presume that this border is caused by a problem with its 9-patch pressed background. Is this a known issue?


This is the pressed state. The default state works fine.

Obs: I am testing on a real device and I had never experienced this issue.

Thank you!


回答1:


Try to change the default android plugin version 2.2 alpha to 2.1 stable.

classpath 'com.android.tools.build:gradle:2.1.0

Update : try latest version ( 2.2 ) when it become stable one



来源:https://stackoverflow.com/questions/37449025/default-pressed-menuitem-with-9-patch-border-after-android-studio-2-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!