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