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
|
2021-01-22 14:23:49 +01:00
|
|
|
android:id="@+id/id_label"
|
2019-12-08 20:12:15 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="10dp"
|
2021-01-22 14:23:49 +01:00
|
|
|
android:labelFor="@+id/id"
|
2019-12-08 20:12:15 +01:00
|
|
|
android:text="@string/id"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
|
|
|
|
|
|
|
|
<TextView
|
2021-01-22 14:23:49 +01:00
|
|
|
android:id="@+id/id"
|
2019-12-08 20:12:15 +01:00
|
|
|
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
|
2021-01-22 14:23:49 +01:00
|
|
|
android:id="@+id/age_label"
|
2019-12-08 20:12:15 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="10dp"
|
2021-01-22 14:23:49 +01:00
|
|
|
android:labelFor="@+id/age"
|
2019-12-08 20:12:15 +01:00
|
|
|
android:text="@string/age"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
|
|
|
|
|
|
|
|
<EditText
|
2021-01-22 14:23:49 +01:00
|
|
|
android:id="@+id/age"
|
2019-12-08 20:12:15 +01:00
|
|
|
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
|
2021-01-22 14:23:49 +01:00
|
|
|
android:id="@+id/weigth_label"
|
2019-12-08 20:12:15 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="10dp"
|
2021-01-22 14:23:49 +01:00
|
|
|
android:labelFor="@+id/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
|
2021-01-22 14:23:49 +01:00
|
|
|
android:id="@+id/weight"
|
2019-12-08 20:12:15 +01:00
|
|
|
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
|
2021-01-22 14:23:49 +01:00
|
|
|
android:id="@+id/TDD_label"
|
2019-12-08 20:12:15 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="10dp"
|
2021-01-22 14:23:49 +01:00
|
|
|
android:labelFor="@+id/weight"
|
2019-12-08 20:12:15 +01:00
|
|
|
android:text="@string/tdd_total"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
|
|
|
|
|
|
|
|
<EditText
|
2021-01-22 14:23:49 +01:00
|
|
|
android:id="@+id/tdd"
|
2019-12-08 20:12:15 +01:00
|
|
|
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
|
2021-01-22 14:23:49 +01:00
|
|
|
android:id="@+id/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
|
2021-01-22 14:23:49 +01:00
|
|
|
android:id="@+id/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
|
2021-01-22 14:23:49 +01:00
|
|
|
android:id="@+id/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
|
2021-01-22 14:23:49 +01:00
|
|
|
android:id="@+id/activity"
|
2019-12-08 23:14:46 +01: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
|
|
|
<Button
|
2021-01-22 14:23:49 +01:00
|
|
|
android:id="@+id/submit"
|
2019-12-08 20:12:15 +01:00
|
|
|
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
|
2021-01-22 14:23:49 +01:00
|
|
|
android:id="@+id/profile"
|
2019-12-08 20:12:15 +01:00
|
|
|
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>
|