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 Build an Interactive Story App Finishing the User Interface Creating the Story Layout

Santiago Serrano
Santiago Serrano
2,754 Points

Why did Ben change "srcCompat" to just "src"?

When changing the "app" prefix to the "tools" prefix in the last line of the ImageView in the XML code of the layout, he also changed "srcCompat" to just "src".

I would like to know:

  • Is there a reason why he did this?
  • What are the differences between src and srcCompat?

Thanks in advance, I would appreciate a lot your help :D