2020-03-15 16:09:26 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-08-15 16:26:02 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-10-09 17:47:52 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?attr/primaryBackgroundColor"
|
|
|
|
android:orientation="vertical">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
2020-03-28 13:44:45 +01:00
|
|
|
android:id="@+id/appbar"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-03-28 13:44:45 +01:00
|
|
|
android:layout_height="wrap_content"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:theme="@style/Widget.AppCompat.SearchView"
|
|
|
|
app:elevation="@dimen/dimen0dp">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-08-08 17:43:14 +02:00
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
2019-06-03 23:25:05 +02:00
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-08-08 17:43:14 +02:00
|
|
|
android:background="?attr/primaryBackgroundColor">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/close"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:layout_width="@dimen/dimen26dp"
|
|
|
|
android:layout_height="@dimen/dimen26dp"
|
|
|
|
android:layout_marginStart="@dimen/dimen16dp"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:layout_marginEnd="@dimen/dimen16dp"
|
2021-04-13 20:56:50 +02:00
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
android:clickable="true"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:contentDescription="@string/close"
|
|
|
|
android:focusable="true"
|
|
|
|
android:gravity="center_vertical"
|
2023-01-19 12:55:19 +01:00
|
|
|
android:src="@drawable/ic_close" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/toolbar_title"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:maxLines="1"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:text="@string/pageTitleCreateNewIssue"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
2023-01-19 12:55:19 +01:00
|
|
|
android:textSize="@dimen/dimen20sp" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-08-08 17:43:14 +02:00
|
|
|
</com.google.android.material.appbar.MaterialToolbar>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
2022-08-07 21:34:02 +02:00
|
|
|
<com.google.android.material.progressindicator.LinearProgressIndicator
|
|
|
|
android:id="@+id/progressBar"
|
2022-08-15 16:26:02 +02:00
|
|
|
style="@style/Widget.Material3.LinearProgressIndicator"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:indeterminate="true"
|
|
|
|
android:visibility="gone"
|
2022-08-15 16:26:02 +02:00
|
|
|
app:indicatorColor="?attr/progressIndicatorColor"/>
|
2022-08-07 21:34:02 +02:00
|
|
|
|
2019-06-03 23:25:05 +02:00
|
|
|
<ScrollView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-03-05 16:23:15 +01:00
|
|
|
android:background="?attr/primaryBackgroundColor">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="@dimen/dimen16dp">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-10-09 17:47:52 +02:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/newIssueTitleLayout"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:layout_marginTop="@dimen/dimen8dp"
|
|
|
|
android:layout_marginBottom="@dimen/dimen8dp"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:hint="@string/newIssueTitle"
|
|
|
|
android:textColorHint="?attr/hintColor"
|
|
|
|
app:boxBackgroundColor="?attr/inputBackgroundColor"
|
|
|
|
app:boxStrokeErrorColor="@color/darkRed"
|
2020-10-09 17:47:52 +02:00
|
|
|
app:counterEnabled="true"
|
|
|
|
app:counterMaxLength="255"
|
|
|
|
app:counterTextColor="?attr/inputTextColor"
|
2022-08-15 16:26:02 +02:00
|
|
|
app:endIconMode="clear_text"
|
|
|
|
app:endIconTint="?attr/iconsColor"
|
|
|
|
app:hintTextColor="?attr/hintColor">
|
2020-10-09 17:47:52 +02:00
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/newIssueTitle"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:imeOptions="actionNext"
|
|
|
|
android:inputType="textCapSentences"
|
|
|
|
android:singleLine="true"
|
2020-10-09 17:47:52 +02:00
|
|
|
android:textColor="?attr/inputTextColor"
|
|
|
|
android:textColorHighlight="?attr/hintColor"
|
|
|
|
android:textColorHint="?attr/hintColor"
|
2023-01-19 12:55:19 +01:00
|
|
|
android:textSize="@dimen/dimen16sp" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-10-09 17:47:52 +02:00
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-10-09 17:47:52 +02:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/newIssueDescriptionLayout"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:layout_marginTop="@dimen/dimen8dp"
|
|
|
|
android:layout_marginBottom="@dimen/dimen8dp"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:hint="@string/newIssueDescriptionTitle"
|
|
|
|
android:textColorHint="?attr/hintColor"
|
|
|
|
app:boxBackgroundColor="?attr/inputBackgroundColor"
|
|
|
|
app:boxStrokeErrorColor="@color/darkRed"
|
2020-10-09 17:47:52 +02:00
|
|
|
app:endIconMode="clear_text"
|
|
|
|
app:endIconTint="?attr/iconsColor"
|
2022-08-15 16:26:02 +02:00
|
|
|
app:hintTextColor="?attr/hintColor">
|
2020-10-09 17:47:52 +02:00
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/newIssueDescription"
|
|
|
|
android:layout_width="match_parent"
|
2023-01-19 12:55:19 +01:00
|
|
|
android:layout_height="@dimen/dimen180dp"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:gravity="top|start"
|
|
|
|
android:inputType="textCapSentences|textMultiLine"
|
|
|
|
android:scrollbars="vertical"
|
2020-10-09 17:47:52 +02:00
|
|
|
android:textColor="?attr/inputTextColor"
|
|
|
|
android:textColorHighlight="?attr/hintColor"
|
|
|
|
android:textColorHint="?attr/hintColor"
|
2023-01-19 12:55:19 +01:00
|
|
|
android:textSize="@dimen/dimen16sp" />
|
2020-10-09 17:47:52 +02:00
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
2023-01-19 12:55:19 +01:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/markdown_preview"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:minHeight="@dimen/dimen186dp"
|
|
|
|
android:layout_marginTop="@dimen/dimen8dp"
|
|
|
|
android:layout_marginBottom="@dimen/dimen8dp"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textIsSelectable="true"
|
|
|
|
android:textSize="@dimen/dimen14sp"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
2020-10-09 17:47:52 +02:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/newIssueAssigneesListLayout"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:layout_marginTop="@dimen/dimen8dp"
|
|
|
|
android:layout_marginBottom="@dimen/dimen8dp"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:hint="@string/newIssueAssigneesListTitle"
|
|
|
|
android:textColorHint="?attr/hintColor"
|
|
|
|
app:boxBackgroundColor="?attr/inputBackgroundColor"
|
|
|
|
app:hintTextColor="?attr/hintColor">
|
2020-10-09 17:47:52 +02:00
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/newIssueAssigneesList"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:focusable="false"
|
2020-10-09 17:47:52 +02:00
|
|
|
android:textColor="?attr/inputTextColor"
|
|
|
|
android:textColorHighlight="?attr/hintColor"
|
|
|
|
android:textColorHint="?attr/hintColor"
|
2023-01-19 12:55:19 +01:00
|
|
|
android:textSize="@dimen/dimen16sp" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-10-09 17:47:52 +02:00
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-10-09 17:47:52 +02:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/newIssueMilestoneSpinnerLayout"
|
2022-08-15 16:26:02 +02:00
|
|
|
style="@style/Widget.Material3.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:layout_marginTop="@dimen/dimen8dp"
|
|
|
|
android:layout_marginBottom="@dimen/dimen8dp"
|
2020-10-09 17:47:52 +02:00
|
|
|
android:hint="@string/newIssueMilestoneTitle"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:textColorHint="?attr/hintColor"
|
|
|
|
app:boxBackgroundColor="?attr/inputBackgroundColor"
|
2020-10-09 17:47:52 +02:00
|
|
|
app:endIconTint="?attr/iconsColor"
|
2022-08-15 16:26:02 +02:00
|
|
|
app:hintTextColor="?attr/hintColor">
|
2020-10-09 17:47:52 +02:00
|
|
|
|
|
|
|
<AutoCompleteTextView
|
2020-03-05 16:23:15 +01:00
|
|
|
android:id="@+id/newIssueMilestoneSpinner"
|
2020-10-09 17:47:52 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-03-05 16:23:15 +01:00
|
|
|
android:layout_height="wrap_content"
|
2020-10-09 17:47:52 +02:00
|
|
|
android:inputType="none"
|
|
|
|
android:labelFor="@+id/newIssueMilestoneSpinner"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:textColor="?attr/inputTextColor"
|
2023-01-19 12:55:19 +01:00
|
|
|
android:textSize="@dimen/dimen16sp" />
|
2020-03-05 16:23:15 +01:00
|
|
|
|
2020-10-09 17:47:52 +02:00
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-10-09 17:47:52 +02:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/newIssueLabelsLayout"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:layout_marginTop="@dimen/dimen8dp"
|
|
|
|
android:layout_marginBottom="@dimen/dimen8dp"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:hint="@string/newIssueLabelsTitle"
|
|
|
|
android:textColorHint="?attr/hintColor"
|
|
|
|
app:boxBackgroundColor="?attr/inputBackgroundColor"
|
|
|
|
app:hintTextColor="?attr/hintColor">
|
2020-10-09 17:47:52 +02:00
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/newIssueLabels"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:focusable="false"
|
2020-10-09 17:47:52 +02:00
|
|
|
android:textColor="?attr/inputTextColor"
|
|
|
|
android:textColorHighlight="?attr/hintColor"
|
|
|
|
android:textColorHint="?attr/hintColor"
|
2023-01-19 12:55:19 +01:00
|
|
|
android:textSize="@dimen/dimen16sp" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-10-09 17:47:52 +02:00
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-10-09 17:47:52 +02:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/newIssueDueDateLayout"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:layout_marginTop="@dimen/dimen8dp"
|
|
|
|
android:layout_marginBottom="@dimen/dimen8dp"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:hint="@string/newIssueDueDateTitle"
|
|
|
|
android:textColorHint="?attr/hintColor"
|
|
|
|
app:boxBackgroundColor="?attr/inputBackgroundColor"
|
|
|
|
app:boxStrokeErrorColor="@color/darkRed"
|
2020-10-09 17:47:52 +02:00
|
|
|
app:endIconMode="clear_text"
|
|
|
|
app:endIconTint="?attr/iconsColor"
|
2022-08-15 16:26:02 +02:00
|
|
|
app:hintTextColor="?attr/hintColor">
|
2020-10-09 17:47:52 +02:00
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/newIssueDueDate"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:focusable="false"
|
|
|
|
android:maxLines="1"
|
2020-10-09 17:47:52 +02:00
|
|
|
android:textColor="?attr/inputTextColor"
|
|
|
|
android:textColorHighlight="?attr/hintColor"
|
|
|
|
android:textColorHint="?attr/hintColor"
|
2023-01-19 12:55:19 +01:00
|
|
|
android:textSize="@dimen/dimen16sp" />
|
2020-10-09 17:47:52 +02:00
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2022-08-12 04:01:51 +02:00
|
|
|
<com.google.android.material.button.MaterialButton
|
2019-06-03 23:25:05 +02:00
|
|
|
android:id="@+id/createNewIssueButton"
|
2020-10-20 20:09:07 +02:00
|
|
|
android:layout_width="match_parent"
|
2022-08-12 04:01:51 +02:00
|
|
|
android:layout_height="@dimen/dimen54dp"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:layout_marginTop="@dimen/dimen8dp"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:text="@string/newCreateButtonCopy"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:textColor="@color/btnTextColor"
|
2023-01-19 12:55:19 +01:00
|
|
|
android:textStyle="bold" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</ScrollView>
|
|
|
|
|
2020-07-19 15:44:08 +02:00
|
|
|
</LinearLayout>
|