2019-12-02 18:19:04 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
|
|
|
tools:context=".view.NewBoardActivity"
|
|
|
|
tools:showIn="@layout/activity_new_board">
|
|
|
|
|
|
|
|
<EditText
|
2019-12-30 14:13:14 +00:00
|
|
|
android:id="@+id/newBoardName"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="10"
|
|
|
|
android:hint="@string/new_board_name_field"
|
|
|
|
android:importantForAutofill="no"
|
|
|
|
android:inputType="textPersonName"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintVertical_bias="0.20999998" />
|
2019-12-02 18:19:04 +00:00
|
|
|
|
|
|
|
<Switch
|
|
|
|
android:id="@+id/newBoardPermission"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:checked="true"
|
|
|
|
android:text="@string/new_board_switch"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/newBoardName"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/newBoardName"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/newBoardName"
|
|
|
|
app:layout_constraintVertical_bias="0.1" />
|
|
|
|
|
|
|
|
<Button
|
2019-12-30 14:13:14 +00:00
|
|
|
android:id="@+id/newBoardDone"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:onClick="onDone"
|
|
|
|
android:text="@string/new_board_done_button"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/newBoardPermission"
|
|
|
|
app:layout_constraintHorizontal_bias="1.0"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/newBoardColor"
|
|
|
|
app:layout_constraintVertical_bias="0.40" />
|
2019-12-02 18:19:04 +00:00
|
|
|
|
|
|
|
<Button
|
2019-12-30 14:13:14 +00:00
|
|
|
android:id="@+id/newBoardCancel"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:onClick="onCancel"
|
|
|
|
android:text="@string/new_board_cancel_button"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/newBoardPermission"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/newBoardColor"
|
|
|
|
app:layout_constraintVertical_bias="0.40" />
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/newBoardColor"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/newBoardPermission"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/newBoardPermission"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/newBoardPermission"
|
|
|
|
app:layout_constraintVertical_bias="0.120000005" />
|
2019-12-02 18:19:04 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|