|
|
@ -8,6 +8,29 @@ |
|
|
|
tools:context=".fragments.update.UpdateFragment" |
|
|
|
android:padding="24dp"> |
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout |
|
|
|
android:id="@+id/textInputLayout1" |
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
app:layout_constraintHorizontal_bias="0.666" |
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
app:layout_constraintVertical_bias="0.377" |
|
|
|
tools:ignore="MissingConstraints"> |
|
|
|
|
|
|
|
<AutoCompleteTextView |
|
|
|
android:id="@+id/updateHandiness_et" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:layout_weight="1" |
|
|
|
android:hint="" |
|
|
|
android:inputType="none" /> |
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout> |
|
|
|
|
|
|
|
<EditText |
|
|
|
android:id="@+id/updateFirstName_et" |
|
|
|
android:layout_width="match_parent" |
|
|
@ -20,11 +43,12 @@ |
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
app:layout_constraintTop_toTopOf="parent" /> |
|
|
|
|
|
|
|
|
|
|
|
<EditText |
|
|
|
android:id="@+id/updateLastName_et" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_marginTop="16dp" |
|
|
|
android:layout_marginTop="8dp" |
|
|
|
android:ems="10" |
|
|
|
android:hint="Last Name" |
|
|
|
android:inputType="textPersonName" |
|
|
@ -33,62 +57,55 @@ |
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
app:layout_constraintTop_toBottomOf="@+id/updateFirstName_et" /> |
|
|
|
|
|
|
|
<EditText |
|
|
|
android:id="@+id/updateAge_et" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_marginTop="16dp" |
|
|
|
android:ems="10" |
|
|
|
android:hint="Age" |
|
|
|
android:inputType="number" |
|
|
|
android:minHeight="48dp" |
|
|
|
app:layout_constraintTop_toBottomOf="@+id/updateLastName_et" |
|
|
|
tools:layout_editor_absoluteX="100dp" /> |
|
|
|
|
|
|
|
<EditText |
|
|
|
android:id="@+id/updateSex_et" |
|
|
|
<TextView |
|
|
|
android:id="@+id/updateBirthday_et" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_marginTop="16dp" |
|
|
|
android:layout_marginTop="8dp" |
|
|
|
android:ems="10" |
|
|
|
android:hint="Sex" |
|
|
|
android:inputType="textPersonName" |
|
|
|
android:hint="Birthday" |
|
|
|
android:minHeight="48dp" |
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
app:layout_constraintTop_toBottomOf="@+id/updateAge_et" /> |
|
|
|
android:textColor="?attr/editTextColor" |
|
|
|
android:background="?attr/editTextBackground" |
|
|
|
android:gravity="center_vertical" |
|
|
|
android:textAppearance="?android:attr/textAppearanceMediumInverse" |
|
|
|
app:layout_constraintTop_toBottomOf="@+id/updateLastName_et" /> |
|
|
|
|
|
|
|
<EditText |
|
|
|
android:id="@+id/updateHandiness_et" |
|
|
|
<com.google.android.material.textfield.TextInputLayout |
|
|
|
android:id="@+id/textInputLayout" |
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_marginTop="16dp" |
|
|
|
android:ems="10" |
|
|
|
android:hint="Handiness" |
|
|
|
android:inputType="textPersonName" |
|
|
|
android:minHeight="48dp" |
|
|
|
android:layout_marginTop="8dp" |
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
app:layout_constraintHorizontal_bias="0.458" |
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
app:layout_constraintTop_toBottomOf="@+id/updateSex_et" /> |
|
|
|
app:layout_constraintTop_toBottomOf="@+id/updateBirthday_et" |
|
|
|
tools:ignore="MissingConstraints"> |
|
|
|
|
|
|
|
<Button |
|
|
|
android:id="@+id/update_btn" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_marginTop="24dp" |
|
|
|
android:text="Update" |
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
app:layout_constraintTop_toBottomOf="@+id/updateHandiness_et" /> |
|
|
|
<AutoCompleteTextView |
|
|
|
android:id="@+id/updateSex_et" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:layout_weight="1" |
|
|
|
android:inputType="none" |
|
|
|
android:hint="" /> |
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout> |
|
|
|
|
|
|
|
<Button |
|
|
|
android:id="@+id/startTest_btn" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:text="Start Test" |
|
|
|
app:layout_constraintBottom_toTopOf="@+id/SessionRecyclerview" |
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
app:layout_constraintHorizontal_bias="0.333" |
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
app:layout_constraintTop_toBottomOf="@+id/update_btn" /> |
|
|
|
app:layout_constraintTop_toBottomOf="@+id/update_btn" |
|
|
|
app:layout_constraintVertical_bias="1.0" /> |
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView |
|
|
|
android:id="@+id/SessionRecyclerview" |
|
|
@ -96,8 +113,19 @@ |
|
|
|
android:layout_height="251dp" |
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
app:layout_constraintHorizontal_bias="0.538" |
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
app:layout_constraintVertical_bias="1.0" /> |
|
|
|
|
|
|
|
<Button |
|
|
|
android:id="@+id/update_btn" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_marginTop="328dp" |
|
|
|
android:text="Update" |
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
app:layout_constraintTop_toTopOf="parent" /> |
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |