简体   繁体   中英

How to enable layout decorations (e.g. Actionbar) in AndroidStudio xml-preview?

I'm working on a small android-project, and I want to show the action bar in the XML-preview . Like this:

动作栏可见

I've already done some research and found this question: Default toolbar and status bar not showing into xml preview in android studio 3.3 . This question provides that you have to use the eye-icon and mark "Show Layout Decorations".

眼睛图标

The problem is that I don't have any eye-icon.

操作栏不可见

I'm using AndroidStudio 3.1.2.

尝试更新您的Android Studio,如果仍然遇到错误,请尝试重新安装,希望它可以解决您的错误。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM