初始代码

This commit is contained in:
2025-09-03 18:52:07 +08:00
parent 2d21a47e87
commit 6e3e30efa5
3249 changed files with 239147 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 B

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#FFFFFFFF" />
<corners android:radius="20dp" android:bottomLeftRadius="0dp" android:bottomRightRadius="0dp"/>
</shape>
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="10dp"/>
<solid android:color="@color/white"/>
</shape>
Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid
android:color="#147AFF"/>
<corners
android:radius="10dp"/>
</shape>
Binary file not shown.

After

Width:  |  Height:  |  Size: 914 B

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#0365F9" />
<size android:width="1.5dp" />
</shape>
Binary file not shown.

After

Width:  |  Height:  |  Size: 590 B

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<stroke
android:color="#DDDDDD"
android:width="1dp"/>
<solid
android:color="@color/white"/>
<corners
android:radius="10dp"/>
</shape>
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid
android:color="#F0F9F9F9"/>
<corners
android:radius="10dp"/>
</shape>
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#F0F9F9F9" />
<corners android:radius="10dp" />
</shape>
Binary file not shown.

After

Width:  |  Height:  |  Size: 734 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="16dp"/>
<solid android:color="@color/transparent"/>
<stroke android:width="1dp" android:color="#F0DDDDDD"/>
</shape>
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="12dp"/>
<solid android:color="#F0F9F9F9"/>
</shape>
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="16dp"/>
<solid android:color="@color/transparent"/>
<stroke android:width="1dp" android:color="#147AFF"/>
</shape>
Binary file not shown.

After

Width:  |  Height:  |  Size: 447 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 591 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<shape android:shape="rectangle"
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#1A108EE9"/>
<corners android:radius="3dp"/>
<stroke android:color="#1890FF" android:width="1dp" android:dashWidth="1dp"/>
</shape>
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
<solid android:color="#ffffff" />
<stroke
android:dashGap="5dp"
android:dashWidth="5dp"
android:width="1dp"
android:color="#bfbfbf" />
<corners android:radius="25dp" />
</shape>
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid
android:color="#147AFF"/>
<corners
android:radius="10dp"/>
</shape>
Binary file not shown.

After

Width:  |  Height:  |  Size: 769 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 590 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<stroke
android:color="#DDDDDD"
android:width="1dp"/>
<solid
android:color="@color/white"/>
<corners
android:radius="10dp"/>
</shape>
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid
android:color="#F0F9F9F9"/>
<corners
android:radius="10dp"/>
</shape>
Binary file not shown.

After

Width:  |  Height:  |  Size: 738 B

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="12dp"/>
<solid android:color="#F0F9F9F9"/>
</shape>
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="40dp"
android:layout_height="wrap_content"
xmlns:tools="http://schemas.android.com/tools"
android:background="@color/transparent"
android:orientation="vertical"
android:layout_marginEnd="16dp"
android:gravity="center_horizontal">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.tencent.qcloud.tuikit.timcommon.component.RoundCornerImageView
android:id="@+id/ivAvatar"
android:layout_width="40dp"
android:layout_height="40dp"
android:clickable="false"
android:focusable="false"
android:scaleType="centerCrop"
app:corner_radius="3.2dp"
tools:background="@android:drawable/ic_menu_gallery"/>
<ImageView
android:id="@+id/remove_icon"
android:layout_width="12dp"
android:layout_height="12dp"
android:layout_gravity="end|top"
android:background="@drawable/contact_selected_remove_icon"/>
</FrameLayout>
<TextView
android:id="@+id/user_name_tv"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:ellipsize="end"
android:maxLines="1"
android:textColor="@color/black"
android:textSize="12sp"
android:gravity="center"
tools:text="A"/>
</LinearLayout>
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:gravity="center"
android:paddingStart="12dp"
android:paddingEnd="12dp"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/icon_iv"
android:layout_width="15.86dp"
android:layout_height="15.86dp"/>
<TextView
android:id="@+id/text_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:textSize="14sp"
android:textColor="#FF000000"/>
</LinearLayout>
@@ -0,0 +1,207 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_marginTop="10dp"
android:background="@drawable/contact_bottom_sheet_dialog_border"
android:minHeight="1000dp"
android:orientation="vertical"
android:paddingTop="28dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="23dp"
android:orientation="horizontal"
android:paddingStart="16dp"
android:paddingEnd="16dp">
<TextView
android:id="@+id/cancel_button"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="0.33"
android:text="@string/cancel"
android:textColor="#0365F9"
android:textSize="16sp" />
<TextView
android:id="@+id/title_tv"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="0.33"
android:gravity="center"
android:text="@string/contact_add_more_info"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="bold" />
<View
android:layout_width="0dp"
android:layout_height="1dp"
android:layout_weight="0.33" />
</LinearLayout>
<RelativeLayout
android:id="@+id/friend_detail_area"
android:layout_width="match_parent"
android:layout_height="@dimen/contact_profile_self_height"
android:background="#FFFFFF"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:visibility="gone"
tools:visibility="visible">
<com.tencent.qcloud.tuikit.timcommon.component.gatherimage.ShadeImageView
android:id="@+id/friend_icon"
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_gravity="start"
android:layout_marginEnd="18dp"
app:round_radius="60dp"
android:scaleType="centerCrop" />
<TextView
android:id="@+id/friend_nick_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@id/friend_icon"
android:layout_toEndOf="@id/friend_icon"
android:gravity="center_vertical"
android:textColor="@color/black"
android:textSize="16sp"
android:textStyle="bold"
tools:text="Lee" />
<TextView
android:id="@+id/friend_account_tag"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/friend_nick_name"
android:layout_alignStart="@id/friend_nick_name"
android:layout_marginTop="@dimen/contact_profile_text_margin"
android:gravity="center_vertical"
android:text="@string/contact_account_tag"
android:textColor="@color/black"
android:textSize="12sp" />
<TextView
android:id="@+id/friend_account"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/friend_nick_name"
android:layout_alignTop="@+id/friend_account_tag"
android:layout_toEndOf="@id/friend_account_tag"
android:gravity="center_vertical"
android:textColor="@color/font_blue"
android:textSize="12sp"
tools:text="99618" />
<TextView
android:id="@+id/group_type_tag"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/friend_account_tag"
android:layout_alignStart="@id/friend_account_tag"
android:layout_marginTop="@dimen/contact_profile_text_margin"
android:gravity="center_vertical"
android:text="@string/contact_group_type_tag"
android:textColor="#CC000000"
android:textSize="12sp" />
<TextView
android:id="@+id/group_type"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@id/group_type_tag"
android:layout_toEndOf="@id/group_type_tag"
android:gravity="center_vertical"
android:textSize="12sp"
android:textColor="#CC000000"
tools:text="believe" />
</RelativeLayout>
<LinearLayout
android:id="@+id/validation_message_area"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_marginTop="16dp"
android:text="@string/contact_set_add_wording"
android:textColor="@color/black"
android:textSize="14sp" />
<EditText
android:id="@+id/validation_message_input"
android:layout_width="match_parent"
android:layout_height="123dp"
android:layout_marginTop="4dp"
android:gravity="start|top"
android:textAlignment="viewStart"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:paddingTop="12dp"
android:paddingBottom="12dp"
android:textColor="#99000000"
android:textSize="16sp"
android:background="#F0F9F9F9" />
</LinearLayout>
<LinearLayout
android:id="@+id/remark_area"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:visibility="visible">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:text="@string/contact_set_remark_and_group"
android:textSize="14sp"
android:textColor="@color/black"/>
<com.tencent.qcloud.tuikit.timcommon.component.MinimalistLineControllerView
android:id="@+id/remarks_controller"
app:name="@string/contact_add_friend_remark"
app:canNav="true"
android:layout_width="match_parent"
android:layout_height="46dp"/>
<View
android:background="#1A000000"
android:layout_width="match_parent"
android:layout_height="1dp"/>
</LinearLayout>
<TextView
android:id="@+id/send_button"
android:layout_width="match_parent"
android:layout_height="42dp"
android:gravity="center"
android:layout_marginTop="20dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:background="@drawable/contact_minimalist_result_bg"
android:text="@string/contact_add_more_send_request_text"
android:textColor="#147AFF"
android:textSize="16sp" />
</LinearLayout>
@@ -0,0 +1,210 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools"
android:layout_marginTop="10dp"
android:minHeight="1000dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:paddingTop="28dp"
android:background="@drawable/contact_bottom_sheet_dialog_border"
android:orientation="vertical">
<LinearLayout
android:orientation="horizontal"
android:layout_marginBottom="23dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/cancel_button"
android:layout_weight="0.33"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="@string/cancel"
android:textColor="#0365F9"
android:textSize="16sp"/>
<TextView
android:id="@+id/title_tv"
android:layout_weight="0.33"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/add_friend"
android:textStyle="bold"
android:textColor="#000000"
android:textSize="16sp"/>
<View
android:layout_weight="0.33"
android:layout_width="0dp"
android:layout_height="1dp"/>
</LinearLayout>
<!-- search-->
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/contact_minimalist_result_bg"
android:layout_gravity="center" >
<TextView
android:id="@+id/search_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#147AFF"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:layout_marginEnd="10dp"
android:text="@string/contact_search"
android:textSize="17sp" />
<LinearLayout
android:focusable="true"
android:layout_toStartOf="@+id/search_button"
android:focusableInTouchMode="true"
android:layout_marginTop="5dp"
android:layout_width="match_parent"
android:layout_height="35dp"
android:layout_gravity="center"
android:layout_marginEnd="5dp"
android:orientation="horizontal">
<ImageView
android:layout_marginStart="5dp"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_gravity="center"
android:scaleType="fitCenter"
android:background="@drawable/core_search_icon" />
<EditText
android:id="@+id/search_edit"
android:layout_width="0dp"
android:layout_height="28dp"
android:layout_gravity="center"
android:layout_weight="1"
android:layout_marginStart="10dp"
android:textAlignment="viewStart"
android:background="@null"
android:imeOptions="actionSearch"
android:hint="@string/hint_search_user_id"
android:textColorHint="#999999"
android:lines="1"
android:textSize="16sp"
android:textColor="@color/black"
android:singleLine="true" />
<ImageView
android:layout_marginEnd="3dp"
android:id="@+id/imgv_delete"
android:layout_width="25dp"
android:layout_height="25dp"
android:layout_gravity="center"
android:scaleType="centerInside"
android:src="@drawable/core_delete_icon"
android:visibility="gone" />
</LinearLayout>
</RelativeLayout>
<RelativeLayout
android:id="@+id/friend_detail_area"
android:layout_width="match_parent"
android:layout_height="@dimen/contact_profile_self_height"
android:background="#FFFFFF"
android:gravity="center_vertical"
android:orientation="horizontal"
android:visibility="gone"
tools:visibility="visible">
<com.tencent.qcloud.tuikit.timcommon.component.gatherimage.ShadeImageView
android:id="@+id/friend_icon"
android:layout_width="45dp"
android:layout_height="45dp"
android:layout_gravity="start"
android:scaleType="centerCrop"
android:layout_marginEnd="18dp" />
<TextView
android:id="@+id/friend_nick_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@id/friend_icon"
android:layout_toEndOf="@id/friend_icon"
android:gravity="center_vertical"
android:textSize="16sp"
android:textColor="@color/black"
android:textStyle="bold"
tools:text="Lee" />
<TextView
android:id="@+id/friend_account_tag"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignStart="@id/friend_nick_name"
android:layout_below="@id/friend_nick_name"
android:layout_marginTop="@dimen/contact_profile_text_margin"
android:gravity="center_vertical"
android:textSize="12sp"
android:textColor="@color/black"
android:text="@string/contact_account_tag" />
<TextView
android:id="@+id/friend_account"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/friend_account_tag"
android:layout_toEndOf="@id/friend_account_tag"
android:layout_below="@id/friend_nick_name"
android:gravity="center_vertical"
android:textColor="@color/font_blue"
android:textSize="12sp"
tools:text="99618" />
<TextView
android:id="@+id/group_type_tag"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignStart="@id/friend_account_tag"
android:layout_below="@id/friend_account_tag"
android:layout_marginTop="@dimen/contact_profile_text_margin"
android:gravity="center_vertical"
android:textSize="12sp"
android:textColor="#CC000000"
android:text="@string/contact_group_type_tag" />
<TextView
android:id="@+id/group_type"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toEndOf="@id/group_type_tag"
android:layout_alignTop="@id/group_type_tag"
android:gravity="center_vertical"
android:textSize="12sp"
android:textColor="#CC000000"
tools:text="believe" />
</RelativeLayout>
<TextView
android:id="@+id/id_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15.36dp"
android:gravity="center"
android:textSize="13.44sp"
android:textColor="#444444"
tools:text="Self ID"/>
<include layout="@layout/contact_minimalist_not_found_layout"
android:id="@+id/not_found_tip"
android:layout_marginTop="130dp"
android:visibility="gone"
tools:visibility="visible"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</LinearLayout>
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="horizontal"
android:gravity="center_vertical"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:background="#F0F9F9F9"
android:layout_marginBottom="1dp"
android:layout_width="match_parent"
android:layout_height="52dp">
<TextView
android:id="@+id/controller_name"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:textAlignment="viewStart"
android:textSize="16sp"
android:textColor="@color/black"/>
<com.tencent.qcloud.tuikit.timcommon.component.UnreadCountTextView
android:id="@+id/unread_count"
app:paint_color="@color/read_dot_bg"
android:textColor="@color/white"
android:layout_marginStart="4dp"
android:textSize="14sp"
android:gravity="center"
android:layout_width="16dp"
android:layout_height="16dp"
android:visibility="gone"
tools:text="99"
tools:visibility="visible"/>
<ImageView
android:id="@+id/arrow_icon"
android:layout_marginStart="4dp"
android:layout_width="16dp"
android:layout_height="16dp"
android:background="@drawable/contact_minimalist_forward_icon"/>
</LinearLayout>
@@ -0,0 +1,175 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#99000000"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical"
android:paddingTop="40dp">
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingTop="20dp"
android:paddingBottom="40dp"
android:background="@drawable/contact_bottom_sheet_dialog_border"
android:fillViewport="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_horizontal"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:paddingBottom="12dp">
<TextView
android:id="@+id/cancel_button"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="0.33"
android:textAlignment="viewStart"
android:text="@string/cancel"
android:textColor="#0365F9"
android:textSize="16sp" />
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="0.33"
android:gravity="center_horizontal"
android:text="@string/create_group"
android:textColor="@color/black"
android:textSize="20sp"
android:textStyle="bold" />
<TextView
android:id="@+id/create_button"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="0.33"
android:gravity="end"
android:textAlignment="viewEnd"
android:text="@string/contact_create"
android:textColor="#0365F9"
android:textSize="16sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<EditText
android:id="@+id/group_name_edit"
android:layout_width="match_parent"
android:layout_height="46dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:background="@null"
android:hint="@string/group_name_text"
android:textColor="@color/black"
android:textColorHint="#99000000"
android:textSize="16sp" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#EFEFF3" />
<EditText
android:id="@+id/group_id_edit"
android:layout_width="match_parent"
android:layout_height="46dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:background="@null"
android:hint="@string/group_id_option"
android:textColor="@color/black"
android:textColorHint="#99000000"
android:textSize="16sp" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#EFEFF3" />
<com.tencent.qcloud.tuikit.timcommon.component.MinimalistLineControllerView
android:id="@+id/group_type_layout"
android:layout_width="match_parent"
android:layout_height="@dimen/contact_profile_item_height"
android:layout_marginTop="10dp"
app:canNav="true"
app:name="@string/group_type_text" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#EFEFF3" />
<TextView
android:id="@+id/group_type_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/contact_profile_face_margin_right"
android:layout_marginTop="@dimen/page_margin"
android:layout_marginEnd="@dimen/contact_profile_face_margin_right"
android:gravity="center_vertical"
android:text="@string/group_type_select_text"
android:textColor="#66000000"
android:textSize="12sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="14sp"
android:textColor="@color/black"
android:textStyle="bold"
android:layout_marginStart="16dp"
android:layout_marginTop="27dp"
android:text="@string/group_avatar_text"/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/group_avatar_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="14sp"
android:textColor="@color/black"
android:textStyle="bold"
android:layout_marginStart="16dp"
android:layout_marginTop="27dp"
android:text="@string/contact_selected_group_member"/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/selected_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"/>
</LinearLayout>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</FrameLayout>
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
xmlns:app="http://schemas.android.com/apk/res-auto">
<com.tencent.qcloud.tuikit.timcommon.component.MinimalistLineControllerView
android:id="@+id/add_group_members"
android:layout_width="match_parent"
android:layout_height="46dp"
android:layout_marginTop="1dp"
app:name="@string/group_plus_add_group_member" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/group_members"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="1dp"
android:background="@color/white"
android:fadeScrollbars="true"
android:scrollbars="none" />
</LinearLayout>
@@ -0,0 +1,71 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:background="@color/white"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="12dp"
android:layout_marginEnd="16dp"
android:gravity="center_vertical"
android:orientation="horizontal">
<ImageView
android:id="@+id/checked_icon"
android:layout_width="16dp"
android:layout_height="16dp"
android:layout_marginEnd="8dp"
android:background="@drawable/common_check_box_selected" />
<TextView
android:id="@+id/group_type_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:singleLine="true"
android:textColor="@color/black"
android:textSize="16sp"
tools:text="Work" />
</LinearLayout>
<TextView
android:id="@+id/group_type_content"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="12dp"
android:gravity="center_vertical"
android:textColor="#66000000"
android:textSize="12sp"
tools:text="Work" />
</LinearLayout>
<View
android:id="@+id/selected_border"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/contact_selected_border"/>
<View
android:id="@+id/not_selected_border"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/contact_not_selected_border"/>
</FrameLayout>
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#99000000"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical"
android:paddingTop="40dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/contact_bottom_sheet_dialog_border"
android:gravity="center_horizontal"
android:orientation="vertical">
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:fillViewport="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_horizontal"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="16dp"
android:paddingTop="22dp"
android:paddingEnd="16dp"
android:paddingBottom="12dp">
<TextView
android:id="@+id/cancel_button"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="0.33"
android:text="@string/cancel"
android:textColor="#0365F9"
android:textSize="16sp" />
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="0.33"
android:gravity="center_horizontal"
android:text="@string/group_type_text"
android:textColor="@color/black"
android:textSize="20sp"
android:textStyle="bold" />
<TextView
android:id="@+id/confirm_button"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="0.33"
android:gravity="end"
android:text="@string/sure"
android:textColor="#0365F9"
android:textSize="16sp" />
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
<TextView
android:id="@+id/group_type_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:layout_marginBottom="@dimen/view_margin_bottom"
android:text="@string/group_type_content_button"
android:textColor="#104EF5"
android:textSize="16sp" />
</LinearLayout>
</FrameLayout>
@@ -0,0 +1,64 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:gravity="center_vertical"
android:orientation="vertical"
android:paddingStart="16dp"
android:paddingTop="9dp"
android:paddingEnd="16dp">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:lineHeight="41dp"
android:text="@string/contact_minimalist_contacts"
android:textColor="@color/black_font_color"
android:textSize="34sp"
android:textStyle="bold" />
<ImageView
android:id="@+id/home_rtcube"
android:layout_width="40dp"
android:layout_height="32dp"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:background="?attr/core_title_bar_back_icon"
android:clickable="false"
android:visibility="gone" />
<ImageView
android:id="@+id/create_new_button"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginStart="25dp"
android:layout_marginLeft="25dp"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:background="@drawable/contact_minimalist_create_icon" />
</RelativeLayout>
<TextView
android:id="@+id/title_rtcube"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="1"
android:lineHeight="41dp"
android:text="@string/contact_minimalist_contacts"
android:textColor="@color/black_font_color"
android:textSize="34sp"
android:textStyle="bold"
android:visibility="gone" />
</LinearLayout>
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical">
<com.tencent.qcloud.tuikit.timcommon.component.MinimalistTitleBar
android:id="@+id/new_friend_titlebar"
android:layout_width="match_parent"
android:layout_height="56dp" />
<ListView
android:id="@+id/new_friend_list"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/not_found_tip"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="120dp"
android:gravity="center_horizontal"
android:textSize="13.44sp"
android:textColor="#444444"
android:visibility="gone"
android:text="@string/contact_no_new_friend_application"
tools:visibility="visible"
tools:text="No group"/>
</LinearLayout>
@@ -0,0 +1,143 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white"
android:orientation="vertical"
android:paddingStart="16dp"
android:paddingEnd="16dp">
<com.tencent.qcloud.tuikit.timcommon.component.MinimalistTitleBar
android:id="@+id/new_friend_detail_title_bar"
android:layout_width="match_parent"
android:layout_height="56dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:focusable="true"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingTop="11.52dp"
android:paddingBottom="11.52dp">
<com.tencent.qcloud.tuikit.timcommon.component.gatherimage.ShadeImageView
android:id="@+id/avatar"
android:layout_width="40dp"
android:layout_height="40dp" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="13dp"
android:layout_weight="1"
android:gravity="start"
android:orientation="vertical">
<TextView
android:id="@+id/user_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="1"
android:textColor="@color/black"
android:textSize="16sp"
android:textStyle="bold"
tools:text="name" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/user_id_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="ID: "
android:textDirection="locale"
android:layout_marginTop="3dp"
android:textColor="#CC000000"
android:textSize="12sp" />
<TextView
android:id="@+id/user_id"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:ellipsize="end"
android:maxLines="1"
android:textColor="#CC000000"
android:textSize="12sp" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/contact_validation_message"
android:textColor="#99000000"
android:textSize="16sp" />
<TextView
android:id="@+id/validation_message"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:textSize="16sp"
android:layout_marginTop="4dp"
android:layout_marginBottom="40dp"
tools:text="hello"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="horizontal">
<TextView
android:id="@+id/agree"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="42dp"
android:layout_gravity="center"
android:layout_marginStart="8dp"
android:layout_marginRight="9.6dp"
android:background="@drawable/contact_minimalist_agree_btn_bg"
android:gravity="center"
android:textColor="@color/white"
android:textSize="14sp"
android:text="@string/accept" />
<TextView
android:id="@+id/reject"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="42dp"
android:layout_gravity="center"
android:layout_marginStart="20dp"
android:background="@drawable/contact_minimalist_result_bg"
android:gravity="center"
android:textColor="#FF584C"
android:textSize="14sp"
android:text="@string/refuse"/>
<TextView
android:id="@+id/result_tv"
android:layout_width="160dp"
android:layout_height="42dp"
android:layout_marginRight="15.36dp"
android:background="@drawable/contact_minimalist_result_bg"
android:gravity="center"
android:text="@string/accepted"
android:textColor="#999999"
android:textSize="14sp"
android:visibility="gone"
tools:visibility="visible" />
</LinearLayout>
</LinearLayout>
@@ -0,0 +1,84 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:tools="http://schemas.android.com/tools"
android:background="@color/white"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingTop="11.52dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:focusable="true"
android:paddingBottom="11.52dp">
<com.tencent.qcloud.tuikit.timcommon.component.gatherimage.ShadeImageView
android:id="@+id/avatar"
android:layout_width="40dp"
android:layout_height="40dp" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="13dp"
android:layout_weight="1"
android:gravity="start"
android:orientation="vertical">
<TextView
android:id="@+id/name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:textSize="14sp" />
<TextView
android:id="@+id/description"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:maxLines="1"
android:ellipsize="end"
android:textColor="@color/text_gray1"
android:textSize="12sp" />
</LinearLayout>
<TextView
android:id="@+id/agree"
android:layout_width="69dp"
android:layout_height="32dp"
android:layout_marginStart="8dp"
android:background="@drawable/contact_minimalist_agree_btn_bg"
android:textColor="@color/white"
android:textSize="14sp"
android:gravity="center"
android:layout_marginRight="9.6dp"
android:layout_gravity="center"
tools:text="agree"/>
<TextView
android:id="@+id/reject"
android:layout_width="69dp"
android:layout_height="32dp"
android:layout_marginStart="10dp"
android:background="@drawable/contact_minimalist_reject_btn_bg"
android:textColor="#FF584C"
android:textSize="14sp"
android:layout_gravity="center"
android:gravity="center"
tools:text="refuse"/>
<TextView
android:id="@+id/result_tv"
android:textSize="14sp"
android:text="@string/accepted"
android:gravity="center"
android:textColor="#999999"
android:background="@drawable/contact_minimalist_result_bg"
android:layout_width="84dp"
android:layout_height="32dp"
android:layout_marginRight="15.36dp"
tools:visibility="visible"
android:visibility="gone"/>
</LinearLayout>
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- search-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="vertical">
<ImageView
android:layout_width="42dp"
android:layout_height="42dp"
android:background="@drawable/contact_not_found_icon" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="19dp"
android:textSize="16sp"
android:textColor="#999999"
android:text="@string/contact_not_found_info"
/>
</LinearLayout>
@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical">
<TextView
android:id="@+id/cancel_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/font_blue"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:layout_marginEnd="16dp"
android:visibility="gone"
tools:visibility="visible"
android:text="@string/cancel"
android:textSize="16sp" />
<LinearLayout
android:id="@+id/search_bar"
android:focusable="true"
android:layout_toStartOf="@+id/cancel_button"
android:focusableInTouchMode="true"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:layout_width="match_parent"
android:layout_height="36dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:background="@drawable/contact_minimalist_search_bar_shape"
android:orientation="horizontal">
<ImageView
android:layout_marginStart="8dp"
android:layout_width="16dp"
android:layout_height="16dp"
android:layout_gravity="center"
android:scaleType="fitCenter"
android:src="@drawable/contact_minimalist_search_icon" />
<EditText
android:id="@+id/edt_search"
android:layout_width="0dp"
android:layout_height="28dp"
android:layout_gravity="center"
android:layout_weight="1"
android:layout_marginLeft="10dp"
android:background="@null"
android:imeOptions="actionSearch"
android:textCursorDrawable="@drawable/contact_minimalist_cursor_shape"
android:hint="@string/contact_search"
android:textColorHint="#8E8E93"
android:lines="1"
android:textSize="16sp"
android:singleLine="true" />
<ImageView
android:id="@+id/imgv_delete"
android:layout_width="13.82dp"
android:layout_height="13.82dp"
android:layout_gravity="center"
android:scaleType="centerInside"
android:layout_marginEnd="8dp"
android:src="@drawable/core_delete_icon"
tools:visibility="visible"
android:visibility="gone" />
</LinearLayout>
</RelativeLayout>
@@ -0,0 +1,92 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/selectable_contact_item"
android:layout_width="match_parent"
android:layout_height="52dp"
android:background="#FFFFFF"
android:focusable="true"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:paddingStart="16dp">
<RelativeLayout
android:layout_width="45dp"
android:layout_height="45dp">
<com.tencent.qcloud.tuikit.timcommon.component.gatherimage.ShadeImageView
android:id="@+id/ivAvatar"
android:layout_width="40dp"
android:layout_height="40dp"
android:clickable="false"
android:focusable="false" />
<View
android:id="@+id/user_status"
android:layout_width="12dp"
android:layout_height="12dp"
android:layout_alignParentEnd="true"
android:layout_alignParentBottom="true"
android:layout_marginEnd="0dp"
android:layout_marginBottom="1dp"
android:background="?attr/user_status_offline"
android:elevation="4dp"
android:visibility="gone" />
</RelativeLayout>
<RelativeLayout
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="match_parent"
android:paddingEnd="24dp"
android:paddingStart="13dp">
<TextView
android:id="@+id/tvCity"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_centerInParent="true"
android:layout_toStartOf="@id/conversation_unread"
android:clickable="false"
android:ellipsize="end"
android:focusable="false"
android:lineHeight="19.6sp"
android:singleLine="true"
android:textColor="@color/black"
android:textSize="14sp"
tools:text="@string/default_friend" />
<com.tencent.qcloud.tuikit.timcommon.component.UnreadCountTextView
android:id="@+id/conversation_unread"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_centerInParent="true"
android:gravity="center"
android:includeFontPadding="false"
android:textColor="#fff"
android:textSize="10sp" />
</RelativeLayout>
<CheckBox
android:id="@+id/contact_check_box"
android:layout_width="16dp"
android:layout_height="16dp"
android:layout_marginEnd="42dp"
android:background="@drawable/contact_checkbox_selector"
android:layout_gravity="center_vertical"
android:button="@null"
android:clickable="false"
android:focusable="false"
android:visibility="gone"
tools:visibility="visible"/>
</LinearLayout>
</RelativeLayout>
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical">
<com.tencent.qcloud.tuikit.timcommon.component.MinimalistTitleBar
android:id="@+id/group_create_title_bar"
android:layout_width="match_parent"
android:layout_height="@dimen/page_title_height" />
<com.tencent.qcloud.tuikit.tuicontact.minimalistui.widget.ContactListView
android:id="@+id/group_create_member_list"
android:layout_weight="1"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:paddingBottom="16dp"
android:layout_height="wrap_content">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/selected_list"
android:layout_weight="1"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<TextView
android:id="@+id/confirm_button"
android:background="@drawable/contact_confirm_button_bg"
android:textSize="14sp"
android:text="@string/sure"
android:layout_marginLeft="12dp"
android:layout_gravity="center_vertical"
android:paddingLeft="12dp"
android:paddingRight="12dp"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:textColor="@color/white"
android:layout_width="wrap_content"
android:layout_height="30dp"/>
</LinearLayout>
<TextView
android:id="@+id/limit_tips"
android:layout_gravity="center_horizontal"
android:gravity="center"
android:paddingBottom="36dp"
android:paddingTop="12dp"
android:background="#F6F6F6"
android:textColor="#999999"
android:textSize="12sp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:visibility="visible"
tools:text="123"
android:visibility="gone"/>
</LinearLayout>
@@ -0,0 +1,79 @@
<?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"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/page_title_layout">
<LinearLayout
android:id="@+id/page_title_left_group"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentStart="true"
android:gravity="center_vertical"
android:minWidth="80dp"
android:orientation="horizontal"
android:paddingLeft="16dp">
<ImageView
android:id="@+id/page_title_left_icon"
android:layout_width="24dp"
android:layout_height="24dp"
android:clickable="false"
android:background="@drawable/core_minimalist_back_icon" />
<TextView
android:id="@+id/page_title_left_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#147AFF"
android:gravity="center"
android:textSize="14sp"
android:textStyle="bold"/>
</LinearLayout>
<TextView
android:id="@+id/page_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:maxWidth="200dp"
android:singleLine="true"
android:ellipsize="end"
android:textAlignment="gravity"
android:textColor="?attr/core_title_bar_text_bg"
android:textSize="14sp"
android:textStyle="bold"
android:gravity="center"
tools:text="Title"/>
<LinearLayout
android:id="@+id/page_title_right_group"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentRight="true"
android:gravity="center_vertical|right"
android:minWidth="80dp"
android:orientation="horizontal"
android:paddingRight="16dp">
<TextView
android:id="@+id/page_title_right_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="right"
android:textColor="?attr/core_title_bar_text_bg"
android:textSize="14sp"
android:textStyle="bold"/>
<ImageView
android:id="@+id/page_title_right_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:clickable="false" />
</LinearLayout>
</RelativeLayout>
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="48dp"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:background="#F0F9F9F9"
android:layout_marginBottom="1dp"
android:gravity="center_vertical"
android:orientation="horizontal">
<com.tencent.qcloud.tuikit.timcommon.component.gatherimage.ShadeImageView
android:id="@+id/group_member_icon"
android:layout_width="24dp"
android:layout_height="24dp"
android:scaleType="centerCrop"
app:round_radius="24dp"
android:background="?attr/core_default_user_icon" />
<TextView
android:id="@+id/group_member_name"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:textAlignment="viewStart"
android:lines="1"
android:maxEms="3"
android:ellipsize="end"
android:textSize="16sp"
android:textColor="@color/black"
tools:text="Tom"/>
<TextView
android:id="@+id/role_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:textSize="16sp"
android:textColor="#666666"
tools:text="Admin"/>
<ImageView
android:id="@+id/rightArrow"
android:layout_marginStart="12dp"
android:layout_width="16dp"
android:layout_height="16dp"
android:background="@drawable/common_arrow_right"/>
</LinearLayout>
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical">
<com.tencent.qcloud.tuikit.tuicontact.minimalistui.widget.GroupApplyManagerLayout
android:id="@+id/group_apply_manager_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<com.tencent.qcloud.tuikit.timcommon.component.MinimalistTitleBar
android:id="@+id/group_apply_title_bar"
android:layout_width="match_parent"
android:layout_height="@dimen/page_title_height" />
<ListView
android:id="@+id/group_apply_members"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#F0F9F9F9"
android:orientation="vertical">
<com.tencent.qcloud.tuikit.timcommon.component.MinimalistTitleBar
android:id="@+id/group_manage_title_bar"
android:layout_width="match_parent"
android:layout_height="@dimen/page_title_height" />
<com.tencent.qcloud.tuikit.timcommon.component.MinimalistLineControllerView
android:id="@+id/group_manage_mute_all"
android:layout_width="match_parent"
android:layout_marginTop="7dp"
android:layout_height="56dp"
app:name="@string/group_mute_all"
app:isSwitch="true"
app:canNav="false"/>
<TextView
android:text="@string/group_mute_tip"
android:textSize="12sp"
android:layout_marginBottom="10dp"
android:layout_marginTop="10dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<LinearLayout
android:id="@+id/group_manage_add_mute_member"
android:orientation="horizontal"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:background="@color/white"
android:gravity="center"
android:layout_width="match_parent"
android:layout_height="45dp">
<ImageView
android:background="@drawable/group_manager_add_icon"
android:scaleType="centerCrop"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginEnd="8dp"/>
<TextView
android:text="@string/group_add_mute_member_tip"
android:textSize="12sp"
android:textColor="#147AFF"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="wrap_content"/>
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/group_manage_muted_member_list"
android:layout_marginTop="4dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</LinearLayout>
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="52dp"
android:background="@color/white"
android:orientation="horizontal">
<com.tencent.qcloud.tuikit.timcommon.component.gatherimage.ShadeImageView
android:id="@+id/group_manager_face"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center"
android:layout_marginStart="16dp"
android:layout_marginEnd="13dp" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:layout_marginEnd="16dp"
android:orientation="vertical">
<TextView
android:id="@+id/group_manage_name"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_gravity="center"
android:gravity="center_vertical"
android:textAlignment="viewStart"
android:singleLine="true"
android:ellipsize="end"
android:layout_weight="1"
android:textColor="@color/black"
android:textSize="14sp" />
<View
android:id="@+id/view_line"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#12000000" />
</LinearLayout>
</LinearLayout>
@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white"
android:orientation="vertical">
<com.tencent.qcloud.tuikit.timcommon.component.MinimalistTitleBar
android:id="@+id/group_member_title_bar"
android:layout_width="match_parent"
android:layout_height="56dp" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/group_all_members"
android:layout_weight="1"
android:layout_width="match_parent"
android:layout_height="0dp" />
<androidx.cardview.widget.CardView
android:id="@+id/select_area"
android:visibility="gone"
tools:visibility="visible"
app:cardElevation="8dp"
app:cardBackgroundColor="@color/white"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingLeft="16dp"
android:paddingTop="16dp"
android:paddingRight="16dp"
android:paddingBottom="16dp">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/selected_list"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
<TextView
android:id="@+id/confirm_button"
android:layout_width="wrap_content"
android:layout_height="30dp"
android:layout_marginLeft="12dp"
android:background="@drawable/group_confirm_button_bg"
android:paddingLeft="12dp"
android:paddingTop="4dp"
android:paddingRight="12dp"
android:paddingBottom="4dp"
android:text="@string/sure"
android:textColor="@color/white"
android:textSize="14sp" />
</LinearLayout>
</androidx.cardview.widget.CardView>
</LinearLayout>
@@ -0,0 +1,100 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="56dp"
android:background="@color/white"
android:paddingStart="16dp"
android:paddingEnd="16dp">
<CheckBox
android:id="@+id/group_member_check_box"
android:layout_width="18dp"
android:layout_height="18dp"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:layout_gravity="center"
android:layout_marginEnd="10dp"
android:background="@drawable/group_checkbox_selector"
android:button="@null"
android:clickable="false"
android:focusable="false"
android:gravity="center"
android:visibility="gone"
tools:visibility="visible"/>
<com.tencent.qcloud.tuikit.timcommon.component.gatherimage.ShadeImageView
android:id="@+id/group_member_icon"
android:layout_width="38.4dp"
android:layout_height="38.4dp"
android:layout_centerVertical="true"
android:layout_gravity="center_vertical"
android:layout_marginEnd="12dp"
android:layout_toEndOf="@id/group_member_check_box"
android:scaleType="centerCrop" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_centerVertical="true"
android:layout_toEndOf="@id/group_member_icon"
android:layout_toStartOf="@id/rightArrow">
<TextView
android:id="@+id/group_member_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="10dp"
android:maxWidth="220dp"
android:ellipsize="end"
android:gravity="center_vertical"
android:lines="1"
android:textColor="#ff111111"
android:textSize="17.28sp"
tools:text="L" />
<TextView
android:id="@+id/member_role_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/group_member_role_border"
android:gravity="center"
android:maxLines="1"
android:minWidth="20dp"
android:paddingStart="8dp"
android:paddingTop="2dp"
android:paddingEnd="8dp"
android:paddingBottom="2dp"
android:textColor="#1890FF"
android:textSize="10sp"
android:visibility="gone"
tools:visibility="visible"
tools:text="Administrator" />
<View
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"/>
</LinearLayout>
<ImageView
android:id="@+id/rightArrow"
android:layout_width="18dp"
android:layout_height="18dp"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:layout_gravity="center_vertical"
android:background="@drawable/group_minimalist_forward_icon"
android:scaleType="centerInside" />
<View
android:id="@+id/view_line"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignStart="@id/group_member_name"
android:layout_alignParentEnd="true"
android:layout_alignParentBottom="true"
android:background="#D9D9D9" />
</RelativeLayout>
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white"
android:orientation="vertical">
<com.tencent.qcloud.tuikit.tuicontact.minimalistui.widget.GroupMemberLayout
android:id="@+id/group_member_grid_layout"
android:layout_weight="1"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<TextView
android:id="@+id/limit_tips"
android:layout_gravity="center_horizontal"
android:gravity="center"
android:paddingBottom="36dp"
android:paddingTop="12dp"
android:background="#F6F6F6"
android:textColor="#999999"
android:textSize="12sp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:visibility="visible"
tools:text="123"
android:visibility="gone"/>
</LinearLayout>
@@ -0,0 +1,84 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:tools="http://schemas.android.com/tools"
android:background="@color/white"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingTop="11.52dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:focusable="true"
android:paddingBottom="11.52dp">
<com.tencent.qcloud.tuikit.timcommon.component.gatherimage.ShadeImageView
android:id="@+id/avatar"
android:layout_width="40dp"
android:layout_height="40dp" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="13dp"
android:layout_weight="1"
android:gravity="start"
android:orientation="vertical">
<TextView
android:id="@+id/name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:textSize="14sp" />
<TextView
android:id="@+id/description"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:maxLines="1"
android:ellipsize="end"
android:textColor="@color/text_gray1"
android:textSize="12sp" />
</LinearLayout>
<TextView
android:id="@+id/agree"
android:layout_width="69dp"
android:layout_height="32dp"
android:layout_marginStart="8dp"
android:background="@drawable/group_minimalist_agree_btn_bg"
android:textColor="@color/white"
android:textSize="14sp"
android:gravity="center"
android:layout_marginRight="9.6dp"
android:layout_gravity="center"
tools:text="agree"/>
<TextView
android:id="@+id/reject"
android:layout_width="69dp"
android:layout_height="32dp"
android:layout_marginStart="10dp"
android:background="@drawable/group_minimalist_reject_btn_bg"
android:textColor="#FF584C"
android:textSize="14sp"
android:layout_gravity="center"
android:gravity="center"
tools:text="refuse"/>
<TextView
android:id="@+id/result_tv"
android:textSize="14sp"
android:text="@string/accepted"
android:gravity="center"
android:textColor="#999999"
android:background="@drawable/group_minimalist_result_bg"
android:layout_width="84dp"
android:layout_height="32dp"
android:layout_marginRight="15.36dp"
tools:visibility="visible"
android:visibility="gone"/>
</LinearLayout>
@@ -0,0 +1,142 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white"
android:orientation="vertical"
android:paddingStart="16dp"
android:paddingEnd="16dp">
<com.tencent.qcloud.tuikit.timcommon.component.MinimalistTitleBar
android:id="@+id/new_apply_detail_title_bar"
android:layout_width="match_parent"
android:layout_height="56dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:focusable="true"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingTop="11.52dp"
android:paddingBottom="11.52dp">
<com.tencent.qcloud.tuikit.timcommon.component.gatherimage.ShadeImageView
android:id="@+id/avatar"
android:layout_width="40dp"
android:layout_height="40dp" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="13dp"
android:layout_weight="1"
android:gravity="start"
android:orientation="vertical">
<TextView
android:id="@+id/user_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="1"
android:textColor="@color/black"
android:textSize="16sp"
android:textStyle="bold"
tools:text="name" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/user_id_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="ID: "
android:layout_marginTop="3dp"
android:textColor="#CC000000"
android:textSize="12sp" />
<TextView
android:id="@+id/user_id"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:ellipsize="end"
android:maxLines="1"
android:textColor="#CC000000"
android:textSize="12sp" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/group_validation_message"
android:textColor="#99000000"
android:textSize="16sp" />
<TextView
android:id="@+id/validation_message"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:textSize="16sp"
android:layout_marginTop="4dp"
android:layout_marginBottom="40dp"
tools:text="hello"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="horizontal">
<TextView
android:id="@+id/agree"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="42dp"
android:layout_gravity="center"
android:layout_marginStart="8dp"
android:layout_marginRight="9.6dp"
android:background="@drawable/group_minimalist_agree_btn_bg"
android:gravity="center"
android:textColor="@color/white"
android:textSize="14sp"
android:text="@string/accept" />
<TextView
android:id="@+id/reject"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="42dp"
android:layout_gravity="center"
android:layout_marginStart="20dp"
android:background="@drawable/group_minimalist_result_bg"
android:gravity="center"
android:textColor="#FF584C"
android:textSize="14sp"
android:text="@string/refuse"/>
<TextView
android:id="@+id/result_tv"
android:layout_width="160dp"
android:layout_height="42dp"
android:layout_marginRight="15.36dp"
android:background="@drawable/group_minimalist_result_bg"
android:gravity="center"
android:text="@string/accepted"
android:textColor="#999999"
android:textSize="14sp"
android:visibility="gone"
tools:visibility="visible" />
</LinearLayout>
</LinearLayout>
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<com.tencent.qcloud.tuikit.timcommon.component.MinimalistTitleBar
android:id="@+id/black_list_titlebar"
android:layout_width="match_parent"
android:layout_height="@dimen/page_title_height" />
<com.tencent.qcloud.tuikit.tuicontact.minimalistui.widget.ContactListView
android:id="@+id/black_list"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.tencent.qcloud.tuikit.tuicontact.minimalistui.widget.ContactLayout
android:id="@+id/contact_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
@@ -0,0 +1,40 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@color/white"
android:orientation="vertical">
<include layout="@layout/contact_minimalist_header_view_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<androidx.coordinatorlayout.widget.CoordinatorLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.google.android.material.appbar.AppBarLayout
android:background="@color/transparent"
app:elevation="0dp"
app:layout_insetEdge="none"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<include layout="@layout/contact_minimalist_search_bar_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_scrollFlags="scroll|exitUntilCollapsed"
android:visibility="gone"/>
</com.google.android.material.appbar.AppBarLayout>
<com.tencent.qcloud.tuikit.tuicontact.minimalistui.widget.ContactListView
android:id="@+id/contact_listview"
android:background="@color/white"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</LinearLayout>
@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:background="@color/white"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/contact_member_list"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<TextView
android:id="@+id/not_found_tip"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="120dp"
android:gravity="center_horizontal"
android:textSize="13.44sp"
android:textColor="#444444"
android:visibility="gone"
tools:visibility="visible"
tools:text="No group"/>
<com.tencent.qcloud.tuikit.tuicontact.component.indexlib.indexbar.widget.IndexBar
android:id="@+id/contact_indexBar"
android:layout_width="24dp"
android:layout_marginTop="54dp"
android:layout_marginBottom="40.8dp"
android:layout_height="match_parent"
android:layout_gravity="center_vertical|end"
app:indexBarPressBackground="@color/partTranslucent"
app:indexBarTextSize="12sp" />
<TextView
android:id="@+id/contact_tvSideBarHint"
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_gravity="center"
android:background="@drawable/contact_shape_side_bar_bg"
android:gravity="center"
android:textColor="@android:color/white"
android:textSize="40sp"
android:visibility="gone"
tools:text="A"
tools:visibility="visible" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<ProgressBar
android:id="@+id/contact_loading_bar"
android:layout_width="28dp"
android:layout_height="28dp"
android:layout_centerInParent="true"/>
</RelativeLayout>
</FrameLayout>
@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<com.tencent.qcloud.tuikit.timcommon.component.TitleBarLayout
android:id="@+id/group_create_title_bar"
android:layout_width="match_parent"
android:layout_alignParentTop="true"
android:layout_height="@dimen/page_title_height" />
<com.tencent.qcloud.tuikit.timcommon.component.LineControllerView
android:id="@+id/group_type_join"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/group_create_title_bar"
android:layout_marginTop="1dp"
android:visibility="gone"
app:name="@string/group_join_type" />
<com.tencent.qcloud.tuikit.tuicontact.minimalistui.widget.ContactListView
android:id="@+id/group_create_member_list"
android:layout_below="@+id/group_create_title_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/btn_height"/>
<RelativeLayout
android:id="@+id/forward_contact_select_list_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
android:layout_alignParentBottom="true"
android:paddingLeft="14.85dp"
android:paddingRight="14.85dp"
android:orientation="horizontal">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/forward_contact_select_list"
android:layout_width="match_parent"
android:layout_alignParentLeft="true"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/forward_margin"/>
<TextView
android:id="@+id/btn_msg_ok"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginLeft="@dimen/btn_margin_right"
android:text="@string/sure"
android:textColor="@color/common_bg_positive_btn"
android:textSize="14sp"
android:visibility="visible" />
</RelativeLayout>
</RelativeLayout>
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<com.tencent.qcloud.tuikit.timcommon.component.MinimalistTitleBar
android:id="@+id/group_list_titlebar"
android:layout_width="match_parent"
android:layout_height="56dp" />
<com.tencent.qcloud.tuikit.tuicontact.minimalistui.widget.ContactListView
android:id="@+id/group_list"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
@@ -0,0 +1,90 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#99000000"
android:paddingTop="40dp"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical">
<LinearLayout
android:orientation="vertical"
android:gravity="center_horizontal"
android:background="@drawable/contact_bottom_sheet_dialog_border"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="horizontal"
android:gravity="center_vertical"
android:paddingTop="22dp"
android:paddingBottom="12dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/cancel_button"
android:layout_weight="0.33"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:textAlignment="viewStart"
android:textSize="16sp"
android:textColor="#0365F9"
android:text="@string/cancel"
/>
<TextView
android:layout_weight="0.33"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:textSize="20sp"
android:textColor="@color/black"
android:gravity="center_horizontal"
android:textStyle="bold"
android:text="@string/start_conversation"/>
<TextView
android:layout_weight="0.33"
android:layout_width="0dp"
android:layout_height="8dp"/>
</LinearLayout>
<LinearLayout
android:id="@+id/create_group_button"
android:orientation="horizontal"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:gravity="center_vertical"
android:layout_gravity="start"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageView
android:layout_marginEnd="8dp"
android:layout_width="24dp"
android:layout_height="24dp"
android:background="@drawable/contact_minimalist_add_icon"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/create_group_chat"
android:textSize="14sp"
android:textColor="#0365F9"/>
</LinearLayout>
<com.tencent.qcloud.tuikit.tuicontact.minimalistui.widget.ContactListView
android:id="@+id/contact_list_view"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>
</FrameLayout>
@@ -0,0 +1,93 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#99000000"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical"
android:paddingTop="40dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/contact_bottom_sheet_dialog_border"
android:gravity="center_horizontal"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="16dp"
android:paddingTop="22dp"
android:paddingEnd="16dp"
android:paddingBottom="12dp">
<TextView
android:id="@+id/cancel_button"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="0.33"
android:textAlignment="viewStart"
android:text="@string/cancel"
android:textColor="#0365F9"
android:textSize="16sp" />
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="0.33"
android:gravity="center_horizontal"
android:text="@string/create_group_chat"
android:textColor="@color/black"
android:textSize="20sp"
android:textStyle="bold" />
<TextView
android:id="@+id/next_button"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="0.33"
android:textAlignment="viewEnd"
android:gravity="end"
android:text="@string/contact_next_step"
android:textColor="#0365F9"
android:textSize="16sp" />
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/selected_list"
android:layout_width="match_parent"
android:layout_height="@dimen/contact_list_item_height"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:paddingBottom="8dp" />
<com.tencent.qcloud.tuikit.tuicontact.minimalistui.widget.ContactListView
android:id="@+id/group_create_member_list"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" />
<TextView
android:id="@+id/limit_tips"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#F6F6F6"
android:gravity="center"
android:paddingTop="12dp"
android:paddingBottom="36dp"
android:textColor="#999999"
android:textSize="12sp"
android:visibility="gone"
tools:text="123"
tools:visibility="visible" />
</LinearLayout>
</FrameLayout>
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="contact_minimalist_contacts">جهات الاتصال</string>
<string name="contact_new_application_title">%d طلب صداقة جديد</string>
<string name="contact_validation_message">رسالة التحقق</string>
<string name="contact_friend_application_detail_title">التفاصيل</string>
<string name="contact_not_found_info">لا يوجد محتوى</string>
</resources>
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="contact_minimalist_contacts">聯繫人</string>
<string name="contact_new_application_title">%d 個新的好友申請</string>
<string name="contact_validation_message">校驗信息</string>
<string name="contact_friend_application_detail_title">詳情</string>
<string name="contact_not_found_info">無內容</string>
</resources>
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="contact_minimalist_contacts">联系人</string>
<string name="contact_new_application_title">%d 个新的好友申请</string>
<string name="contact_validation_message">校验信息</string>
<string name="contact_friend_application_detail_title">详情</string>
<string name="contact_not_found_info">无内容</string>
</resources>
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="contact_line_controller_color">#F0F9F9F9</color>
</resources>
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="contact_minimalist_contacts">Contacts</string>
<string name="contact_new_application_title">%d New Application</string>
<string name="contact_validation_message">Validation Message</string>
<string name="contact_friend_application_detail_title">Info</string>
<string name="contact_not_found_info">No information</string>
</resources>
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="ContactTransparentPopActivityStyle" parent="Theme.AppCompat.NoActionBar">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:backgroundDimEnabled">false</item>
<item name="android:statusBarColor">#99000000</item>
<item name="android:windowAnimationStyle">@android:style/Animation.Translucent</item>
</style>
<style name="ContactPopActivityStyle" parent="Theme.AppCompat.NoActionBar">
<item name="android:windowBackground">#BF000000</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:statusBarColor">@android:color/transparent</item>
</style>
</resources>