Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAdil Patel
316 PointsCant find the "view" from the design tab in Android studio. Only thing I can see is "custom view".
In the crystal ball app, im trying to center the text and in the video the "view" was dragged into the app. I cant find that in android studio.
2 Answers
Samuel Canerday
12,610 PointsThe view that you are looking for is called the "preview" window in android studio.
You have to open a layout view in your project. Navigate to src/main/res/layout/ in your project and select the xml layout file you want to work with.
If the preview window doesn't automatically open up, you can open the view by selecting from the tool bar View>Tool Windows>Preview
There will be a "Design" and "Text" tab at the bottom of the xml layout.
Evelina Yankova
5,869 PointsDid you find it? Look in the Graphical Layout of activity_main.xml under the Advanced Category of the Palette.
Adil Patel
316 PointsI dont have an advanced category. Im using android studio not eclipse.
Evelina Yankova
5,869 Pointssorry, my mistake