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 trialWesley Seago
10,424 PointsFor those using Android Studio!
When using Android Studio, after selecting lines in the .xml file, when you choose Refactor/Extract/Style, style will not be available to select it. To do this in Android Studio, just simply click somewhere in the xml item you want to extract (Do not select an entire line), and choose Refactor/Extract/Style. Style will be available to select. This will open a dialog to name the style, and the style items will be properly extracted to the styles.xml file, and the correct style tag will be added to the xml item extracted from.
Slava Fleer
6,086 PointsMuch faster than in video =). Thanks
David Hope
19,876 PointsThanks Wesley!
5 Answers
Andre' Jones
26,671 Pointsthanks Wesley
alexandervafin
31,614 PointsThank you!
Robert Proulx
6,538 PointsWould be nice if you could upvote the original post, this just saved me some head-scratching.
Ahmed Fahmy
5,295 PointsThanks alot!
TheBigoso /\
3,217 PointsRockStar!!
Noah Schill
10,020 PointsNoah Schill
10,020 PointsHelped a tonne! Much thanks!