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 trial

Android

Shake for Prediction Text Layer appeared

Hi there, I was wondering if anybody else has the same problem. Since I added a new emulator (Nexus 5), I keep seeing a text layer on top of my button. It says SHAKE FOR PREDICTION. Not something that got introduced in the learning track (Build a simple Android App). How come?

3 Answers

Does it have a little phone icon next to "SHAKE FOR PREDICTION"? Don't worry it isn't your fault! it's part of the image! if you click on one of the images files you will see it at the bottom. Is your button visible once the animation plays? You may also need to check if the button/text is above the pictures! In the Graphical layout of activitiy_main.xml check the outline tab on the far right and see if it looks like...

RelativeLayout>imageview1>button1> LinearLayout>view1>textView1>view2

i hope this helps!

Thanks Aaron. Indeed, it's embedded in the image :-) Took me a while to notice that.

No problem!:)