How to add an EditText
1. Open your layout/main.xml file. Add this section of code between the <LinearLayout> tags.<LinearLayout ..... >
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType = "text"
/>
</LinearLayout>
2. Compile and run!
Related Articles
Resources:
http://developer.android.com/training/keyboard-input/style.html