|
@@ -26,7 +26,7 @@
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <RelativeLayout
|
|
|
+ <LinearLayout
|
|
|
android:id="@+id/user_info"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="80dp"
|
|
@@ -37,79 +37,90 @@
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/user_icon"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="50dp"
|
|
|
android:layout_marginStart="25dp"
|
|
|
- android:layout_marginTop="@dimen/common_padding_large"
|
|
|
- android:src="@mipmap/icon_user" />
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:src="@mipmap/icon_user"
|
|
|
+ tools:ignore="ContentDescription"/>
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/user"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/common_padding_large"
|
|
|
- android:layout_marginTop="@dimen/common_padding_large"
|
|
|
- android:layout_toEndOf="@id/user_icon"
|
|
|
- android:text="@string/staff"
|
|
|
- android:textColor="@color/text_color"
|
|
|
- android:textSize="@dimen/text_size_small"
|
|
|
- android:textStyle="bold" />
|
|
|
+ android:layout_marginStart="@dimen/common_padding"
|
|
|
+ android:layout_marginEnd="@dimen/common_padding"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_gravity="center">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/user_name"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/common_padding_large"
|
|
|
- android:layout_toEndOf="@id/user"
|
|
|
- android:textColor="@color/text_color"
|
|
|
- android:textSize="@dimen/text_size_small" />
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/department"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/common_padding_large"
|
|
|
- android:layout_marginTop="@dimen/common_padding_large"
|
|
|
- android:layout_toEndOf="@id/user_name"
|
|
|
- android:text="@string/department"
|
|
|
- android:textColor="@color/text_color"
|
|
|
- android:textSize="@dimen/text_size_small"
|
|
|
- android:textStyle="bold" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/user"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/common_padding_large"
|
|
|
+ android:text="@string/staff"
|
|
|
+ android:textColor="@color/text_color"
|
|
|
+ android:textSize="@dimen/text_size_small"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/user_name"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="@color/text_color"
|
|
|
+ android:textSize="@dimen/text_size_small" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/department_name"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/common_padding_large"
|
|
|
- android:layout_toEndOf="@id/department"
|
|
|
- android:textColor="@color/text_color"
|
|
|
- android:textSize="@dimen/text_size_small" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/department"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/common_padding_large"
|
|
|
+ android:text="@string/department"
|
|
|
+ android:textColor="@color/text_color"
|
|
|
+ android:textSize="@dimen/text_size_small"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/department_name"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="@color/text_color"
|
|
|
+ android:textSize="@dimen/text_size_small" />
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/job"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_below="@+id/user"
|
|
|
- android:layout_marginStart="@dimen/common_padding_large"
|
|
|
- android:layout_marginTop="5dp"
|
|
|
- android:layout_toEndOf="@id/user_icon"
|
|
|
- android:text="@string/job"
|
|
|
- android:textColor="@color/text_color"
|
|
|
- android:textSize="@dimen/text_size_small"
|
|
|
- android:textStyle="bold" />
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/common_padding"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/job_name"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_below="@+id/user"
|
|
|
- android:layout_marginTop="5dp"
|
|
|
- android:layout_toEndOf="@id/job"
|
|
|
- android:textColor="@color/text_color"
|
|
|
- android:textSize="@dimen/text_size_small" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/job"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/common_padding_large"
|
|
|
+ android:text="@string/job"
|
|
|
+ android:textColor="@color/text_color"
|
|
|
+ android:textSize="@dimen/text_size_small"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/job_name"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="@color/text_color"
|
|
|
+ android:textSize="@dimen/text_size_small" />
|
|
|
|
|
|
- </RelativeLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<ScrollView
|
|
|
android:layout_width="match_parent"
|