1

I don't know what happened, but today when I opened Android Studio the "split-screen" of the editing layout (Preview -half screen XML and the other half was the device preview-) was missing.

enter image description here - No preview option

enter image description here - The "component tree" tab was added automatically, yesterday I did not have this

2 Answers 2

3

Looks like you're in the Design tab, switch to the Text tab in the lower left corner.

enter image description here

Sign up to request clarification or add additional context in comments.

Comments

1

Android Studio offers an advanced layout editor that allows you to drag-and-drop widgets into your layout and preview your layout while editing the XML.

Within the layout editor, you can switch between the Text view, where you edit the XML file as text, and the Design view. Just click the appropriate tab at the bottom of the window to display the desired editor.

Read Official guideline about Using the Layout Editor

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.