添加项目
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true" android:color="@color/btn_positive_hover" >
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
<corners android:radius="5dp" />
|
||||
<solid android:color="@color/btn_positive_hover" />
|
||||
</shape>
|
||||
</item>
|
||||
<item android:color="@color/btn_positive" >
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
<corners android:radius="5dp" />
|
||||
<solid android:color="@color/btn_positive" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@drawable/check_box_selected" android:state_checked="true" />
|
||||
<item android:drawable="@drawable/check_box_unselected" android:state_checked="false" />
|
||||
<item android:drawable="@drawable/check_box_unselected" />
|
||||
|
||||
</selector>
|
||||
@@ -0,0 +1,12 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="16dp"
|
||||
android:height="16dp"
|
||||
android:viewportWidth="16"
|
||||
android:viewportHeight="16">
|
||||
<path
|
||||
android:pathData="M10.8,14C10.4,15.2 9.3,16 8,16C6.7,16 5.6,15.2 5.2,14L10.8,14ZM9,1L9,2.1C11.3,2.6 13,4.6 13,7L13,10.086L15.0208,12.1066L13.6066,13.5208L3,2.9142L4.4142,1.5L5.5613,2.647C6.0028,2.3981 6.4864,2.2116 7,2.1L7,1L9,1ZM3.5061,4.814L11.691,13L1,13L1,12L3,11L3,7C3,6.2158 3.1815,5.4744 3.5061,4.814Z"
|
||||
android:strokeWidth="1"
|
||||
android:fillColor="#BBBBBB"
|
||||
android:fillType="nonZero"
|
||||
android:strokeColor="#00000000"/>
|
||||
</vector>
|
||||
@@ -0,0 +1,14 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="32"
|
||||
android:viewportHeight="32">
|
||||
<path
|
||||
android:pathData="M16,2A14,14 0,1 0,16 30A14,14 0,1 0,16 2Z"
|
||||
android:fillColor="#FF584C"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M17,21L17,23L15,23L15,21L17,21ZM17,9L17,19L15,19L15,9L17,9Z"
|
||||
android:fillColor="#FFF"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="32"
|
||||
android:viewportHeight="32">
|
||||
<path
|
||||
android:pathData="M14,5L14,12L20,12L20,20L14,20L14,27L2,15.9716L14,5ZM26,12L26,20L22,20L22,12L26,12ZM30,12L30,20L28,20L28,12L30,12Z"
|
||||
android:fillColor="#CCC"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/green" />
|
||||
<size android:width="1dp" />
|
||||
</shape>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<shape>
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="#cccccc" />
|
||||
<solid android:color="#ffffff" />
|
||||
</shape>
|
||||
|
||||
</item>
|
||||
|
||||
</layer-list>
|
||||
@@ -0,0 +1,21 @@
|
||||
<?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,70 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/item_left"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#FFFFFF"
|
||||
android:paddingBottom="10dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingTop="10dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/conversation_icon"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="200dp" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/conversation_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="30dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_alignBottom="@+id/conversation_icon"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:background="@color/custom_transparent"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/conversation_last_msg"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@+id/conversation_icon"
|
||||
android:layout_alignRight="@+id/conversation_title"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:textSize="12sp"
|
||||
android:textColor="@color/list_bottom_text_bg" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/conversation_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignTop="@+id/conversation_title"
|
||||
android:textSize="10sp"
|
||||
android:textColor="@color/list_bottom_text_bg" />
|
||||
|
||||
|
||||
<com.tencent.qcloud.tuicore.component.UnreadCountTextView
|
||||
android:id="@+id/conversation_unread"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:gravity="center"
|
||||
android:includeFontPadding="false"
|
||||
android:textColor="#fff"
|
||||
android:textSize="10sp" />
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/item_left"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/navigation_bar_color"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingLeft="14.85dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/forward_label"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:gravity="center_vertical"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/black_font_color"
|
||||
android:text="@string/forward_list_label"
|
||||
android:textSize="16.3sp" />
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/forward_select_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/item_height"
|
||||
android:background="#FFFFFF"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingLeft="14.85dp"
|
||||
android:paddingRight="14.85dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/forward_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:gravity="center|left"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/black_font_color"
|
||||
android:text="create new chat"
|
||||
android:textSize="16.3sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/forward_arrow"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:src="@drawable/arrow_right"
|
||||
android:textSize="11.14sp"
|
||||
android:gravity="center|right"
|
||||
android:layout_alignParentRight="true" />
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -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"
|
||||
android:background="@color/conversation_page_bg">
|
||||
|
||||
<com.tencent.qcloud.tuikit.tuiconversation.classicui.widget.ConversationLayout
|
||||
android:id="@+id/conversation_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,11 @@
|
||||
<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.tuiconversation.classicui.widget.ConversationListLayout
|
||||
android:id="@+id/conversation_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,177 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/item_left"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/conversation_list_item_height"
|
||||
android:background="#FFFFFF"
|
||||
android:clipChildren="false"
|
||||
android:clipToPadding="false"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="14.85dp"
|
||||
android:paddingTop="12dp">
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/select_checkbox"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginRight="6.23dp"
|
||||
android:button="@drawable/checkbox_selector"
|
||||
android:visibility="gone" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="60.78dp"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<com.tencent.qcloud.tuikit.tuiconversation.classicui.widget.ConversationIconView
|
||||
android:id="@+id/conversation_icon"
|
||||
android:layout_width="@dimen/conversation_list_avatar_width"
|
||||
android:layout_height="@dimen/conversation_list_avatar_height" />
|
||||
|
||||
<com.tencent.qcloud.tuicore.component.UnreadCountTextView
|
||||
android:id="@+id/conversation_unread"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginStart="-10dp"
|
||||
android:layout_marginTop="-8dp"
|
||||
android:gravity="center"
|
||||
android:includeFontPadding="false"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="11.52sp" />
|
||||
|
||||
<View
|
||||
android:id="@+id/user_status"
|
||||
android:layout_width="12dp"
|
||||
android:layout_height="12dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:visibility="gone"
|
||||
android:background="?attr/user_status_offline"
|
||||
android:elevation="4dp" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="0dp"
|
||||
android:layout_marginTop="1.37dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/conversation_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxWidth="180dp"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:ellipsize="end"
|
||||
android:gravity="top|left"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/black_font_color"
|
||||
android:lineHeight="23.04sp"
|
||||
android:textSize="17.28sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/conversation_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="@dimen/conversation_list_time_margin_right"
|
||||
android:textColor="@color/conversation_item_time_color"
|
||||
android:textSize="11.52sp"
|
||||
android:lineHeight="15.84sp"/>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/conversation_at_msg"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@+id/view_line"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginBottom="@dimen/conversation_list_text_margin_bottom"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/list_bottom_text_bg"
|
||||
android:textSize="13.44sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/message_status_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@+id/view_line"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginLeft="0dp"
|
||||
android:layout_marginTop="1.37dp"
|
||||
android:visibility="gone"
|
||||
android:layout_marginBottom="@dimen/conversation_list_text_margin_bottom"
|
||||
android:layout_marginRight="2dp"
|
||||
android:layout_toRightOf="@+id/conversation_at_msg">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/message_status_sending"
|
||||
android:layout_width="14dp"
|
||||
android:layout_height="14dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="@drawable/ic_sending_status"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/message_status_failed"
|
||||
android:layout_width="14dp"
|
||||
android:layout_height="14dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/ic_send_failed"
|
||||
android:visibility="gone" />
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/conversation_last_msg"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@+id/view_line"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginRight="48dp"
|
||||
android:layout_marginBottom="@dimen/conversation_list_text_margin_bottom"
|
||||
android:layout_toRightOf="@+id/message_status_layout"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/list_bottom_text_bg"
|
||||
android:textSize="13.44sp" />
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/not_disturb"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@+id/view_line"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginRight="@dimen/conversation_list_time_margin_right"
|
||||
android:layout_marginBottom="@dimen/conversation_list_text_margin_bottom"
|
||||
android:gravity="center"
|
||||
android:includeFontPadding="false"
|
||||
android:src="@drawable/ic_disturb"
|
||||
android:visibility="gone" />
|
||||
|
||||
<View
|
||||
android:id="@+id/view_line"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/conversation_list_divide_line_height"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginTop="12dp"
|
||||
android:background="@color/conversation_divide_line_color" />
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:cardBackgroundColor="@color/white"
|
||||
app:cardUseCompatPadding="true"
|
||||
app:cardElevation="10dp">
|
||||
|
||||
<ListView
|
||||
android:id="@+id/pop_menu_list"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="@color/white"
|
||||
android:divider="#00000000"
|
||||
android:dividerHeight="0dip" />
|
||||
|
||||
|
||||
</androidx.cardview.widget.CardView>
|
||||
@@ -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"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/empty_view"
|
||||
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"
|
||||
android:background="@color/conversation_page_bg">
|
||||
|
||||
<com.tencent.qcloud.tuikit.tuiconversation.classicui.widget.FoldedConversationLayout
|
||||
android:id="@+id/folded_conversation_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,16 @@
|
||||
<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.tuicore.component.TitleBarLayout
|
||||
android:id="@+id/conversation_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<com.tencent.qcloud.tuikit.tuiconversation.classicui.widget.FoldedConversationListLayout
|
||||
android:id="@+id/folded_conversation_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
</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:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/empty_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,17 @@
|
||||
<?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="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/btn_margin_bottom"
|
||||
android:clickable="true">
|
||||
|
||||
<com.tencent.qcloud.tuikit.tuiconversation.classicui.widget.ConversationIconView
|
||||
android:id="@+id/conversation_user_icon_view"
|
||||
android:layout_width="41dp"
|
||||
android:layout_height="41dp"
|
||||
app:default_image="?attr/core_default_user_icon"
|
||||
android:visibility="gone"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -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="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.tencent.qcloud.tuikit.tuiconversation.classicui.widget.ForwardSelectLayout
|
||||
android:id="@+id/forward_conversation_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="@dimen/btn_height"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/forward_select_list_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:paddingLeft="14.85dp"
|
||||
android:paddingRight="14.85dp"
|
||||
android:orientation="horizontal">
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/forward_select_list"
|
||||
android:layout_width="wrap_content"
|
||||
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/bg_positive_btn"
|
||||
android:textSize="14sp"
|
||||
android:visibility="visible" />
|
||||
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
@@ -0,0 +1,16 @@
|
||||
<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.tuicore.component.TitleBarLayout
|
||||
android:id="@+id/conversation_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<com.tencent.qcloud.tuikit.tuiconversation.classicui.widget.ConversationListLayout
|
||||
android:id="@+id/conversation_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?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:minHeight="60dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ProgressBar
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_centerInParent="true" />
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="chat_top">置顶聊天</string>
|
||||
<string name="chat_delete">删除聊天</string>
|
||||
<string name="quit_chat_top">取消置顶</string>
|
||||
<string name="mark_unread">标为未读</string>
|
||||
<string name="mark_read">标为已读</string>
|
||||
<string name="not_display">不显示</string>
|
||||
|
||||
<string name="forward_select_new_chat">创建新聊天</string>
|
||||
<string name="forward_select_from_contact">从通讯录选择</string>
|
||||
<string name="titlebar_cancle">取消</string>
|
||||
<string name="titlebar_close">关闭</string>
|
||||
<string name="forward_alert_title">您确定进行转发吗?</string>
|
||||
<string name="forward_list_label">最近聊天</string>
|
||||
<string name="ui_at_all">[@所有人]</string>
|
||||
<string name="ui_at_me">[有人@我]</string>
|
||||
<string name="ui_at_all_me">[@所有人][有人@我]</string>
|
||||
<string name="drafts">[草稿]</string>
|
||||
<string name="titlebar_mutiselect">多选</string>
|
||||
<string name="message_num">条</string>
|
||||
|
||||
<string name="folded_group_chat">折叠的群聊</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<declare-styleable name="UserIconView">
|
||||
<!--默认头像-->
|
||||
<attr name="default_image" format="reference" />
|
||||
<attr name="image_radius" format="dimension" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="SynthesizedImageView">
|
||||
<!--合成图片的背景-->
|
||||
<attr name="synthesized_image_bg" format="color" />
|
||||
<!--合成图片的默认图片-->
|
||||
<attr name="synthesized_default_image" format="reference" />
|
||||
<!--合成图片的尺寸-->
|
||||
<attr name="synthesized_image_size" format="dimension" />
|
||||
<!--多图片之间的空隙间隔-->
|
||||
<attr name="synthesized_image_gap" format="dimension" />
|
||||
</declare-styleable>
|
||||
</resources>
|
||||
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="conversation_page_bg">#FFFFFF</color>
|
||||
<color name="conversation_item_top_color">#F4F4F4</color>
|
||||
<color name="conversation_item_time_color">#b0b0b0</color>
|
||||
<color name="conversation_divide_line_color">#D9D9D9</color>
|
||||
<color name="conversation_item_clicked_color">#D9D9D9</color>
|
||||
|
||||
<color name="custom_transparent">#B3000000</color>
|
||||
|
||||
<color name="line">#DDDDDD</color>
|
||||
<color name="navigation_bar_color">#F7F7F7</color>
|
||||
<color name="transparent">#00000000</color>
|
||||
<color name="list_bottom_text_bg">#999999</color>
|
||||
|
||||
<color name="font_blue">#066fff</color>
|
||||
<color name="green">#70C160</color>
|
||||
<color name="white">#FFFFFF</color>
|
||||
<color name="text_color_gray">#696969</color>
|
||||
<color name="black_font_color">#181818</color>
|
||||
<color name="text_tips_color">#A5A5A5</color>
|
||||
|
||||
<color name="text_gray1">#777777</color>
|
||||
|
||||
<color name="black">#000000</color>
|
||||
<color name="dialog_line_bg">#c6c6c6</color>
|
||||
|
||||
<!-- 积极钮色值 -->
|
||||
<color name="btn_positive">#00a4ff</color>
|
||||
<color name="btn_positive_hover">#006eff</color>
|
||||
|
||||
<color name="read_dot_bg">#f74c31</color>
|
||||
<color name="light_blue_400">#FF29B6F6</color>
|
||||
<color name="light_blue_600">#FF039BE5</color>
|
||||
<color name="gray_400">#FFBDBDBD</color>
|
||||
<color name="gray_600">#FF757575</color>
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<dimen name="page_title_height">45dp</dimen>
|
||||
<dimen name="page_margin">10dp</dimen>
|
||||
<!-- 列表头像 -->
|
||||
<dimen name="item_height">49.35dp</dimen>
|
||||
<dimen name="item_width">49.35dp</dimen>
|
||||
|
||||
<dimen name="btn_margin_top">36dp</dimen>
|
||||
<dimen name="btn_margin_left">12dp</dimen>
|
||||
<dimen name="btn_margin_right">12dp</dimen>
|
||||
<dimen name="btn_margin_bottom">8dp</dimen>
|
||||
<dimen name="btn_margin_middle">10dp</dimen>
|
||||
<dimen name="btn_padding_left">16dp</dimen>
|
||||
<dimen name="btn_padding_right">16dp</dimen>
|
||||
|
||||
<dimen name="btn_height">40dp</dimen>
|
||||
<dimen name="forward_margin">55dp</dimen>
|
||||
|
||||
<dimen name="conversation_list_item_height">69.91dp</dimen>
|
||||
<dimen name="conversation_list_avatar_width">46.08dp</dimen>
|
||||
<dimen name="conversation_list_avatar_height">46.08dp</dimen>
|
||||
<dimen name="conversation_list_text_margin_bottom">12.96dp</dimen>
|
||||
<dimen name="conversation_list_divide_line_height">0.55dp</dimen>
|
||||
<dimen name="conversation_list_time_margin_right">15.35dp</dimen>
|
||||
</resources>
|
||||
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
// 云通信
|
||||
<string name="chat_top">Pin</string>
|
||||
<string name="chat_delete">Delete</string>
|
||||
<string name="quit_chat_top">Unpin</string>
|
||||
<string name="mark_unread">Unread</string>
|
||||
<string name="mark_read">Read</string>
|
||||
<string name="not_display">Hide</string>
|
||||
|
||||
<string name="forward_select_new_chat">Create new chat</string>
|
||||
<string name="forward_select_from_contact">Select from contact</string>
|
||||
<string name="titlebar_cancle">Cancel</string>
|
||||
<string name="titlebar_close">Close</string>
|
||||
<string name="forward_alert_title">Are you sure you want to forward?</string>
|
||||
<string name="forward_list_label">Recent Conversations</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="drafts">[Drafts]</string>
|
||||
<string name="titlebar_mutiselect">Select</string>
|
||||
<string name="message_num">messages</string>
|
||||
|
||||
<string name="folded_group_chat">folded group chat</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<paths>
|
||||
<!--内置SD卡 Environment.getExternalStorageDirectory() .表示共享所有的目录,也可以指定共享的目录-->
|
||||
<external-path
|
||||
name="external-path"
|
||||
path="."/>
|
||||
<!--内置SD卡 Context.getExternalCacheDir() .表示共享所有的目录,也可以指定共享的目录-->
|
||||
<external-cache-path
|
||||
name="external-cache-path"
|
||||
path="."/>
|
||||
<!--内置SD卡 Context.getExternalFilesDir(null) .表示共享所有的目录,也可以指定共享的目录-->
|
||||
<external-files-path
|
||||
name="external-files-path"
|
||||
path="."/>
|
||||
<!--data目录下 Context.getFilesDir() .表示共享所有的目录,也可以指定共享的目录-->
|
||||
<files-path
|
||||
name="files_path"
|
||||
path="."/>
|
||||
<!--data缓存目录 Context.getCacheDir() .表示共享所有的目录,也可以指定共享的目录-->
|
||||
<cache-path
|
||||
name="cache-path"
|
||||
path="."/>
|
||||
<!--这个标签Android官方文档中是没有提及,Android设备的根目录,该目录下包含着手机内部存储器,外置SD卡等所有文件的目录-->
|
||||
<root-path
|
||||
name="name"
|
||||
path="."/>
|
||||
</paths>
|
||||