android:textSize - Set the Text Size in a TextView/EditText

How to Set the Text Size in a TextView/EditText

android:textSize was added in API Level 1

Size of the text. Recommended dimension type for text is "sp".

1. Create an Android project, if you don't already have one.

2. Add a TextView in the main.xml file.

3. In the main.xml file, add the code below.

<TextView
        ...
       android:textSize = "30sp"
/>

4. Compile and run!
http://developer.android.com/reference/android/widget/TextView.html#attr_android:textSize
http://developer.android.com/reference/android/R.attr.html#textSize