2019-06-03 23:25:05 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-07 21:34:02 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:paddingTop="@dimen/dimen8dp"
|
|
|
|
android:paddingBottom="@dimen/dimen8dp"
|
|
|
|
android:paddingStart="@dimen/dimen20dp"
|
|
|
|
android:paddingEnd="@dimen/dimen20dp"
|
|
|
|
android:background="?attr/primaryBackgroundColor">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2022-08-07 21:34:02 +02:00
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
android:id="@+id/avatarFrame"
|
|
|
|
android:layout_width="@dimen/dimen24dp"
|
|
|
|
android:layout_height="@dimen/dimen24dp"
|
|
|
|
style="?attr/materialCardViewFilledStyle"
|
|
|
|
app:cardElevation="@dimen/dimen0dp"
|
|
|
|
android:layout_marginEnd="@dimen/dimen12dp"
|
|
|
|
app:cardCornerRadius="@dimen/dimen12dp">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/userAvatar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:contentDescription="@string/generalImgContentText"
|
|
|
|
android:src="@drawable/ic_android" />
|
|
|
|
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/userInfoSection"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:layout_toEndOf="@+id/avatarFrame"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/userFullName"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:layout_marginBottom="@dimen/dimen4dp"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:text="@string/userName"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:textSize="@dimen/dimen14sp"
|
2021-04-13 16:19:42 +02:00
|
|
|
android:textStyle="bold" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/userName"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:layout_marginBottom="@dimen/dimen4dp"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:text="@string/addCollaboratorViewUserDesc"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:textSize="@dimen/dimen12sp" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/frameAddCollaborator"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_toEndOf="@+id/userInfoSection"
|
|
|
|
android:gravity="end"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:layout_marginStart="@dimen/dimen16dp"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_marginEnd="0dp"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:paddingTop="@dimen/dimen4dp"
|
|
|
|
android:paddingBottom="@dimen/dimen4dp"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/addCollaboratorButtonAdd"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:layout_width="@dimen/dimen28dp"
|
|
|
|
android:layout_height="@dimen/dimen28dp"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_gravity="end"
|
|
|
|
android:contentDescription="@string/addNewContent"
|
2020-07-12 19:18:50 +02:00
|
|
|
android:background="@drawable/shape_circle"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:src="@drawable/ic_add"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:padding="@dimen/dimen8dp"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/addCollaboratorButtonRemove"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:layout_width="@dimen/dimen28dp"
|
|
|
|
android:layout_height="@dimen/dimen28dp"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_gravity="end"
|
|
|
|
android:contentDescription="@string/removeContent"
|
2020-07-12 19:18:50 +02:00
|
|
|
android:background="@drawable/shape_circle_red"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:src="@drawable/ic_remove"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:padding="@dimen/dimen8dp"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|