5
Good morning, everyone.
In some tutorials I’ve been seeing around, the creators defined this property, 'tools:context' in the main layout manager of xmls. I looked in Ricardo Lecheta’s book, but he doesn’t use it at any time.
So.. What is and what is the purpose of defining this tools:context?
Example:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity" >
Thank you!