2019-10-08 21:20:04 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-12-08 20:12:15 +01:00
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-10-08 21:20:04 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-12-08 20:12:15 +01:00
|
|
|
android:orientation="vertical"
|
|
|
|
tools:context=".activities.SurveyActivity">
|
2019-10-08 21:20:04 +02:00
|
|
|
|
2019-12-08 20:12:15 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2019-10-08 21:20:04 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-12-08 20:12:15 +01:00
|
|
|
android:orientation="vertical">
|
2019-10-08 21:20:04 +02:00
|
|
|
|
2019-12-08 20:12:15 +01:00
|
|
|
<TableLayout
|
2019-10-08 21:20:04 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-12-08 20:12:15 +01:00
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/survey_id_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:labelFor="@+id/survey_id"
|
|
|
|
android:text="@string/id"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/survey_id"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
|
|
|
|
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/survey_age_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:labelFor="@+id/survey_age"
|
|
|
|
android:text="@string/age"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/survey_age"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:importantForAutofill="no"
|
|
|
|
android:inputType="number" />
|
|
|
|
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/survey_weigth_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:labelFor="@+id/survey_weight"
|
2020-06-10 16:00:03 +02:00
|
|
|
android:text="@string/weight_label"
|
2019-12-08 20:12:15 +01:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/survey_weight"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:importantForAutofill="no"
|
|
|
|
android:inputType="number" />
|
|
|
|
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/survey_TDD_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:labelFor="@+id/survey_weight"
|
|
|
|
android:text="@string/tdd_total"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/survey_tdd"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:importantForAutofill="no"
|
|
|
|
android:inputType="number" />
|
|
|
|
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
</TableLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2019-10-08 21:20:04 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-12-08 20:12:15 +01:00
|
|
|
android:layout_height="wrap_content">
|
2019-10-08 21:20:04 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="10dp"
|
2019-12-08 20:12:15 +01:00
|
|
|
android:layout_marginEnd="20dp"
|
|
|
|
android:text="@string/mostcommonprofile"
|
2019-10-08 21:20:04 +02:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
|
|
|
|
|
2019-12-08 20:12:15 +01:00
|
|
|
<Spinner
|
|
|
|
android:id="@+id/survey_spinner"
|
2019-10-08 21:20:04 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-12-08 20:12:15 +01:00
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:layout_marginBottom="5dp" />
|
2019-10-08 21:20:04 +02:00
|
|
|
|
2019-12-08 20:12:15 +01:00
|
|
|
</LinearLayout>
|
2019-10-08 21:20:04 +02:00
|
|
|
|
|
|
|
<TextView
|
2019-12-08 20:12:15 +01:00
|
|
|
android:id="@+id/survey_tdds"
|
2019-10-08 21:20:04 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
|
|
|
|
|
2019-12-08 20:12:15 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/survey_tir"
|
2019-10-08 21:20:04 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-12-08 20:12:15 +01:00
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
|
2019-10-08 21:20:04 +02:00
|
|
|
|
2019-12-08 23:14:46 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/survey_activity"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
|
|
|
|
|
2019-12-08 20:12:15 +01:00
|
|
|
<Button
|
|
|
|
android:id="@+id/survey_submit"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/submit" />
|
2019-10-08 21:20:04 +02:00
|
|
|
|
2019-12-08 20:12:15 +01:00
|
|
|
<Button
|
|
|
|
android:id="@+id/survey_profile"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/profile" />
|
2019-10-08 21:20:04 +02:00
|
|
|
|
2019-12-08 20:12:15 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:text="@string/survey_comment"
|
|
|
|
android:textAlignment="center"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
|
2019-10-08 21:20:04 +02:00
|
|
|
|
|
|
|
|
2019-12-08 20:12:15 +01:00
|
|
|
</LinearLayout>
|
2019-10-08 21:20:04 +02:00
|
|
|
|
2019-12-08 20:12:15 +01:00
|
|
|
</ScrollView>
|