To add a textview to a layout, select the layout you need to add & then click the Add Button
Now your XML code looks like<?xml version="1.0" encoding="utf-8"?>here are some useful properties
<LinearLayout android:id="@+id/LinearLayout01"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:text="@+id/TextView01"
android:id="@+id/TextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</TextView>
</LinearLayout>
To change your textview id
android:id="@+id/TextView"
To change your textview text
android:text="This is my first textview sample application"
To enable or disable textview
android:enabled="false"
To change your textview width & height
android:layout_height="wrap_content"android:layout_width="fill_parent"
To change your textview background
android:background="@drawable/icon"
To change your textview text size
android:textSize="16px"
To change your textview text style