I would like to make a questionnaire-like page, where the user compiles some fields.
For example:
name: editText
last name: editText
address: editText
My intent is to have in each line a textview on the left aligned with an edit text to the right, and so on for every field i need compiled.
As long as now this is my code:
<LinearLayout
android:id="@+id/linearLayout2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
tools:ignore="UselessLeaf" >
<TextView
android:id="@+id/twNome"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="Nome: " />
<EditText
android:id="@+id/editNome"
android:layout_width="200dp"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:ems="10"
>
</EditText>