在我的组件树窗口中找不到设备屏幕选项 [英] Can't find device screen option in my component tree window

查看:59
本文介绍了在我的组件树窗口中找不到设备屏幕选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在观看udemy教程系列,其中讲师使用的是Andriod-Studio的不同版本,而我目前使用的是最新版本,并且布局有所不同.指导员正在使用设备组件做我无法做的所有事情.

I am following a udemy tutorial series in which the instructor is using a different version of Andriod-Studio and I am currently using the latest version and there is a difference in layout. The instructor is doing stuff using the device component where as i am unable to do all that.

我是一个初学者,所以我不知道如何管理或在哪里找到它

I am a beginner so I have no idea how to manage or where to find it

讲师正在其设备屏幕上的文本字段中进行编辑,而我什至在屏幕上都看不到文本字段

The instructor is editing in the text field in his device's screen whereas I don't even see a text field in my screen

这是我的屏幕:

这是我的讲师屏幕:

推荐答案

您需要将textView拖到布局编辑器屏幕中:

You need to drag your textView into the layout editor screen :

完成后,请打开属性侧栏:

After you have done that open the attributes sidebar:

现在单击打开的属性栏中的textView,输入"text"并更改视图的文本:

And now click on the textView, in the attribute bar that you opened type "text" and change the text of your view :

根据评论进行

按文本标签:

现在只需更改您的布局即可:

And now just change your layout :

这篇关于在我的组件树窗口中找不到设备屏幕选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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