This file contains the apps layout particulars, like: the margins, text color, text size, font type, color of the text links. You can also define your images and videos in this xml page.
As you view the image on this page, you can see each element mentioned has been added to the TextView for this app's layout. Most are self explanatory.
The code - Android:autoLink="Web", means that any links added to the textView page text will automatically be clickable or hyperlinked. For example, if we added androidappcoding.com, it would become clickable in your page view.
The code android:text="@string/mathintro", means there is a text string named mathintro, that contains the text you want shown on this pageview (textview). More info on strings in the next tutorial.
The code android:orientation="vertical", means that when your app launches, you want it to show vertically in the users tablet: usually it is vertically or horizontally.
The code, android:layout_MarginTop="10dp", means that is the space you want from the top of the screen to where your text or images first are shown in the page view. View all margin elements here
The code "LinearLayout" , refers to the type of Layout chosen for the TextView.
There are
several to choose from.
Linear Layout is probably the most common.
This free script provided by
JavaScript
Kit