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-20 20:09:07 +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"
|
|
|
|
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/createRelease"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
2022-08-15 16:26:02 +02: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>
|
|
|
|
|
|
|
|
<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-20 20:09:07 +02:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/releaseTitleLayout"
|
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/releaseTitleText"
|
|
|
|
android:textColorHint="?attr/hintColor"
|
|
|
|
app:boxBackgroundColor="?attr/inputBackgroundColor"
|
|
|
|
app:boxStrokeErrorColor="@color/darkRed"
|
2020-10-20 20:09:07 +02:00
|
|
|
app:endIconMode="clear_text"
|
|
|
|
app:endIconTint="?attr/iconsColor"
|
2022-08-15 16:26:02 +02:00
|
|
|
app:hintTextColor="?attr/hintColor">
|
2020-10-20 20:09:07 +02:00
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/releaseTitle"
|
|
|
|
android:layout_width="match_parent"
|
2020-03-05 16:23:15 +01:00
|
|
|
android:layout_height="wrap_content"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:imeOptions="actionNext"
|
|
|
|
android:inputType="textCapSentences"
|
|
|
|
android:singleLine="true"
|
2020-10-20 20:09:07 +02:00
|
|
|
android:textColor="?attr/inputTextColor"
|
|
|
|
android:textColorHighlight="?attr/hintColor"
|
|
|
|
android:textColorHint="?attr/hintColor"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:textSize="@dimen/dimen16sp"/>
|
2020-03-05 16:23:15 +01:00
|
|
|
|
2020-10-20 20:09:07 +02:00
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-10-20 20:09:07 +02:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/releaseTagNameLayout"
|
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/releaseTagNameText"
|
|
|
|
android:textColorHint="?attr/hintColor"
|
|
|
|
app:boxBackgroundColor="?attr/inputBackgroundColor"
|
|
|
|
app:boxStrokeErrorColor="@color/darkRed"
|
2020-10-20 20:09:07 +02:00
|
|
|
app:endIconMode="clear_text"
|
|
|
|
app:endIconTint="?attr/iconsColor"
|
2022-08-15 16:26:02 +02:00
|
|
|
app:hintTextColor="?attr/hintColor">
|
2020-10-20 20:09:07 +02:00
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/releaseTagName"
|
|
|
|
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-20 20:09:07 +02:00
|
|
|
android:textColor="?attr/inputTextColor"
|
|
|
|
android:textColorHighlight="?attr/hintColor"
|
|
|
|
android:textColorHint="?attr/hintColor"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:textSize="@dimen/dimen16sp"/>
|
2020-10-20 20:09:07 +02:00
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-10-20 20:09:07 +02:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/releaseContentLayout"
|
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/releaseContentText"
|
|
|
|
android:textColorHint="?attr/hintColor"
|
|
|
|
app:boxBackgroundColor="?attr/inputBackgroundColor"
|
|
|
|
app:boxStrokeErrorColor="@color/darkRed"
|
2020-10-20 20:09:07 +02:00
|
|
|
app:endIconMode="clear_text"
|
|
|
|
app:endIconTint="?attr/iconsColor"
|
2022-08-15 16:26:02 +02:00
|
|
|
app:hintTextColor="?attr/hintColor">
|
2020-10-20 20:09:07 +02:00
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/releaseContent"
|
|
|
|
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"
|
2023-01-19 12:55:19 +01:00
|
|
|
android:inputType="textCapSentences|textMultiLine"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:scrollbars="vertical"
|
2020-10-20 20:09:07 +02:00
|
|
|
android:textColor="?attr/inputTextColor"
|
|
|
|
android:textColorHighlight="?attr/hintColor"
|
|
|
|
android:textColorHint="?attr/hintColor"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:textSize="@dimen/dimen16sp"/>
|
2020-10-20 20:09:07 +02:00
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
2023-01-19 12:55:19 +01:00
|
|
|
<TextView
|
|
|
|
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-20 20:09:07 +02:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/releaseBranchLayout"
|
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-20 20:09:07 +02:00
|
|
|
android:hint="@string/releaseBranchText"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:textColorHint="?attr/hintColor"
|
|
|
|
app:boxBackgroundColor="?attr/inputBackgroundColor"
|
2020-10-20 20:09:07 +02:00
|
|
|
app:endIconTint="?attr/iconsColor"
|
2022-08-15 16:26:02 +02:00
|
|
|
app:hintTextColor="?attr/hintColor">
|
2020-10-20 20:09:07 +02:00
|
|
|
|
|
|
|
<AutoCompleteTextView
|
|
|
|
android:id="@+id/releaseBranch"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inputType="none"
|
|
|
|
android:labelFor="@+id/releaseBranch"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:textColor="?attr/inputTextColor"
|
|
|
|
android:textSize="@dimen/dimen16sp"/>
|
2020-10-20 20:09:07 +02:00
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/releaseType"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:layout_marginTop="@dimen/dimen10dp"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:checked="false"
|
|
|
|
android:text="@string/releaseTypeText"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="@dimen/dimen16sp"/>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/releaseDraft"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:layout_marginTop="@dimen/dimen10dp"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:checked="false"
|
|
|
|
android:text="@string/releaseDraftText"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="@dimen/dimen16sp"/>
|
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/createNewRelease"
|
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"
|
2023-03-26 08:11:59 +02:00
|
|
|
android:textColor="?attr/materialCardBackgroundColor"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:textStyle="bold"/>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2022-08-12 04:01:51 +02:00
|
|
|
<com.google.android.material.button.MaterialButton
|
2022-02-12 14:41:11 +01:00
|
|
|
android:id="@+id/createNewTag"
|
|
|
|
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"
|
2022-02-12 14:41:11 +01:00
|
|
|
android:text="@string/create_tag"
|
2023-03-26 08:11:59 +02:00
|
|
|
android:textColor="?attr/materialCardBackgroundColor"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:textStyle="bold"/>
|
2022-02-12 14:41:11 +01:00
|
|
|
|
2019-06-03 23:25:05 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</ScrollView>
|
|
|
|
|
2020-06-01 17:53:56 +02:00
|
|
|
</LinearLayout>
|