简体   繁体   中英

My android studio layout manager lost fuction

My android studio layout manager only has these two options, I don't know what went wrong... I tried deleting the SDK and clearing the cache, but it still can't return to normal... like this picture .Usually it should be like this . But when I create a new project, it is normally Show its toolbar

The components of that specific dropdown and all the icons next to it highly depend on which widget (ConstraintLayout, TextView, ImageView, etc.) is selected in the Code section (where your text cursor actually is in the file).

If the root container (most of the time a ViewGroup) is selected you'll see:

在此处输入图片说明

If any other widget is selected inside that ViewGroup (container) you'll get what you're after:

在此处输入图片说明

And worth mentioning that you will be shown something different (but relevant) when the selected widget is not inside a ConstraintLayout but some other ViewGroup:

在此处输入图片说明

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