简体   繁体   English

为什么我的Android Studio预览看起来不同?

[英]Why does my Android studio preview look different?

I'm wondering why in every tutorial I watch the preview section looks like this: ie it has the actual device shown as preview and has a button for linking it to an activity 我想知道为什么在每个教程中我看到的预览部分都像这样:即它具有显示为预览的实际设备并具有将其链接到活动的按钮 在此处输入图片说明

When mine looks like this: for some reason doesn't have the device 当我的看起来像这样:由于某种原因没有设备 在此处输入图片说明

I'm sure I've just not installed something correctly or not clicked a checkbox, or a version of something is wrong but after some googling i can't seem to work out what it is. 我确定我没有正确安装某些东西,或者未单击某个复选框,或者某个版本的问题是错误的,但是经过一番谷歌搜索后,我似乎无法弄清楚它是什么。 Any help would be greatly appreciated. 任何帮助将不胜感激。

Newer versions of Android Studio do not show the device bezel by default. 默认情况下,较新版本的Android Studio不显示设备挡板。 Everything looks installed correctly. 一切看起来都正确安装。

Look at the Android Studio window title. 查看Android Studio窗口标题。

Your video is using 2.0 Beta, and your newer version just doesn't have the bezel. 您的视频使用的是2.0 Beta,而您的较新版本没有挡板。

You'll also notice there's different buttons around the screen preview area. 您还将注意到屏幕预览区域周围有不同的按钮。

You could disable it in older versions, I'm not sure if it's completely gone but it was probably removed because it took up screen space and didn't serve much purpose 您可以在较旧的版本中将其禁用,我不确定它是否已完全消失,但可能已被删除,因为它占用了屏幕空间并且没有太大用处

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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