初始代码
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<shape>
|
||||
<solid android:color="#ece9e9" />
|
||||
<corners android:radius="5dp"/>
|
||||
</shape>
|
||||
</item>
|
||||
<item android:bottom="1dp"
|
||||
android:start="1dp"
|
||||
android:right="1dp"
|
||||
android:left="1dp">
|
||||
<shape>
|
||||
<solid android:color="#fff" />
|
||||
<corners android:radius="5dp"/>
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
</layer-list>
|
||||
@@ -0,0 +1,41 @@
|
||||
<?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"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingBottom="15.36dp"
|
||||
android:background="?attr/core_header_start_color">
|
||||
|
||||
<LinearLayout
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/search_bar_height"
|
||||
android:gravity="center"
|
||||
android:layout_marginStart="@dimen/search_bar_margin"
|
||||
android:layout_marginEnd="@dimen/search_bar_margin"
|
||||
android:background="@drawable/search_search_box_bg"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/search_button"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:background="@drawable/core_search_icon"
|
||||
android:textCursorDrawable="@drawable/common_edit_cursor" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/search_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/search_tip_text_color"
|
||||
android:text="@string/search"
|
||||
android:textSize="16.3sp"
|
||||
android:layout_marginStart="@dimen/btn_margin_left" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -0,0 +1,84 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/conversation_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/transparent"
|
||||
android:paddingTop="12dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon_conversation"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginStart="14.85dp"
|
||||
android:background="#FFFFFF"
|
||||
android:scaleType="fitCenter"
|
||||
|
||||
android:src="@drawable/core_search_icon" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/conversation_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/btn_margin_left"
|
||||
android:layout_toEndOf="@+id/icon_conversation"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center|start"
|
||||
android:singleLine="true"
|
||||
android:background="#FFFFFF"
|
||||
android:text="@string/more_conversation_label"
|
||||
android:textColor="@color/black_font_color"
|
||||
android:textSize="16.3sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/more_conversation_arrow"
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:gravity="center|end"
|
||||
android:background="#FFFFFF"
|
||||
android:layout_marginEnd="14.85dp"
|
||||
android:src="@drawable/common_arrow_right"
|
||||
android:textSize="11.14sp" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/conversation_title"
|
||||
android:layout_gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:background="@color/transparent"
|
||||
android:paddingTop="12dp">
|
||||
|
||||
<View
|
||||
android:id="@+id/view_line_one"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="4dp"
|
||||
android:background="@color/split_lint_color" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/conversation_tip"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_marginStart="20dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:text="@string/chat_record_reference"
|
||||
android:textColor="@color/list_bottom_text_bg"
|
||||
android:textSize="12.86sp" />
|
||||
|
||||
<View
|
||||
android:id="@+id/view_line_three"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:background="@color/split_lint_color" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
@@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/ll_item"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="#FFFFFF"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingStart="14.85dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/search_avatar_height" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivAvatar"
|
||||
android:layout_width="@dimen/search_avatar_width"
|
||||
android:layout_height="@dimen/search_avatar_height"
|
||||
android:clickable="false"
|
||||
android:focusable="false"
|
||||
android:background="?attr/core_default_user_icon"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_toEndOf="@id/ivAvatar"
|
||||
android:layout_width="match_parent"
|
||||
android:paddingTop="1.37dp"
|
||||
android:paddingStart="11.43dp"
|
||||
android:paddingEnd="18.11dp"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/conversation_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:textAlignment="viewStart"
|
||||
android:textColor="@color/black_font_color"
|
||||
android:text="aaa"
|
||||
android:textSize="16.3sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/conversation_sub_title_label"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:textAlignment="viewStart"
|
||||
android:textDirection="locale"
|
||||
android:text="aaa"
|
||||
android:textColor="@color/list_bottom_text_bg"
|
||||
android:textSize="12.86sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/conversation_sub_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_toEndOf="@id/conversation_sub_title_label"
|
||||
android:layout_alignTop="@id/conversation_sub_title_label"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:textAlignment="viewStart"
|
||||
android:layout_marginEnd="48dp"
|
||||
android:text="aaa"
|
||||
android:textColor="@color/list_bottom_text_bg"
|
||||
android:textSize="12.86sp" />
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/view_line"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginStart="60dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/split_lint_color" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,349 @@
|
||||
<?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"
|
||||
android:background="@color/status_bar_color">
|
||||
|
||||
<!-- search-->
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center" >
|
||||
|
||||
<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="10dp"
|
||||
android:text="@string/cancle"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<LinearLayout
|
||||
android:focusable="true"
|
||||
android:layout_toStartOf="@+id/cancel_button"
|
||||
android:focusableInTouchMode="true"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:background="@drawable/search_search_box_bg"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:layout_marginStart="5dp"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_gravity="center"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/core_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_marginStart="10dp"
|
||||
android:background="@null"
|
||||
android:imeOptions="actionSearch"
|
||||
android:textAlignment="viewStart"
|
||||
android:hint="@string/search"
|
||||
android:lines="1"
|
||||
android:textSize="16sp"
|
||||
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>
|
||||
|
||||
<!-- ScrollView-->
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<View
|
||||
android:id="@+id/view_blank_zero"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="5dp"
|
||||
android:background="@color/status_bar_color" />
|
||||
|
||||
|
||||
<!-- contact_layout-->
|
||||
<RelativeLayout
|
||||
android:id="@+id/contact_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
android:background="@drawable/search_search_box_bg">
|
||||
<TextView
|
||||
android:id="@+id/contact_title"
|
||||
android:layout_marginStart="20dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_alignParentStart="true"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/list_bottom_text_bg"
|
||||
android:textSize="12.86sp"
|
||||
android:text="@string/contact_subtitle" />
|
||||
<View
|
||||
android:id="@+id/view_line_one"
|
||||
android:layout_below="@+id/contact_title"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/split_lint_color" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/friend_rc_search"
|
||||
android:layout_below="@+id/view_line_one"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
|
||||
<!-- more_contact_layout-->
|
||||
<RelativeLayout
|
||||
android:id="@+id/more_contact_layout"
|
||||
android:layout_below="@+id/friend_rc_search"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/item_height"
|
||||
android:background="#FFFFFF"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingStart="14.85dp"
|
||||
android:paddingEnd="14.85dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/search_icon_contact"
|
||||
android:layout_marginStart="3dp"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_alignParentStart="true"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/core_search_icon" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/more_contact_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/btn_margin_left"
|
||||
android:layout_toEndOf="@+id/search_icon_contact"
|
||||
android:gravity="center|start"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/black_font_color"
|
||||
android:text="@string/more_contact_label"
|
||||
android:textSize="16.3sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/more_contact_arrow"
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:src="@drawable/common_arrow_right"
|
||||
android:textSize="11.14sp"
|
||||
android:gravity="center|end" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/view_blank_one"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="5dp"
|
||||
android:background="@color/status_bar_color" />
|
||||
|
||||
|
||||
<!-- group_layout-->
|
||||
<RelativeLayout
|
||||
android:id="@+id/group_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
android:background="@drawable/search_search_box_bg">
|
||||
<TextView
|
||||
android:id="@+id/group_title"
|
||||
android:layout_marginStart="20dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_alignParentStart="true"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/list_bottom_text_bg"
|
||||
android:textSize="12.86sp"
|
||||
android:text="@string/group_subtitle"/>
|
||||
<View
|
||||
android:id="@+id/view_line_two"
|
||||
android:layout_below="@+id/group_title"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/split_lint_color" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/group_rc_search"
|
||||
android:layout_below="@+id/view_line_two"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<!-- more_contact_layout-->
|
||||
<RelativeLayout
|
||||
android:id="@+id/more_group_layout"
|
||||
android:layout_below="@+id/group_rc_search"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/item_height"
|
||||
android:background="#FFFFFF"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingStart="14.85dp"
|
||||
android:paddingEnd="14.85dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/search_icon_group"
|
||||
android:layout_marginStart="3dp"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_alignParentStart="true"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/core_search_icon" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/more_group_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/btn_margin_left"
|
||||
android:layout_toEndOf="@+id/search_icon_group"
|
||||
android:gravity="center|start"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/black_font_color"
|
||||
android:text="@string/more_group_label"
|
||||
android:textSize="16.3sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/more_group_arrow"
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:src="@drawable/common_arrow_right"
|
||||
android:textSize="11.14sp"
|
||||
android:gravity="center|end" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/view_blank_two"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="5dp"
|
||||
android:background="@color/status_bar_color" />
|
||||
|
||||
|
||||
<!-- conversation_layout-->
|
||||
<RelativeLayout
|
||||
android:id="@+id/conversation_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
android:background="@drawable/search_search_box_bg">
|
||||
<TextView
|
||||
android:id="@+id/conversation_title"
|
||||
android:layout_marginStart="20dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_alignParentStart="true"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/list_bottom_text_bg"
|
||||
android:textSize="12.86sp"
|
||||
android:text="@string/chat_record" />
|
||||
<View
|
||||
android:id="@+id/view_line_three"
|
||||
android:layout_below="@+id/conversation_title"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/split_lint_color" />
|
||||
|
||||
<com.tencent.qcloud.tuikit.tuisearch.classicui.widget.PageRecycleView
|
||||
android:id="@+id/conversation_rc_search"
|
||||
android:layout_below="@+id/view_line_three"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<!-- more_contact_layout-->
|
||||
<RelativeLayout
|
||||
android:id="@+id/more_conversation_layout"
|
||||
android:layout_below="@+id/conversation_rc_search"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/item_height"
|
||||
android:background="#FFFFFF"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingStart="14.85dp"
|
||||
android:paddingEnd="14.85dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/search_icon_conversation"
|
||||
android:layout_marginStart="3dp"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_alignParentStart="true"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/core_search_icon" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/more_conversation_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/btn_margin_left"
|
||||
android:layout_toEndOf="@+id/search_icon_conversation"
|
||||
android:gravity="center|start"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/black_font_color"
|
||||
android:text="@string/more_conversation_label"
|
||||
android:textSize="16.3sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/more_conversation_arrow"
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:src="@drawable/common_arrow_right"
|
||||
android:textSize="11.14sp"
|
||||
android:gravity="center|end" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,91 @@
|
||||
<?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/status_bar_color"
|
||||
android:orientation="vertical">
|
||||
|
||||
<!-- search-->
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center" >
|
||||
|
||||
<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="10dp"
|
||||
android:text="@string/cancle"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<LinearLayout
|
||||
android:focusable="true"
|
||||
android:layout_toStartOf="@+id/cancel_button"
|
||||
android:focusableInTouchMode="true"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:background="@drawable/search_search_box_bg"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:layout_marginStart="5dp"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_gravity="center"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/core_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_marginStart="10dp"
|
||||
android:background="@null"
|
||||
android:textAlignment="viewStart"
|
||||
android:imeOptions="actionSearch"
|
||||
android:hint="@string/search"
|
||||
android:lines="1"
|
||||
android:textSize="16sp"
|
||||
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_search_icon"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/view_blank_zero"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="5dp"
|
||||
android:background="@color/status_bar_color" />
|
||||
|
||||
<!-- conversation_layout-->
|
||||
<RelativeLayout
|
||||
android:id="@+id/message_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/search_search_box_bg"
|
||||
android:visibility="visible">
|
||||
|
||||
<com.tencent.qcloud.tuikit.tuisearch.classicui.widget.PageRecycleView
|
||||
android:id="@+id/message_rc_search"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/view_line_three" />
|
||||
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="contact_subtitle">جهات الاتصال</string>
|
||||
<string name="group_subtitle">المجموعات</string>
|
||||
<string name="chat_record">سجل الدردشة</string>
|
||||
<string name="more_contact_label">المزيد من جهات الاتصال</string>
|
||||
<string name="more_group_label">المزيد من المجموعات</string>
|
||||
<string name="more_conversation_label">المزيد من سجل الدردشة</string>
|
||||
<string name="chat_record_reference">سجل الدردشة ذو الصلة</string>
|
||||
<string name="chat_records">سجلات الدردشة ذات الصلة</string>
|
||||
<string name="search_more_label">المزيد</string>
|
||||
<string name="search_ID_label">المعرف: </string>
|
||||
|
||||
<string name="nick_name">الاسم المستعار: </string>
|
||||
<string name="include_group_id">تتضمن معرف المجموعة: </string>
|
||||
<string name="include_group_member">تتضمن أعضاء المجموعة: </string>
|
||||
<string name="ui_at_all">[@الجميع]</string>
|
||||
<string name="ui_at_me">[شخص ما @ لي]</string>
|
||||
<string name="ui_at_all_me">[@الجميع][شخص ما @ لي]</string>
|
||||
<string name="custom_msg">[رسالة مخصصة]</string>
|
||||
<string name="custom_emoji">[رمز تعبيري متحرك]</string>
|
||||
<string name="picture_extra">[صورة]</string>
|
||||
<string name="video_extra">[فيديو]</string>
|
||||
<string name="audio_extra">[صوت]</string>
|
||||
<string name="file_extra">[ملف]</string>
|
||||
<string name="forward_extra">[سجل المحادثة]</string>
|
||||
<string name="revoke_tips_you">لقد قمت بسحب رسالة</string>
|
||||
<string name="revoke_tips">تم سحب رسالة</string>
|
||||
<string name="revoke_tips_other">قام الطرف الآخر بسحب رسالة</string>
|
||||
<string name="create_group">إنشاء مجموعة</string>
|
||||
<string name="etc">إلخ</string>
|
||||
<string name="join_group">%s انضم إلى المجموعة</string>
|
||||
<string name="invite_joined_group">%s دعا %s للانضمام إلى المجموعة</string>
|
||||
<string name="quit_group">%s غادر المجموعة</string>
|
||||
<string name="kick_group_tip">%s قام بإزالة %s من المجموعة</string>
|
||||
<string name="be_group_manager">%s تم تعيينه مديرًا للمجموعة</string>
|
||||
<string name="cancle_group_manager">%s تم إزالة صلاحياته كمدير للمجموعة</string>
|
||||
<string name="modify_group_name_is">%s قام بتغيير اسم المجموعة إلى %s</string>
|
||||
<string name="modify_notice">%s قام بتغيير إعلان المجموعة إلى %s</string>
|
||||
<string name="modify_introduction">%s قام بتغيير وصف المجموعة إلى %s</string>
|
||||
<string name="modify_shut_up_all">%s قام بحظر الدردشة لجميع أعضاء المجموعة</string>
|
||||
<string name="modify_cancel_shut_up_all">%s قام بإلغاء حظر الدردشة لجميع أعضاء المجموعة</string>
|
||||
<string name="move_owner">%s قام بنقل ملكية المجموعة إلى %s</string>
|
||||
<string name="modify_group_avatar">%s قام بتغيير صورة المجموعة</string>
|
||||
<string name="banned">%s تم حظره لمدة %s</string>
|
||||
<string name="cancle_banned">%s تم إلغاء حظر الدردشة له في المجموعة</string>
|
||||
|
||||
<!-- البحث -->
|
||||
<string name="search">البحث</string>
|
||||
<string name="cancle">إلغاء</string>
|
||||
|
||||
<string name="search_not_found_info">لا توجد محادثات أو جهات اتصال أو سجلات مطابقة</string>
|
||||
|
||||
<string name="live">مباشر</string>
|
||||
<string name="start_group_call">بدء مكالمة جماعية</string>
|
||||
<string name="start_call">بدء مكالمة</string>
|
||||
<string name="cancle_group_call">إلغاء مكالمة جماعية</string>
|
||||
<string name="cancle_call">إلغاء المكالمة</string>
|
||||
<string name="other_line_busy">الخط مشغول لدى الطرف الآخر</string>
|
||||
<string name="reject_group_calls">رفض مكالمة جماعية</string>
|
||||
<string name="no_response_call">لا يوجد رد</string>
|
||||
<string name="accept_call">تم الرد</string>
|
||||
<string name="stop_group_call">إنهاء مكالمة جماعية</string>
|
||||
<string name="stop_call_tip">إنهاء المكالمة، مدة المكالمة:</string>
|
||||
<string name="line_busy">الخط مشغول</string>
|
||||
<string name="reject_call">رفض المكالمة</string>
|
||||
<string name="invalid_command">أمر المكالمة غير معروف</string>
|
||||
<string name="reject_calls">رفض المكالمات</string>
|
||||
|
||||
<string name="search_i_know">أنا أعلم</string>
|
||||
<string name="search_no_more_reminders">لا تذكرني مرة أخرى</string>
|
||||
<string name="search_im_flagship">نسخة الرائد</string>
|
||||
<string name="search_buying_guidelines">توضيح الأسعار</string>
|
||||
<string name="search_im_flagship_edition_update_tip">الوظيفة %s هي وظيفة نسخة الرائد لـ Tencent Cloud Chat، يمكن استخدامها بعد شراء باقة نسخة الرائد، يرجى الرجوع إلى توضيح الأسعار للحصول على مزيد من المعلومات.</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="contact_subtitle">聯絡人</string>
|
||||
<string name="group_subtitle">群組</string>
|
||||
<string name="chat_record">聊天記錄</string>
|
||||
<string name="more_contact_label">更多聯絡人</string>
|
||||
<string name="more_group_label">更多群聊</string>
|
||||
<string name="more_conversation_label">更多聊天記錄</string>
|
||||
<string name="chat_record_reference">相關聊天記錄</string>
|
||||
<string name="chat_records">條相關聊天記錄</string>
|
||||
<string name="search_more_label">更多</string>
|
||||
<string name="search_ID_label">ID: </string>
|
||||
<string name="nick_name">暱稱: </string>
|
||||
<string name="include_group_id">包含群 ID: </string>
|
||||
<string name="include_group_member">包含群成員: </string>
|
||||
<string name="ui_at_all">[@所有人]</string>
|
||||
<string name="ui_at_me">[有人@我]</string>
|
||||
<string name="ui_at_all_me">[@所有人][有人@我]</string>
|
||||
<string name="custom_msg">[自定義消息]</string>
|
||||
<string name="custom_emoji">[動畫表情]</string>
|
||||
<string name="picture_extra">[圖片]</string>
|
||||
<string name="video_extra">[視頻]</string>
|
||||
<string name="audio_extra">[語音]</string>
|
||||
<string name="file_extra">[文件]</string>
|
||||
<string name="forward_extra">[聊天記錄]</string>
|
||||
<string name="revoke_tips_you">您撤回了一條消息</string>
|
||||
<string name="revoke_tips">撤回了一條消息</string>
|
||||
<string name="revoke_tips_other">對方撤回了一條消息</string>
|
||||
<string name="create_group">創建群組</string>
|
||||
<string name="etc">等</string>
|
||||
<string name="join_group">%s加入群組</string>
|
||||
<string name="invite_joined_group">%s邀請%s加入群組</string>
|
||||
<string name="quit_group">%s退出群組</string>
|
||||
<string name="kick_group_tip">%s將%s踢出群組</string>
|
||||
<string name="be_group_manager">%s被設置為管理員</string>
|
||||
<string name="cancle_group_manager">%s被取消管理員</string>
|
||||
<string name="modify_group_name_is">%s把群名稱修改為%s</string>
|
||||
<string name="modify_notice">%s把群公告修改為%s</string>
|
||||
<string name="modify_introduction">%s把群簡介修改為%s</string>
|
||||
<string name="modify_shut_up_all">%s禁言全員</string>
|
||||
<string name="modify_cancel_shut_up_all">%s取消禁言全員</string>
|
||||
<string name="move_owner">%s轉讓群主給%s</string>
|
||||
<string name="modify_group_avatar">%s修改了群頭像</string>
|
||||
<string name="banned">%s被禁言%s</string>
|
||||
<string name="cancle_banned">%s被取消禁言</string>
|
||||
<string name="search">搜索</string>
|
||||
<string name="cancle">取消</string>
|
||||
<string name="search_not_found_info">無相關會話、聯絡人或消息記錄</string>
|
||||
<string name="live">的直播</string>
|
||||
<string name="start_group_call">發起群通話</string>
|
||||
<string name="start_call">發起通話</string>
|
||||
<string name="cancle_group_call">取消群通話</string>
|
||||
<string name="cancle_call">取消通話</string>
|
||||
<string name="other_line_busy">對方忙線</string>
|
||||
<string name="reject_group_calls">拒絕群通話</string>
|
||||
<string name="no_response_call">無應答</string>
|
||||
<string name="accept_call">已接聽</string>
|
||||
<string name="stop_group_call">結束群通話</string>
|
||||
<string name="stop_call_tip">結束通話,通話時長:</string>
|
||||
<string name="line_busy">忙線</string>
|
||||
<string name="reject_call">拒絕通話</string>
|
||||
<string name="invalid_command">不能識別的通話指令</string>
|
||||
<string name="reject_calls">拒絕通話</string>
|
||||
<string name="search_i_know">我知道了</string>
|
||||
<string name="search_no_more_reminders">不再提醒</string>
|
||||
<string name="search_im_flagship">旗艦版</string>
|
||||
<string name="search_buying_guidelines">價格說明</string>
|
||||
<string name="search_im_flagship_edition_update_tip">%s功能為IM旗艦版功能,購買旗艦版套餐包後可使用,詳見價格說明。</string>
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,76 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="contact_subtitle">联系人</string>
|
||||
<string name="group_subtitle">群组</string>
|
||||
<string name="chat_record">聊天记录</string>
|
||||
<string name="more_contact_label">更多联系人</string>
|
||||
<string name="more_group_label">更多群聊</string>
|
||||
<string name="more_conversation_label">更多聊天记录</string>
|
||||
<string name="chat_record_reference">相关聊天记录</string>
|
||||
<string name="chat_records">条相关聊天记录</string>
|
||||
<string name="search_more_label">更多</string>
|
||||
<string name="search_ID_label">ID: </string>
|
||||
|
||||
<string name="nick_name">昵称: </string>
|
||||
<string name="include_group_id">包含群 ID: </string>
|
||||
<string name="include_group_member">包含群成员: </string>
|
||||
<string name="ui_at_all">[@所有人]</string>
|
||||
<string name="ui_at_me">[有人@我]</string>
|
||||
<string name="ui_at_all_me">[@所有人][有人@我]</string>
|
||||
|
||||
<string name="custom_msg">[自定义消息]</string>
|
||||
<string name="custom_emoji">[动画表情]</string>
|
||||
<string name="picture_extra">[图片]</string>
|
||||
<string name="video_extra">[视频]</string>
|
||||
<string name="audio_extra">[语音]</string>
|
||||
<string name="file_extra">[文件]</string>
|
||||
<string name="forward_extra">[聊天记录]</string>
|
||||
<string name="revoke_tips_you">您撤回了一条消息</string>
|
||||
<string name="revoke_tips">撤回了一条消息</string>
|
||||
<string name="revoke_tips_other">对方撤回了一条消息</string>
|
||||
<string name="create_group">创建群组</string>
|
||||
<string name="etc">等</string>
|
||||
<string name="join_group">%s加入群组</string>
|
||||
<string name="invite_joined_group">%s邀请%s加入群组</string>
|
||||
<string name="quit_group">%s退出群组</string>
|
||||
<string name="kick_group_tip">%s将%s踢出群组</string>
|
||||
<string name="be_group_manager">%s被设置管理员</string>
|
||||
<string name="cancle_group_manager">%s被取消管理员</string>
|
||||
<string name="modify_group_name_is">%s把群名称修改为%s</string>
|
||||
<string name="modify_notice">%s把群公告修改为%s</string>
|
||||
<string name="modify_introduction">%s把群简介修改为%s</string>
|
||||
<string name="modify_shut_up_all">%s禁言全员</string>
|
||||
<string name="modify_cancel_shut_up_all">%s取消禁言全员</string>
|
||||
<string name="move_owner">%s转让群主给%s</string>
|
||||
<string name="modify_group_avatar">%s修改了群头像</string>
|
||||
<string name="banned">%s被禁言%s</string>
|
||||
<string name="cancle_banned">%s被取消禁言</string>
|
||||
|
||||
<string name="search">搜索</string>
|
||||
<string name="cancle">取消</string>
|
||||
|
||||
<string name="search_not_found_info">无相关会话、联系人或消息记录</string>
|
||||
|
||||
<string name="live">的直播</string>
|
||||
<string name="start_group_call">发起群通话</string>
|
||||
<string name="start_call">发起通话</string>
|
||||
<string name="cancle_group_call">取消群通话</string>
|
||||
<string name="cancle_call">取消通话</string>
|
||||
<string name="other_line_busy">对方忙线</string>
|
||||
<string name="reject_group_calls">拒绝群通话</string>
|
||||
<string name="no_response_call">无应答</string>
|
||||
<string name="accept_call">已接听</string>
|
||||
<string name="stop_group_call">结束群通话</string>
|
||||
<string name="stop_call_tip">结束通话,通话时长:</string>
|
||||
<string name="line_busy">忙线</string>
|
||||
<string name="reject_call">拒绝通话</string>
|
||||
<string name="invalid_command">不能识别的通话指令</string>
|
||||
<string name="reject_calls">拒绝通话</string>
|
||||
|
||||
<string name="search_i_know">我知道了</string>
|
||||
<string name="search_no_more_reminders">不再提醒</string>
|
||||
<string name="search_im_flagship">旗舰版</string>
|
||||
<string name="search_buying_guidelines">价格说明</string>
|
||||
<string name="search_im_flagship_edition_update_tip">%s功能为IM旗舰版功能,购买旗舰版套餐包后可使用,详见价格说明。</string>
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<color name="transparent">#00000000</color>
|
||||
<color name="list_bottom_text_bg">#999999</color>
|
||||
|
||||
<color name="font_blue">#066fff</color>
|
||||
<color name="white">#FFFFFF</color>
|
||||
<color name="black_font_color">#181818</color>
|
||||
|
||||
<color name="split_lint_color">#D9D9D9</color>
|
||||
|
||||
<color name="black">#000000</color>
|
||||
|
||||
<color name="search_tip_text_color">#CCCCCC</color>
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<dimen name="search_avatar_width">49.35dp</dimen>
|
||||
<dimen name="search_avatar_height">49.35dp</dimen>
|
||||
|
||||
<dimen name="page_title_height">45dp</dimen>
|
||||
<dimen name="page_margin">10dp</dimen>
|
||||
|
||||
<dimen name="btn_margin_left">12dp</dimen>
|
||||
|
||||
<dimen name="item_height">49.35dp</dimen>
|
||||
|
||||
<dimen name="search_bar_height">38.4dp</dimen>
|
||||
<dimen name="search_bar_margin">15.36dp</dimen>
|
||||
</resources>
|
||||
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<string name="contact_subtitle">Contact</string>
|
||||
<string name="group_subtitle">Group</string>
|
||||
<string name="chat_record">Chat Record</string>
|
||||
<string name="more_contact_label">More Contacts</string>
|
||||
<string name="more_group_label">More Group Chat</string>
|
||||
<string name="more_conversation_label">More Conversations</string>
|
||||
<string name="chat_record_reference">Chat Record</string>
|
||||
<string name="search_more_label">More</string>
|
||||
<string name="search_ID_label">ID: </string>
|
||||
|
||||
<string name="chat_records">message(s)</string>
|
||||
<string name="nick_name">nick name: </string>
|
||||
<string name="include_group_id">Contains group ID: </string>
|
||||
<string name="include_group_member">Contains group members: </string>
|
||||
<string name="ui_at_all">[@All]</string>
|
||||
<string name="ui_at_me">[Someone @ me]</string>
|
||||
<string name="ui_at_all_me">[@All][Someone @ me]</string>
|
||||
<string name="custom_msg">[Custom Messages]</string>
|
||||
<string name="custom_emoji">[Animated Sticker]</string>
|
||||
<string name="picture_extra">[Image]</string>
|
||||
<string name="video_extra">[Video]</string>
|
||||
<string name="audio_extra">[Voice]</string>
|
||||
<string name="file_extra">[File]</string>
|
||||
<string name="forward_extra">[Chat Record]</string>
|
||||
<string name="revoke_tips_you">You recalled a message.</string>
|
||||
<string name="revoke_tips">recalled a message.</string>
|
||||
<string name="revoke_tips_other">A message is recalled.</string>
|
||||
<string name="create_group">Create Group</string>
|
||||
<string name="etc">, etc.</string>
|
||||
<string name="join_group">%s joined the group</string>
|
||||
<string name="invite_joined_group">%s invited %s to join the group</string>
|
||||
<string name="quit_group">%s left the group</string>
|
||||
<string name="kick_group_tip">%s has removed %s from the group</string>
|
||||
<string name="be_group_manager">%s was promoted to group manager</string>
|
||||
<string name="cancle_group_manager">%s was demoted from group manager</string>
|
||||
<string name="modify_group_name_is">%s changed the group name to %s</string>
|
||||
<string name="modify_notice">%s changed the group notice to %s</string>
|
||||
<string name="modify_introduction">%s changed the group introduction to %s</string>
|
||||
<string name="modify_shut_up_all">%s muted all members</string>
|
||||
<string name="modify_cancel_shut_up_all">%s unmuted all members</string>
|
||||
<string name="move_owner">%s transferred group ownership to %s</string>
|
||||
<string name="modify_group_avatar">%s changed the group avatar</string>
|
||||
<string name="banned">%s was muted for %s</string>
|
||||
<string name="cancle_banned">%s was unmuted</string>
|
||||
|
||||
<string name="search">Search</string>
|
||||
<string name="cancle">Cancle</string>
|
||||
<string name="search_not_found_info">No conversations, contacts, or messages found</string>
|
||||
|
||||
<string name="live">\'s live stream</string>
|
||||
<string name="start_group_call">Start Group Call</string>
|
||||
<string name="start_call">Start Call</string>
|
||||
<string name="cancle_group_call">Cancel Group Call</string>
|
||||
<string name="cancle_call">Cancel Call</string>
|
||||
<string name="other_line_busy">Line busy</string>
|
||||
<string name="reject_group_calls">Decline Group Call</string>
|
||||
<string name="no_response_call">No answer</string>
|
||||
<string name="accept_call">Answered</string>
|
||||
<string name="line_busy">Line busy</string>
|
||||
<string name="reject_call">reject</string>
|
||||
<string name="invalid_command">invalid command</string>
|
||||
<string name="stop_group_call">End Group Call</string>
|
||||
<string name="stop_call_tip">Call ended. Duration:</string>
|
||||
<string name="reject_calls">Decline Call</string>
|
||||
|
||||
<string name="search_i_know">I got it</string>
|
||||
<string name="search_no_more_reminders">No more reminders</string>
|
||||
<string name="search_im_flagship">Premium Edition</string>
|
||||
<string name="search_buying_guidelines">price description</string>
|
||||
<string name="search_im_flagship_edition_update_tip">%s function is the Tencent Cloud Chat Premium Edition function, which can be used after purchasing the Premium Edition package. Please refer to the price description for details.</string>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user