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 trialEric Wolkoff
4,475 PointsHow do I create a listview in android studio
I dont see how to find something similiar to the "palette" from eclipse. I started on the blogreader app. I set up everything in the blank activity as done in the video. Once Ben started on trying to set up the listview, right in the beginning I got lost. I am using android studio and I am trying to follow but I dont know where to find the same tools eclipse has. If the tolls are different what am I supposed to use....HELP
5 Answers
Eric Wolkoff
4,475 PointsSo I figured out the answer. This is for anyone who runs into this problem in the future. When Ben talks about the "palette" in eclipse you will find Android Studio's palette when you click on the design tab. There are 2 tabs located toward the bottom of your screen. One says "Text" the other says "Design". I was doing everything in the Text view. When you switch it to design you will see the palette appear vertically. So you want to make sure to switch your view to design. it will make your learning experience go from good to great. Eclipse is very similar to android studio. Thanks
Gloria Dwomoh
13,116 PointsI did that project with android studio but I'll have to say that those two are not totally identical. There are things in Eclipse you'd never find in android studio and you'd never see in android studio. For example if you want to set permissions to use the internet in an app, there is no GUI to set the permission values in android studio so far to do that like in eclipse. You'd have to do it on your own in the android manifest and that makes it to need a lot of research. If you want to make things easier for you, you can do it with Eclipse. You can get the Eclipse ADT from here. Of course you can do the project with android studio, but you'd have to check the equivalent of what the instructor does on eclipse on android studio in order to go about it.
Eric Wolkoff
4,475 PointsId like to stick with Android Studio. Whats the best way to follow along using studio?
Gloria Dwomoh
13,116 PointsAs I said earlier the best way is to figure out what is the equivalent of each thing the instructor does that looks different. Also, if those things exist; because you won't see some features of eclipse in android studio. For example since you have had troubles in the initial set up, reading the documentation Creating a Project, helps, but down the road you'd see other things that look different and you'd have to figure out how to make it work on android studio. Research helps a lot.
Jordan Anderson
19,560 PointsHey Eric,
If you would like to continue using Android Studio, but don't have the exp yet on how to shot the gaps between the IDE's my question to you would be have you taken the http://teamtreehouse.com/library/build-a-simple-android-app : Build a simple android app form the revised Android track? It teaches you the basics of Java, Android Dev, and getting familiar with Android Studio. Personally, I only did about 30% of that first course, so my android know how is limited. I decided to stick with iOS for now.
Shubham Gupta
3,429 PointsEric,
You can drag and drop the ListView from the Containers tab. Everything else is the same. When I dragged and dropped mine, the list didn't appear but it shows up in the Text tab.
Hope it helps.