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/pageTitleCreateTeam"
|
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-13 15:30:43 +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/teamNameLayout"
|
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/newTeamTitle"
|
|
|
|
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/teamName"
|
|
|
|
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>
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/teamDescLayout"
|
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/newTeamDesc"
|
|
|
|
android:textColorHint="?attr/hintColor"
|
|
|
|
app:boxBackgroundColor="?attr/inputBackgroundColor"
|
|
|
|
app:boxStrokeErrorColor="@color/darkRed"
|
2020-10-20 20:09:07 +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-20 20:09:07 +02:00
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/teamDesc"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:imeOptions="actionNext"
|
|
|
|
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>
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/teamPermissionLayout"
|
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/newTeamPermission"
|
|
|
|
android:textColorHint="?attr/hintColor"
|
|
|
|
app:boxBackgroundColor="?attr/inputBackgroundColor"
|
|
|
|
app:boxStrokeErrorColor="@color/darkRed"
|
|
|
|
app:hintTextColor="?attr/hintColor">
|
2020-10-20 20:09:07 +02:00
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/teamPermission"
|
|
|
|
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-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
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/teamPermissionDetail"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:gravity="start"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:textSize="@dimen/dimen12sp"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:visibility="gone"/>
|
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/teamAccessControlsLayout"
|
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/newTeamAccessControls"
|
|
|
|
android:textColorHint="?attr/hintColor"
|
|
|
|
app:boxBackgroundColor="?attr/inputBackgroundColor"
|
|
|
|
app:boxStrokeErrorColor="@color/darkRed"
|
|
|
|
app:hintTextColor="?attr/hintColor">
|
2020-10-20 20:09:07 +02:00
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/teamAccessControls"
|
|
|
|
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-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
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/teamAccessControlsArray"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:visibility="gone"/>
|
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/createTeamButton"
|
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
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</ScrollView>
|
|
|
|
|
2020-06-01 17:53:56 +02:00
|
|
|
</LinearLayout>
|