108 lines
3.7 KiB
XML
108 lines
3.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="20dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="20dp"
|
|
android:text="@string/title_form"
|
|
android:textSize="22sp"
|
|
android:textStyle="bold" />
|
|
|
|
<EditText
|
|
android:id="@+id/et_name"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="20dp"
|
|
android:hint="@string/hint_name"
|
|
android:inputType="textPersonName" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/label_gender"
|
|
android:textStyle="bold" />
|
|
|
|
<RadioGroup
|
|
android:id="@+id/rg_gender"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="20dp"
|
|
android:orientation="horizontal">
|
|
|
|
<RadioButton
|
|
android:id="@+id/rb_male"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/option_male" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/rb_female"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="20dp"
|
|
android:text="@string/option_female" />
|
|
</RadioGroup>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/label_hobbies"
|
|
android:textStyle="bold" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/cb_sport"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/option_sport" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/cb_read"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/option_read" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/cb_music"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="20dp"
|
|
android:text="@string/option_music" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/label_city"
|
|
android:textStyle="bold" />
|
|
|
|
<Spinner
|
|
android:id="@+id/spinner_city"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="20dp" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/cb_agreement"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="20dp"
|
|
android:text="@string/label_agreement" />
|
|
|
|
<Button
|
|
android:id="@+id/btn_submit"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:enabled="false"
|
|
android:text="@string/action_submit" />
|
|
|
|
</LinearLayout>
|
|
</ScrollView>
|