Android Eclipse ADT 8.0.0 (and 8.0.1) problem - it is not possible to create a hierarchy of drag and drop views in the Structure view

Before the newest version, I was able to create a hierarchy using drag n ', made in the form of a contour. Since the moment of updating I can’t and the controls ("+", "-" and "arrows") are missing.

So how can I create view hierarchies now?

+3
source share
3 answers

Drag Viewon the edge to which you want to turn on Viewif you use RelativeLayout. That should work.

If you use LinearLayout, you can just drag them as you are used to.

+1

, ​​ ADT 9.0. / .

+1

drag'n drop views in a linear layout works ... if the layout is not empty and its width / width are not set to wrap_content !!!

Example

: create linearLayout. Set the width / height of the layout to populate the parent or some fixed value (e.g. 64dip). Now you can drag, say, a text file.

+1
source

Source: https://habr.com/ru/post/1779138/


All Articles