taomenggo init
This commit is contained in:
298
chatkit-ui/src/main/res/layout/activity_location.xml
Normal file
298
chatkit-ui/src/main/res/layout/activity_location.xml
Normal file
@@ -0,0 +1,298 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (c) 2022 NetEase, Inc. All rights reserved. -->
|
||||
<!-- Use of this source code is governed by a MIT license that can be -->
|
||||
<!-- found in the LICENSE file. -->
|
||||
<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="#4D000000"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="88dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/shape_dialog_bg2"
|
||||
android:orientation="vertical">
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:cardBackgroundColor="@color/color_white"
|
||||
app:cardElevation="0dp"
|
||||
app:cardCornerRadius="20dp">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/map_view_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintBottom_toTopOf="@+id/map_bottom_barrier"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<View
|
||||
android:id="@+id/map_view_top"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="58dp"
|
||||
android:background="@color/color_white"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
<!-- android:background="@drawable/map_view_top"-->
|
||||
|
||||
<TextView
|
||||
android:id="@+id/map_view_cancel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="58dp"
|
||||
android:drawableRight="@drawable/map_colose_img"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="@dimen/dimen_16_dp"
|
||||
android:paddingRight="@dimen/dimen_16_dp"
|
||||
android:textColor="@color/color_white"
|
||||
android:textSize="@dimen/text_size_16"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dimen_58_dp"
|
||||
android:id="@+id/map_view_title"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/fasongweizhi_txt"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="16sp"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/map_view_send"
|
||||
android:layout_width="64dp"
|
||||
android:layout_height="@dimen/dimen_58_dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/chat_message_send"
|
||||
android:textColor="@color/color_6d80ff"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/location_button"
|
||||
android:layout_width="@dimen/dimen_38_dp"
|
||||
android:layout_height="@dimen/dimen_38_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_12_dp"
|
||||
android:layout_marginBottom="@dimen/dimen_30_dp"
|
||||
android:background="@drawable/bg_corner_white"
|
||||
android:contentDescription="@string/chat_location_mine"
|
||||
android:padding="@dimen/dimen_8_dp"
|
||||
android:src="@drawable/ic_location_to"
|
||||
app:layout_constraintBottom_toTopOf="@+id/location_search_bar"
|
||||
app:layout_constraintRight_toRightOf="parent" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/location_search_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
android:orientation="horizontal"
|
||||
android:padding="@dimen/dimen_12_dp"
|
||||
app:layout_constraintBottom_toTopOf="@+id/location_list"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/map_view_container">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/location_search"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginEnd="@dimen/dimen_12_dp"
|
||||
android:layout_weight="1"
|
||||
android:autofillHints=""
|
||||
android:background="@drawable/bg_message_search_et"
|
||||
android:drawableStart="@drawable/ic_search"
|
||||
android:drawablePadding="5dp"
|
||||
android:hint="@string/chat_location_search_hint"
|
||||
android:inputType="text"
|
||||
android:maxLines="1"
|
||||
android:paddingStart="15dp"
|
||||
android:paddingEnd="15dp"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="#CCCCCC"
|
||||
android:textSize="@dimen/text_size_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/location_search_cancel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="32dp"
|
||||
android:gravity="center"
|
||||
android:paddingEnd="@dimen/dimen_12_dp"
|
||||
android:text="@string/cancel"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
android:visibility="gone"
|
||||
tools:ignore="RtlSymmetry" />
|
||||
</LinearLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/location_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/location_search_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="315dp"
|
||||
android:background="@color/color_white" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/location_search_empty"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="200dp"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:drawableTop="@drawable/location_search_empty"
|
||||
android:paddingTop="@dimen/dimen_8_dp"
|
||||
android:text="@string/chat_location_search_empty"
|
||||
android:textColor="@color/color_b3b7bc" />
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/map_detail_back"
|
||||
android:layout_width="@dimen/dimen_32_dp"
|
||||
android:layout_height="@dimen/dimen_32_dp"
|
||||
android:layout_marginStart="@dimen/dimen_16_dp"
|
||||
android:layout_marginTop="@dimen/dimen_24_dp"
|
||||
android:background="@drawable/bg_corner_back"
|
||||
android:contentDescription="@string/cancel"
|
||||
android:paddingTop="@dimen/dimen_8_dp"
|
||||
android:paddingBottom="@dimen/dimen_8_dp"
|
||||
android:src="@drawable/ic_back_white"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<View
|
||||
android:id="@+id/map_detail_bottom"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="77dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/map_detail_title"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dimen_12_dp"
|
||||
android:layout_marginTop="@dimen/dimen_16_dp"
|
||||
android:layout_marginRight="@dimen/dimen_12_dp"
|
||||
android:ellipsize="end"
|
||||
android:lines="1"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_16"
|
||||
app:layout_constraintHorizontal_weight="1"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toLeftOf="@+id/map_detail_navigation"
|
||||
app:layout_constraintTop_toTopOf="@+id/map_detail_bottom" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/map_detail_address"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
android:lines="1"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
app:layout_constraintHorizontal_weight="1"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/map_detail_title"
|
||||
app:layout_constraintRight_toLeftOf="@+id/map_detail_navigation"
|
||||
app:layout_constraintTop_toBottomOf="@+id/map_detail_title" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/map_detail_navigation"
|
||||
android:layout_width="@dimen/dimen_40_dp"
|
||||
android:layout_height="@dimen/dimen_40_dp"
|
||||
android:layout_marginTop="@dimen/dimen_16_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_12_dp"
|
||||
android:contentDescription="@string/chat_location_nav"
|
||||
android:src="@drawable/ic_map_navigation"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/map_detail_bottom" />
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/map_view_empty_icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:contentDescription="@string/chat_location_empty"
|
||||
android:src="@drawable/ic_map_empty"
|
||||
app:layout_constraintBottom_toTopOf="@+id/map_view_empty_tip"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_chainStyle="packed" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/map_view_empty_tip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:paddingTop="@dimen/dimen_8_dp"
|
||||
android:text="@string/chat_location_empty"
|
||||
android:textColor="@color/color_b3b7bc"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/map_view_empty_icon" />
|
||||
|
||||
<androidx.constraintlayout.widget.Barrier
|
||||
android:id="@+id/map_bottom_barrier"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:barrierDirection="top"
|
||||
app:constraint_referenced_ids="location_search_bar, map_detail_bottom" />
|
||||
|
||||
<androidx.constraintlayout.widget.Group
|
||||
android:id="@+id/map_location"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:constraint_referenced_ids="location_search_bar, location_list, map_view_top, map_view_cancel, map_view_send, location_button"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<androidx.constraintlayout.widget.Group
|
||||
android:id="@+id/map_detail"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
app:constraint_referenced_ids="map_detail_back, map_detail_bottom, map_detail_title, map_detail_address, map_detail_navigation"
|
||||
tools:visibility="gone" />
|
||||
|
||||
<androidx.constraintlayout.widget.Group
|
||||
android:id="@+id/map_view_empty"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
app:constraint_referenced_ids="map_view_empty_icon, map_view_empty_tip" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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/color_black">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/media_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/media_close"
|
||||
android:layout_width="@dimen/dimen_28_dp"
|
||||
android:layout_height="@dimen/dimen_28_dp"
|
||||
android:layout_marginStart="@dimen/dimen_20_dp"
|
||||
android:layout_marginBottom="@dimen/dimen_20_dp"
|
||||
android:src="@drawable/ic_close_round"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent" />
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/media_download"
|
||||
android:layout_width="@dimen/dimen_28_dp"
|
||||
android:layout_height="@dimen/dimen_28_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_12_dp"
|
||||
android:layout_marginBottom="@dimen/dimen_20_dp"
|
||||
android:src="@drawable/ic_download"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintRight_toLeftOf="@+id/media_more"
|
||||
app:layout_goneMarginEnd="@dimen/dimen_20_dp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/media_more"
|
||||
android:layout_width="@dimen/dimen_28_dp"
|
||||
android:layout_height="@dimen/dimen_28_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_20_dp"
|
||||
android:layout_marginBottom="@dimen/dimen_20_dp"
|
||||
android:src="@drawable/ic_more_media"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
tools:visibility="visible" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -0,0 +1,105 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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/color_black">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/media_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/media_close"
|
||||
android:layout_width="@dimen/dimen_28_dp"
|
||||
android:layout_height="@dimen/dimen_28_dp"
|
||||
android:layout_marginStart="@dimen/dimen_15_dp"
|
||||
android:src="@drawable/ic_back_white"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/layout_title"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/layout_title" />
|
||||
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_25_dp"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvname"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/text_size_20" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvtime"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/text_size_12" />
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/media_delete"
|
||||
android:layout_width="@dimen/dimen_28_dp"
|
||||
android:layout_height="@dimen/dimen_28_dp"
|
||||
android:layout_marginStart="@dimen/dimen_15_dp"
|
||||
android:layout_marginBottom="@dimen/dimen_20_dp"
|
||||
android:src="@drawable/ic_media_delete"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/media_share"
|
||||
android:layout_width="@dimen/dimen_28_dp"
|
||||
android:layout_height="@dimen/dimen_28_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_15_dp"
|
||||
android:layout_marginBottom="@dimen/dimen_20_dp"
|
||||
android:src="@drawable/ic_media_share"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/media_download"
|
||||
android:layout_width="@dimen/dimen_28_dp"
|
||||
android:layout_height="@dimen/dimen_28_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_15_dp"
|
||||
android:layout_marginBottom="@dimen/dimen_20_dp"
|
||||
android:src="@drawable/ic_media_download"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintRight_toLeftOf="@+id/media_more"
|
||||
app:layout_goneMarginEnd="@dimen/dimen_20_dp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/media_more"
|
||||
android:layout_width="@dimen/dimen_28_dp"
|
||||
android:layout_height="@dimen/dimen_28_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_20_dp"
|
||||
android:layout_marginBottom="@dimen/dimen_20_dp"
|
||||
android:src="@drawable/ic_more_media"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
52
chatkit-ui/src/main/res/layout/activity_watch_media.xml
Normal file
52
chatkit-ui/src/main/res/layout/activity_watch_media.xml
Normal file
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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/color_black"
|
||||
android:fitsSystemWindows="false">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recycler_media"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/media_close"
|
||||
android:layout_width="@dimen/dimen_28_dp"
|
||||
android:layout_height="@dimen/dimen_28_dp"
|
||||
android:layout_marginStart="@dimen/dimen_20_dp"
|
||||
android:layout_marginBottom="@dimen/dimen_100_dp"
|
||||
android:src="@drawable/ic_close_round"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent" />
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/media_download"
|
||||
android:layout_width="@dimen/dimen_28_dp"
|
||||
android:layout_height="@dimen/dimen_28_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_12_dp"
|
||||
android:layout_marginBottom="@dimen/dimen_100_dp"
|
||||
android:src="@drawable/ic_download"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintRight_toLeftOf="@+id/media_more"
|
||||
app:layout_goneMarginEnd="@dimen/dimen_20_dp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/media_more"
|
||||
android:layout_width="@dimen/dimen_28_dp"
|
||||
android:layout_height="@dimen/dimen_28_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_20_dp"
|
||||
android:layout_marginBottom="@dimen/dimen_20_dp"
|
||||
android:src="@drawable/ic_more_media"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
tools:visibility="gone" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
18
chatkit-ui/src/main/res/layout/chat_activity_layout.xml
Normal file
18
chatkit-ui/src/main/res/layout/chat_activity_layout.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
</LinearLayout>
|
||||
54
chatkit-ui/src/main/res/layout/chat_alert_dialog_layout.xml
Normal file
54
chatkit-ui/src/main/res/layout/chat_alert_dialog_layout.xml
Normal file
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (c) 2022 NetEase, Inc. All rights reserved. -->
|
||||
<!-- Use of this source code is governed by a MIT license that can be -->
|
||||
<!-- found in the LICENSE file. -->
|
||||
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:background="@drawable/rectangle_white_reduce_bg">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_dialog_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/dimen_19_dp"
|
||||
android:textColor="@color/color_black"
|
||||
android:textSize="@dimen/text_size_17" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_dialog_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/tv_dialog_title"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/dimen_4_dp"
|
||||
android:paddingStart="@dimen/dimen_10_dp"
|
||||
android:gravity="center"
|
||||
android:paddingEnd="@dimen/dimen_10_dp"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_13" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_dialog_positive"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_43_dp"
|
||||
android:layout_below="@+id/line_bottom"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/color_007aff"
|
||||
android:textSize="@dimen/text_size_17" />
|
||||
|
||||
|
||||
<View
|
||||
android:id="@+id/line_bottom"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_05_dp"
|
||||
android:layout_below="@+id/tv_dialog_content"
|
||||
android:layout_marginTop="@dimen/dimen_35_dp"
|
||||
android:background="@color/color_0c000050" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
276
chatkit-ui/src/main/res/layout/chat_base_message_view_holder.xml
Normal file
276
chatkit-ui/src/main/res/layout/chat_base_message_view_holder.xml
Normal file
@@ -0,0 +1,276 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/baseRoot"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:clipChildren="false"
|
||||
android:clipToPadding="false"
|
||||
android:paddingStart="@dimen/dimen_8_dp"
|
||||
android:paddingTop="2dp"
|
||||
android:paddingEnd="@dimen/dimen_8_dp"
|
||||
android:paddingBottom="@dimen/dimen_8_dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvTimeOther"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dimen_5_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_5_dp"
|
||||
android:textColor="@color/color_b3b7bc"
|
||||
android:textSize="@dimen/text_size_12"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/messageContainer"
|
||||
app:layout_constraintStart_toEndOf="@+id/messageContainer" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvTimeMy"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dimen_5_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_5_dp"
|
||||
android:textColor="@color/color_b3b7bc"
|
||||
android:textSize="@dimen/text_size_12"
|
||||
android:gravity="right"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/messageContainer"
|
||||
app:layout_constraintEnd_toStartOf="@+id/messageContainer" />
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.LongClickableFrameLayout
|
||||
android:id="@+id/msgBgLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:clickable="true"
|
||||
app:layout_constraintBottom_toBottomOf="parent">
|
||||
|
||||
</com.netease.yunxin.kit.common.ui.widgets.LongClickableFrameLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/chatMsgSelectLayout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/chatSelectorCb"
|
||||
android:layout_width="@dimen/dimen_18_dp"
|
||||
android:layout_height="@dimen/dimen_18_dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginStart="@dimen/dimen_7_dp"
|
||||
android:background="@drawable/fun_chat_radio_button_selector"
|
||||
android:button="@null"
|
||||
android:clickable="false" />
|
||||
</FrameLayout>
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/otherUserAvatar"
|
||||
android:layout_width="@dimen/dimen_40_dp"
|
||||
android:layout_height="@dimen/dimen_40_dp"
|
||||
app:layout_constraintStart_toEndOf="@id/chatMsgSelectLayout"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_goneMarginStart="0dp"
|
||||
android:layout_marginStart="@dimen/dimen_10_dp"/>
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/myAvatar"
|
||||
android:layout_width="@dimen/dimen_32_dp"
|
||||
android:layout_height="@dimen/dimen_32_dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/otherUsername"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dimen_10_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_10_dp"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="1"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_12"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/otherUserAvatar"
|
||||
app:layout_constraintTop_toTopOf="@+id/otherUserAvatar" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/myName"
|
||||
android:layout_width="@dimen/chat_name_max_length"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dimen_10_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_10_dp"
|
||||
android:ellipsize="end"
|
||||
android:gravity="end"
|
||||
android:maxLines="1"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintEnd_toStartOf="@id/myAvatar"
|
||||
app:layout_constraintTop_toTopOf="@+id/myAvatar" />
|
||||
|
||||
<androidx.constraintlayout.widget.Barrier
|
||||
android:id="@+id/nameBarrier"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:barrierDirection="bottom"
|
||||
app:constraint_referenced_ids="otherUsername,myName" />
|
||||
|
||||
<androidx.constraintlayout.helper.widget.Layer
|
||||
android:id="@+id/contentWithAllLayer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:constraint_referenced_ids="messageTopGroup,messageContainer,messageBottomGroup" />
|
||||
|
||||
<androidx.constraintlayout.helper.widget.Layer
|
||||
android:id="@+id/contentWithTopLayer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:constraint_referenced_ids="messageTopGroup,messageContainer" />
|
||||
|
||||
<androidx.constraintlayout.helper.widget.Layer
|
||||
android:id="@+id/contentWithBottomLayer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:constraint_referenced_ids="messageBottomGroup,messageContainer" />
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.LongClickableFrameLayout
|
||||
android:id="@+id/messageTopGroup"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintEnd_toStartOf="@+id/myAvatar"
|
||||
app:layout_constraintStart_toEndOf="@id/otherUserAvatar"
|
||||
app:layout_constraintTop_toBottomOf="@id/nameBarrier"
|
||||
app:layout_constraintWidth_default="wrap"
|
||||
app:layout_goneMarginEnd="@dimen/dimen_42_dp"
|
||||
app:layout_goneMarginStart="@dimen/dimen_42_dp" />
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.LongClickableFrameLayout
|
||||
android:id="@+id/messageContainer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dimen_10_dp"
|
||||
android:layout_marginTop="@dimen/dimen_10_dp"
|
||||
app:layout_constraintEnd_toStartOf="@id/myAvatar"
|
||||
app:layout_constraintStart_toEndOf="@id/otherUserAvatar"
|
||||
app:layout_constraintTop_toBottomOf="@id/nameBarrier"
|
||||
app:layout_constraintWidth_default="wrap"
|
||||
app:layout_constraintWidth_max="220dp"
|
||||
app:layout_goneMarginEnd="@dimen/dimen_10_dp"
|
||||
app:layout_goneMarginStart="@dimen/dimen_10_dp"
|
||||
app:layout_goneMarginTop="0dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_reply_findmessage"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/ic_chatview_findmessagebg"
|
||||
android:paddingStart="@dimen/dimen_10_dp"
|
||||
android:paddingTop="@dimen/dimen_10_dp"
|
||||
android:paddingEnd="@dimen/dimen_10_dp"
|
||||
android:paddingBottom="@dimen/dimen_15_dp"
|
||||
android:text="@string/chat_locationmessage"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toTopOf="@+id/messageBottomGroup"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/messageBottomGroup"
|
||||
app:layout_constraintRight_toRightOf="@+id/messageBottomGroup" />
|
||||
<!-- 引用内容-->
|
||||
<com.netease.yunxin.kit.common.ui.widgets.LongClickableFrameLayout
|
||||
android:id="@+id/messageBottomGroup"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_5_dp"
|
||||
app:layout_constraintEnd_toStartOf="@+id/myAvatar"
|
||||
app:layout_constraintStart_toEndOf="@id/otherUserAvatar"
|
||||
app:layout_constraintTop_toBottomOf="@id/messageContainer"
|
||||
app:layout_constraintWidth_default="wrap"
|
||||
app:layout_goneMarginEnd="@dimen/dimen_10_dp"
|
||||
app:layout_goneMarginStart="@dimen/dimen_10_dp" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/llSignal"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_5_dp"
|
||||
android:drawablePadding="@dimen/dimen_5_dp"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintEnd_toStartOf="@id/myAvatar"
|
||||
app:layout_constraintStart_toEndOf="@id/otherUserAvatar"
|
||||
app:layout_constraintTop_toBottomOf="@id/messageBottomGroup"
|
||||
app:layout_goneMarginEnd="@dimen/dimen_45_dp"
|
||||
app:layout_goneMarginStart="@dimen/dimen_45_dp">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_message_signal" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvSignal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dimen_5_dp"
|
||||
android:ellipsize="middle"
|
||||
android:gravity="start"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_3eaf96"
|
||||
android:textSize="@dimen/text_size_11" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/messageStatus"
|
||||
android:layout_width="@dimen/dimen_16_dp"
|
||||
android:layout_height="@dimen/dimen_16_dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_marginEnd="@dimen/dimen_3_dp"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@id/messageContainer"
|
||||
app:layout_constraintEnd_toStartOf="@id/messageContainer">
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/messageSending"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone" />
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.RoundPoint
|
||||
android:id="@+id/read_Process"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"
|
||||
app:viewColor="@color/color_537ff4" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/ivStatus"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@drawable/ic_error"
|
||||
android:visibility="gone" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvReadStatus"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_marginEnd="@dimen/dimen_3_dp"
|
||||
android:text="已读"
|
||||
android:textColor="@color/color_7f7b81"
|
||||
android:textSize="@dimen/text_size_12"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@id/messageContainer"
|
||||
app:layout_constraintEnd_toStartOf="@id/messageContainer" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
31
chatkit-ui/src/main/res/layout/chat_emo_layout.xml
Normal file
31
chatkit-ui/src/main/res/layout/chat_emo_layout.xml
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon_iv"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="32dp"
|
||||
android:layout_marginTop="@dimen/dimen_10_dp"
|
||||
android:layout_marginBottom="@dimen/dimen_10_dp"
|
||||
android:layout_gravity="center_vertical" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon_iv1"
|
||||
android:layout_width="64dp"
|
||||
android:visibility="gone"
|
||||
android:layout_height="64dp"
|
||||
android:layout_marginTop="@dimen/dimen_10_dp"
|
||||
android:layout_marginBottom="@dimen/dimen_10_dp"
|
||||
android:layout_gravity="center_vertical" />
|
||||
|
||||
</LinearLayout>
|
||||
20
chatkit-ui/src/main/res/layout/chat_emoji_fragment.xml
Normal file
20
chatkit-ui/src/main/res/layout/chat_emoji_fragment.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="#F7F7F7"
|
||||
android:orientation="vertical">
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recyclerView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:overScrollMode="never"
|
||||
android:scrollbars="none" />
|
||||
</LinearLayout>
|
||||
23
chatkit-ui/src/main/res/layout/chat_emoji_item_layout.xml
Normal file
23
chatkit-ui/src/main/res/layout/chat_emoji_item_layout.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<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:paddingTop="@dimen/dimen_6_dp"
|
||||
android:paddingBottom="@dimen/dimen_8_dp"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivEmoji"
|
||||
android:layout_width="@dimen/dimen_32_dp"
|
||||
android:layout_height="@dimen/dimen_32_dp"
|
||||
android:layout_centerHorizontal="true" >
|
||||
</ImageView>
|
||||
|
||||
</RelativeLayout>
|
||||
71
chatkit-ui/src/main/res/layout/chat_emoji_layout.xml
Normal file
71
chatkit-ui/src/main/res/layout/chat_emoji_layout.xml
Normal file
@@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<LinearLayout android:id="@+id/emojiLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible">
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="@dimen/dimen_42_dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<HorizontalScrollView
|
||||
android:id="@+id/emoj_tab_view_container"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:scrollbars="none">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/emoji_tab_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal">
|
||||
</LinearLayout>
|
||||
</HorizontalScrollView>
|
||||
<TextView android:id="@+id/emoji_send_tv"
|
||||
android:layout_width="@dimen/dimen_70_dp"
|
||||
android:layout_height="@dimen/dimen_42_dp"
|
||||
android:background="@color/color_337eff"
|
||||
android:text="@string/chat_message_send"
|
||||
android:textColor="@color/color_white"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:gravity="center"/>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<View
|
||||
android:id="@+id/top_divider_line"
|
||||
android:layout_height="2px"
|
||||
android:layout_width="match_parent"
|
||||
android:background="@color/color_d9d9d9"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<androidx.viewpager.widget.ViewPager
|
||||
android:id="@+id/scrPlugin"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="152dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:overScrollMode="never"
|
||||
android:scrollbars="none"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_scr_bottom"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="8dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal"></LinearLayout>
|
||||
|
||||
<View style="@style/horizontal_light_thin_divider"/>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
61
chatkit-ui/src/main/res/layout/chat_emoji_layout_new.xml
Normal file
61
chatkit-ui/src/main/res/layout/chat_emoji_layout_new.xml
Normal file
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/emojiLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="#F7F7F7"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="@dimen/dimen_42_dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<HorizontalScrollView
|
||||
android:id="@+id/emoj_tab_view_container"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:scrollbars="none">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/emoji_tab_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="@dimen/dimen_15_dp"
|
||||
android:orientation="horizontal"></LinearLayout>
|
||||
</HorizontalScrollView>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/emoji_send_tv"
|
||||
android:layout_width="@dimen/dimen_70_dp"
|
||||
android:layout_height="@dimen/dimen_42_dp"
|
||||
android:visibility="gone"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="@color/color_337eff"
|
||||
android:gravity="center"
|
||||
android:text="@string/chat_message_send"
|
||||
android:textColor="@color/color_white" />
|
||||
</LinearLayout>
|
||||
<androidx.viewpager2.widget.ViewPager2
|
||||
android:id="@+id/viewPager"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="230dp"/>
|
||||
|
||||
<!-- <androidx.recyclerview.widget.RecyclerView-->
|
||||
<!-- android:id="@+id/recyclerView"-->
|
||||
<!-- android:layout_width="fill_parent"-->
|
||||
<!-- android:layout_height="230dp"-->
|
||||
<!-- android:layout_marginTop="4dp"-->
|
||||
<!-- android:layout_marginBottom="4dp"-->
|
||||
<!-- android:overScrollMode="never"-->
|
||||
<!-- android:scrollbars="none" />-->
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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:paddingBottom="@dimen/dimen_16_dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/action_bg"
|
||||
android:layout_width="@dimen/dimen_48_dp"
|
||||
android:layout_height="@dimen/dimen_48_dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/action_icon"
|
||||
android:layout_width="@dimen/dimen_48_dp"
|
||||
android:layout_height="@dimen/dimen_48_dp"
|
||||
app:layout_constraintBottom_toBottomOf="@id/action_bg"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/action_bg" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/action_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_4_dp"
|
||||
android:textColor="@color/color_666666"
|
||||
android:textSize="@dimen/dimen_12_dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/action_bg" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
23
chatkit-ui/src/main/res/layout/chat_message_action_item.xml
Normal file
23
chatkit-ui/src/main/res/layout/chat_message_action_item.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/chat_message_action_item"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/chat_message_action_item_btn"
|
||||
android:layout_width="@dimen/dimen_24_dp"
|
||||
android:layout_height="@dimen/dimen_24_dp"
|
||||
android:layout_gravity="center"
|
||||
android:button="@null"
|
||||
android:checked="false"
|
||||
android:clickable="false"
|
||||
tools:background="@drawable/ic_send_voice_selector" />
|
||||
</FrameLayout>
|
||||
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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="wrap_content"
|
||||
android:paddingTop="@dimen/dimen_10_dp"
|
||||
android:paddingBottom="@dimen/dimen_10_dp">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/contact_header"
|
||||
android:layout_width="@dimen/dimen_42_dp"
|
||||
android:layout_height="@dimen/dimen_42_dp"
|
||||
app:avatarCorner="@dimen/dimen_42_dp"
|
||||
android:layout_marginStart="@dimen/dimen_15_dp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/contact_name"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dimen_15_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_20_dp"
|
||||
android:gravity="center_vertical|start"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/dimen_16_dp"
|
||||
app:layout_constraintBottom_toBottomOf="@id/contact_header"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/contact_header"
|
||||
app:layout_constraintTop_toTopOf="@id/contact_header"
|
||||
tools:ignore="SpUsage" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -0,0 +1,118 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.RoundFrameLayout 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="wrap_content"
|
||||
android:background="@color/color_white"
|
||||
android:orientation="vertical">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_48_dp">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/contact_arrow_icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingStart="@dimen/dimen_32_dp"
|
||||
android:paddingEnd="@dimen/dimen_32_dp"
|
||||
android:src="@drawable/ic_arrow_bottom" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_48_dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/chat_message_ait_contact_title"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/dimen_16_dp"
|
||||
android:textStyle="bold"
|
||||
tools:ignore="SpUsage" />
|
||||
</FrameLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_40_dp"
|
||||
android:layout_marginStart="@dimen/dimen_15_dp"
|
||||
android:layout_marginTop="@dimen/dimen_50_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_15_dp"
|
||||
android:background="@drawable/fun_bg_addfriends_verifymsg"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/edit_selector_teammember"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.9"
|
||||
android:background="@null"
|
||||
android:drawableStart="@drawable/fun_ic_conversation_search"
|
||||
android:drawablePadding="@dimen/dimen_5_dp"
|
||||
android:hint="@string/fun_contact_createteam_tips"
|
||||
android:imeOptions="actionSearch"
|
||||
android:paddingStart="@dimen/dimen_15_dp"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_cccccc"
|
||||
android:textCursorDrawable="@null" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/ic_clean_edit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="0.1"
|
||||
android:visibility="gone"
|
||||
app:srcCompat="@drawable/ic_selector_close" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="@dimen/dimen_100_dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_searchresult"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dimen_15_dp"
|
||||
android:layout_marginTop="@dimen/dimen_15_dp"
|
||||
android:text="@string/search_aitresult"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
android:textStyle="bold"
|
||||
android:visibility="gone" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/ic_searchempty"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dimen_50_dp"
|
||||
android:visibility="gone"
|
||||
app:srcCompat="@drawable/ic_search_empty" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_searchempty"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dimen_15_dp"
|
||||
android:text="@string/search_aitresult_empty"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
android:visibility="gone" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/contact_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</com.netease.yunxin.kit.common.ui.widgets.RoundFrameLayout>
|
||||
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/dialog_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/color_white"
|
||||
android:paddingTop="@dimen/dimen_32_dp"
|
||||
android:paddingBottom="@dimen/dimen_32_dp">
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/dialog_scrollview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:fillViewport="true"
|
||||
android:scrollbars="none"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/message"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="@dimen/dimen_32_dp"
|
||||
android:paddingRight="@dimen/dimen_32_dp"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_20"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
</ScrollView>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/message_gif"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"
|
||||
android:layout_margin="20dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -0,0 +1,164 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="285dp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
android:background="@drawable/rectangle_white_reduce_bg"
|
||||
android:layout_height="wrap_content"
|
||||
tools:ignore="MissingConstraints">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/dimen_20_dp"
|
||||
android:text="@string/chat_message_forward_to"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_16"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/rv_avatar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dimen_20_dp"
|
||||
android:layout_marginTop="@dimen/dimen_15_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_20_dp"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/tv_title" />
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/avatar"
|
||||
android:layout_width="@dimen/dimen_40_dp"
|
||||
android:layout_height="@dimen/dimen_40_dp"
|
||||
android:layout_marginTop="@dimen/dimen_15_dp"
|
||||
app:avatarCorner="@dimen/dimen_40_dp"
|
||||
app:layout_constraintStart_toStartOf="@+id/tv_title"
|
||||
app:layout_constraintTop_toBottomOf="@id/tv_title" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_nickname"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dimen_10_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_20_dp"
|
||||
android:maxLines="1"
|
||||
android:textColor="@color/color_383838"
|
||||
android:textSize="@dimen/text_size_16"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/avatar"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/avatar"
|
||||
app:layout_constraintTop_toTopOf="@id/avatar" />
|
||||
|
||||
<View
|
||||
android:id="@+id/baseline"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/dimen_1_dp"
|
||||
android:layout_marginStart="@dimen/dimen_20_dp"
|
||||
android:layout_marginTop="@dimen/dimen_15_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_20_dp"
|
||||
android:background="#EBE8F1"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/avatar" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dimen_20_dp"
|
||||
android:layout_marginTop="@dimen/dimen_15_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_20_dp"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/baseline" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/edit_inputcontent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/dimen_40_dp"
|
||||
android:layout_marginStart="@dimen/dimen_20_dp"
|
||||
android:layout_marginTop="@dimen/dimen_15_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_20_dp"
|
||||
android:background="@drawable/bg_forward_confirm_input"
|
||||
android:hint="@string/msg_forward_error_dialog_hint"
|
||||
android:maxLines="1"
|
||||
android:paddingStart="@dimen/dimen_15_dp"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textColorHint="@color/color_bcbcbc"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_content" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_message"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dimen_16_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_16_dp"
|
||||
android:background="@color/color_f2f4f5"
|
||||
android:paddingHorizontal="@dimen/dimen_12_dp"
|
||||
android:paddingVertical="@dimen/dimen_7_dp"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/avatar" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/dimen_20_dp"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/edit_inputcontent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_cancel"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/dimen_40_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_7_dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/bg_cancel_stroke"
|
||||
android:gravity="center"
|
||||
android:text="@string/cancel"
|
||||
android:textColor="@color/color_fe6881"
|
||||
android:textSize="@dimen/text_size_16" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_send"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/dimen_40_dp"
|
||||
android:layout_marginStart="@dimen/dimen_7_dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/bg_sure_solide"
|
||||
android:gravity="center"
|
||||
android:text="@string/chat_message_send"
|
||||
android:textColor="@color/color_ffffff"
|
||||
android:textSize="@dimen/text_size_16" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
60
chatkit-ui/src/main/res/layout/chat_message_record_view.xml
Normal file
60
chatkit-ui/src/main/res/layout/chat_message_record_view.xml
Normal file
@@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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="wrap_content">
|
||||
|
||||
<View
|
||||
android:id="@+id/record_button_wave"
|
||||
android:layout_width="@dimen/dimen_103_dp"
|
||||
android:layout_height="@dimen/dimen_103_dp"
|
||||
android:layout_marginTop="@dimen/dimen_24_dp"
|
||||
android:layout_marginBottom="@dimen/dimen_12_dp"
|
||||
android:background="@drawable/bg_record_button_wave"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toTopOf="@+id/record_pressed_to_speak"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/record_button"
|
||||
android:layout_width="@dimen/dimen_103_dp"
|
||||
android:layout_height="@dimen/dimen_103_dp"
|
||||
android:layout_marginTop="@dimen/dimen_24_dp"
|
||||
android:layout_marginBottom="@dimen/dimen_12_dp"
|
||||
android:background="@drawable/bg_record_button"
|
||||
app:layout_constraintBottom_toTopOf="@+id/record_pressed_to_speak"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<View
|
||||
android:id="@+id/record_button_icon"
|
||||
android:layout_width="@dimen/dimen_26_dp"
|
||||
android:layout_height="@dimen/dimen_30_dp"
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/ic_record_normal" />
|
||||
</FrameLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/record_pressed_to_speak"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/dimen_30_dp"
|
||||
android:text="@string/chat_pressed_to_speak"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="@dimen/text_size_12"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
88
chatkit-ui/src/main/res/layout/chat_pin_activity.xml
Normal file
88
chatkit-ui/src/main/res/layout/chat_pin_activity.xml
Normal file
@@ -0,0 +1,88 @@
|
||||
<?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:background="@color/color_eef1f4"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/pin_top_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
tools:ignore="MissingConstraints">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/pin_title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_52_dp"
|
||||
app:titleText="@string/chat_pin_title"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
<View
|
||||
android:id="@+id/pin_split_line"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_1_dp"
|
||||
android:alpha="0.6"
|
||||
android:background="@color/color_e9eff5"
|
||||
tools:ignore="MissingConstraints" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/pin_body_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical"
|
||||
tools:ignore="MissingConstraints">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/pin_network_error_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="36dp"
|
||||
android:background="@color/color_fee3e6"
|
||||
android:gravity="center"
|
||||
android:text="@string/chat_network_error_tip"
|
||||
android:textColor="@color/color_fc596a"
|
||||
android:textSize="14dp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/pin_recycler_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingBottom="@dimen/dimen_16_dp"/>
|
||||
|
||||
<LinearLayout android:id="@+id/pin_empty_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/color_white"
|
||||
android:visibility="visible"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView android:id="@+id/empty_iv"
|
||||
android:layout_width="@dimen/dimen_118_dp"
|
||||
android:layout_marginTop="@dimen/dimen_150_dp"
|
||||
android:layout_height="@dimen/dimen_96_dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:src="@drawable/ic_chat_empty"/>
|
||||
|
||||
<TextView android:id="@+id/empty_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dimen_16_dp"
|
||||
android:text="@string/chat_pin_empty_tips"/>
|
||||
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
33
chatkit-ui/src/main/res/layout/chat_pop_menu_item_layout.xml
Normal file
33
chatkit-ui/src/main/res/layout/chat_pop_menu_item_layout.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:minWidth="@dimen/dimen_60_dp"
|
||||
android:paddingVertical="@dimen/dimen_8_dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/menu_icon"
|
||||
android:layout_width="@dimen/dimen_18_dp"
|
||||
android:layout_height="@dimen/dimen_18_dp"
|
||||
android:layout_gravity="center"
|
||||
android:scaleType="centerCrop" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/menu_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="@dimen/dimen_6_dp"
|
||||
android:maxLines="1"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
android:textColor="@color/color_333333" />
|
||||
</LinearLayout>
|
||||
23
chatkit-ui/src/main/res/layout/chat_pop_menu_layout.xml
Normal file
23
chatkit-ui/src/main/res/layout/chat_pop_menu_layout.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
|
||||
android:id="@+id/content_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recyclerView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingVertical="@dimen/dimen_8_dp"
|
||||
android:background="@drawable/bg_chat_pop_menu" />
|
||||
|
||||
</FrameLayout>
|
||||
90
chatkit-ui/src/main/res/layout/chat_simple_player_view.xml
Normal file
90
chatkit-ui/src/main/res/layout/chat_simple_player_view.xml
Normal file
@@ -0,0 +1,90 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<merge 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">
|
||||
|
||||
<SurfaceView
|
||||
android:id="@+id/video_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/video_play"
|
||||
android:layout_width="@dimen/dimen_80_dp"
|
||||
android:layout_height="@dimen/dimen_80_dp"
|
||||
android:src="@drawable/ic_video_player"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/video_progress_action"
|
||||
android:layout_width="@dimen/dimen_26_dp"
|
||||
android:layout_height="@dimen/dimen_26_dp"
|
||||
android:layout_marginLeft="@dimen/dimen_20_dp"
|
||||
android:layout_marginBottom="@dimen/dimen_75_dp"
|
||||
android:src="@drawable/ic_video_resume"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/video_progress_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dimen_20_dp"
|
||||
android:textColor="@color/color_white"
|
||||
android:textSize="@dimen/dimen_12_dp"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/video_progress_action"
|
||||
app:layout_constraintLeft_toRightOf="@+id/video_progress_action"
|
||||
app:layout_constraintRight_toLeftOf="@+id/video_progress"
|
||||
app:layout_constraintTop_toTopOf="@+id/video_progress_action"
|
||||
tools:text="00:00" />
|
||||
|
||||
<com.google.android.material.progressindicator.LinearProgressIndicator
|
||||
android:id="@+id/video_progress"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dimen_10_dp"
|
||||
app:indicatorColor="@color/color_white"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/video_progress_time"
|
||||
app:layout_constraintLeft_toRightOf="@+id/video_progress_time"
|
||||
app:layout_constraintRight_toLeftOf="@+id/video_total_time"
|
||||
app:layout_constraintTop_toTopOf="@+id/video_progress_time"
|
||||
app:trackColor="@color/color_4d000000"
|
||||
app:trackCornerRadius="@dimen/dimen_2_dp"
|
||||
app:trackThickness="@dimen/dimen_2_dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/video_total_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dimen_10_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_20_dp"
|
||||
android:textColor="@color/color_white"
|
||||
android:textSize="@dimen/dimen_12_dp"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/video_progress"
|
||||
app:layout_constraintLeft_toRightOf="@+id/video_progress"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/video_progress"
|
||||
tools:text="00:00" />
|
||||
|
||||
<androidx.constraintlayout.widget.Group
|
||||
android:id="@+id/video_progress_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="visible"
|
||||
app:constraint_referenced_ids="video_progress_action, video_progress, video_progress_time, video_total_time" />
|
||||
</merge>
|
||||
38
chatkit-ui/src/main/res/layout/chat_sticker_picker_view.xml
Normal file
38
chatkit-ui/src/main/res/layout/chat_sticker_picker_view.xml
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="75dp"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingBottom="2dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/sticker_desc_label"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/color_333333"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center_horizontal"
|
||||
android:scrollHorizontally="false"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/sticker_thumb_image"
|
||||
android:layout_width="64dp"
|
||||
android:layout_height="64dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:layout_above="@+id/sticker_desc_label"
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_centerInParent="true" />
|
||||
|
||||
</RelativeLayout>
|
||||
30
chatkit-ui/src/main/res/layout/chat_user_item_layout.xml
Normal file
30
chatkit-ui/src/main/res/layout/chat_user_item_layout.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/avatar"
|
||||
android:layout_width="@dimen/dimen_42_dp"
|
||||
android:layout_height="@dimen/dimen_42_dp"
|
||||
android:layout_marginStart="@dimen/dimen_20_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_14_dp"
|
||||
android:layout_marginVertical="@dimen/dimen_10_dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/nickname"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginEnd="@dimen/dimen_20_dp" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/avatar"
|
||||
android:layout_width="@dimen/dimen_42_dp"
|
||||
android:layout_height="@dimen/dimen_42_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_10_dp"
|
||||
android:layout_marginVertical="@dimen/dimen_10_dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/nickname"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
android:layout_gravity="center_vertical" />
|
||||
|
||||
</LinearLayout>
|
||||
75
chatkit-ui/src/main/res/layout/dialog_action_confirm.xml
Normal file
75
chatkit-ui/src/main/res/layout/dialog_action_confirm.xml
Normal file
@@ -0,0 +1,75 @@
|
||||
<?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="wrap_content"
|
||||
android:background="@color/title_transfer"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="285dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/shape_dialog_bg_new"
|
||||
android:minHeight="144dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/content_tv"
|
||||
android:layout_width="245dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="30dp"
|
||||
android:layout_marginBottom="30dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:lineSpacingExtra="4dp"
|
||||
android:text="1111111111"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1px"
|
||||
android:background="@color/color_d8d8d8" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="62dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/cancel_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_40_dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/cornor_stroke_thempink_12dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/cancel_txt"
|
||||
android:textColor="@color/color_e44f3e"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<View
|
||||
android:id="@+id/line_v"
|
||||
android:layout_width="15dp"
|
||||
android:layout_height="42dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/sumbit_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_40_dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/cornor_thempink_12dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/sure_txt"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
232
chatkit-ui/src/main/res/layout/dialog_get_red_packet.xml
Normal file
232
chatkit-ui/src/main/res/layout/dialog_get_red_packet.xml
Normal file
@@ -0,0 +1,232 @@
|
||||
<?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:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="22dp"
|
||||
android:layout_height="22dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginBottom="30dp"
|
||||
android:src="@drawable/dialog_colose_red"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/big_red_bg"
|
||||
android:layout_width="248dp"
|
||||
android:layout_height="330dp"
|
||||
android:background="@drawable/dialog_red_packet_bg"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="70dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/title_iv"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="32dp"
|
||||
android:scaleType="centerCrop" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:textColor="#fff7e9b2"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/remarks_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginTop="140dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:gravity="center"
|
||||
android:textColor="#fff7e9b2"
|
||||
android:textSize="20sp"
|
||||
android:visibility="visible" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/jieguo_ly"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="134dp"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/danwei_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="5dp"
|
||||
android:textColor="#fff7e9b2"
|
||||
android:textSize="18sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/number_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:textColor="#fff7e9b2"
|
||||
android:textSize="36sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/open_iv"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="72dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="50dp"
|
||||
android:src="@drawable/jinbi_ig" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/show_time_end_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:drawableRight="@drawable/red_netx_img"
|
||||
android:drawablePadding="5dp"
|
||||
android:text="@string/look_get_info_red_txt"
|
||||
android:textColor="#fff7e9b2"
|
||||
android:textSize="14sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/big_gift_red_bg"
|
||||
android:layout_width="248dp"
|
||||
android:layout_height="330dp"
|
||||
android:background="@drawable/dialog_gift_red_packet_bg"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_text_gift"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/dimen_20_dp"
|
||||
android:background="@drawable/gift_redpacket_text"
|
||||
android:visibility="visible" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/remarks_tv_gift"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginStart="@dimen/dimen_20_dp"
|
||||
android:layout_marginTop="@dimen/dimen_70_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_20_dp"
|
||||
android:autoSizeMaxTextSize="@dimen/text_size_20"
|
||||
android:autoSizeMinTextSize="@dimen/text_size_16"
|
||||
android:autoSizeTextType="uniform"
|
||||
android:gravity="center"
|
||||
android:textColor="#FFF192"
|
||||
android:visibility="gone" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/jieguo_ly_gift"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/dimen_80_dp"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/danwei_tv_gift"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="5dp"
|
||||
android:text="¥"
|
||||
android:textColor="#fff7e9b2"
|
||||
android:textSize="18sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/number_tv_gift"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:textColor="#fff7e9b2"
|
||||
android:textSize="36sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/open_iv_gift"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="72dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="@dimen/dimen_100_dp"
|
||||
android:src="@drawable/gift_redpacket_open" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="@dimen/dimen_70_dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/title_iv_gift"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="32dp"
|
||||
android:scaleType="centerCrop" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_tv_gift"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:textColor="#FBE2B2"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/show_time_end_tv_gift"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="@dimen/dimen_40_dp"
|
||||
android:drawableRight="@drawable/red_netx_img"
|
||||
android:drawablePadding="5dp"
|
||||
android:text="@string/look_get_info_red_txt"
|
||||
android:textColor="#fff7e9b2"
|
||||
android:textSize="14sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/colose_iv"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="30dp"
|
||||
android:src="@drawable/dialog_colose_red" />
|
||||
|
||||
</LinearLayout>
|
||||
34
chatkit-ui/src/main/res/layout/dialog_permission_explain.xml
Normal file
34
chatkit-ui/src/main/res/layout/dialog_permission_explain.xml
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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="#D9000000">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_permissiontitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_50_dp"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/text_size_16"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_permissioncontent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dimen_50_dp"
|
||||
android:layout_marginTop="@dimen/dimen_15_dp"
|
||||
android:layout_marginRight="@dimen/dimen_50_dp"
|
||||
android:textColor="@color/color_d8d8d8"
|
||||
android:textSize="@dimen/text_size_16"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_permissiontitle" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -0,0 +1,55 @@
|
||||
<?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="wrap_content"
|
||||
android:background="@drawable/shape_dialog_bg2"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_dialog_close"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="@dimen/dimen_15_dp"
|
||||
android:paddingTop="@dimen/dimen_20_dp"
|
||||
android:paddingEnd="@dimen/dimen_20_dp"
|
||||
android:paddingBottom="@dimen/dimen_15_dp"
|
||||
android:src="@drawable/dialog_colose_img" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:text="@string/sharealbums_title"
|
||||
android:textColor="#383838"
|
||||
android:textSize="@dimen/text_size_16" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recycler_myalbums"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="350dp"
|
||||
android:layout_marginStart="@dimen/dimen_15_dp"
|
||||
android:layout_marginTop="@dimen/dimen_20_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_15_dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_dialog_move"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_48_dp"
|
||||
android:layout_marginStart="@dimen/dimen_15_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_15_dp"
|
||||
android:layout_marginBottom="@dimen/dimen_10_dp"
|
||||
android:background="@drawable/cornor_6d80ff_dp50"
|
||||
android:gravity="center"
|
||||
android:text="@string/chat_message_send"
|
||||
android:textColor="#F6F8FD"
|
||||
android:textSize="@dimen/text_size_16" />
|
||||
</LinearLayout>
|
||||
40
chatkit-ui/src/main/res/layout/discover_aitchild_item.xml
Normal file
40
chatkit-ui/src/main/res/layout/discover_aitchild_item.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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="wrap_content"
|
||||
android:paddingTop="@dimen/dimen_10_dp"
|
||||
android:paddingBottom="@dimen/dimen_10_dp">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/contact_header"
|
||||
android:layout_width="@dimen/dimen_42_dp"
|
||||
android:layout_height="@dimen/dimen_42_dp"
|
||||
android:layout_marginStart="@dimen/dimen_15_dp"
|
||||
app:srcCompat="@drawable/default_head_img"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/contact_name"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dimen_15_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_20_dp"
|
||||
android:background="#e8eaee"
|
||||
android:gravity="center_vertical|start"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/dimen_16_dp"
|
||||
app:layout_constraintBottom_toBottomOf="@id/contact_header"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/contact_header"
|
||||
app:layout_constraintTop_toTopOf="@id/contact_header"
|
||||
tools:ignore="SpUsage" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
39
chatkit-ui/src/main/res/layout/follow_child_item.xml
Normal file
39
chatkit-ui/src/main/res/layout/follow_child_item.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<?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="65dp"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/big_ly"
|
||||
android:orientation="horizontal"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/logo_iv"
|
||||
android:layout_width="45dp"
|
||||
android:layout_height="45dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_centerInParent="true"
|
||||
app:avatarCorner="23dp" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="45dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:id="@+id/item_title_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textStyle="bold"
|
||||
android:gravity="center_vertical"
|
||||
android:text="Sandy Kwong Lai Ying"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
167
chatkit-ui/src/main/res/layout/fun_contact_selector_dialog.xml
Normal file
167
chatkit-ui/src/main/res/layout/fun_contact_selector_dialog.xml
Normal file
@@ -0,0 +1,167 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/layout_selectorroot"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="824dp"
|
||||
android:background="@drawable/fun_insert_topdialog"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
|
||||
android:id="@+id/title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:titleText="@string/xuanzehaoyou_txt"/>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_1_dp"
|
||||
android:background="#f7f7f7" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_40_dp"
|
||||
android:layout_marginStart="@dimen/dimen_15_dp"
|
||||
android:layout_marginTop="@dimen/dimen_10_dp"
|
||||
android:layout_marginEnd="@dimen/dimen_15_dp"
|
||||
android:background="@drawable/fun_bg_addfriends_verifymsg"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/edit_selector_friends"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.9"
|
||||
android:background="@null"
|
||||
android:drawableStart="@drawable/fun_ic_conversation_search"
|
||||
android:drawablePadding="@dimen/dimen_5_dp"
|
||||
android:hint="@string/fun_contact_createteam_tips"
|
||||
android:imeOptions="actionSearch"
|
||||
android:paddingStart="@dimen/dimen_15_dp"
|
||||
android:singleLine="true"
|
||||
android:textColorHint="#cccccc"
|
||||
android:textCursorDrawable="@null" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/ic_clean_edit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="0.1"
|
||||
android:visibility="gone"
|
||||
app:srcCompat="@drawable/ic_selector_close" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:minHeight="724dp"
|
||||
android:scrollbars="none">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_searchlist"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dimen_15_dp"
|
||||
android:layout_marginTop="@dimen/dimen_20_dp"
|
||||
android:text="查找结果"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/contact_searchlistView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_10_dp"
|
||||
app:showIndexBar="false"
|
||||
app:showSelector="true" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_contactlist"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dimen_15_dp"
|
||||
android:layout_marginTop="@dimen/dimen_20_dp"
|
||||
android:text="@string/jinjinlianxi_txt"
|
||||
android:id="@+id/zuijin_tv"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
/>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/contact_last"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_20_dp"
|
||||
app:showIndexBar="false"
|
||||
app:showSelector="true" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dimen_15_dp"
|
||||
android:layout_marginTop="@dimen/dimen_20_dp"
|
||||
android:visibility="visible"
|
||||
android:text="@string/tebieguanxin_txt"
|
||||
android:id="@+id/tebie_tv"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
/>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/contact_listView_mylove"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="visible"
|
||||
android:layout_marginTop="@dimen/dimen_20_dp"
|
||||
app:showIndexBar="false"
|
||||
app:showSelector="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_contactmember"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dimen_15_dp"
|
||||
android:layout_marginTop="@dimen/dimen_20_dp"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
android:text="@string/all_txt"
|
||||
/>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/contact_listView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_10_dp"
|
||||
app:showIndexBar="false"
|
||||
app:showSelector="true" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
</LinearLayout>
|
||||
56
chatkit-ui/src/main/res/layout/item_useralbum_movelist.xml
Normal file
56
chatkit-ui/src/main/res/layout/item_useralbum_movelist.xml
Normal file
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/cl_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/item_iv_selector"
|
||||
android:layout_width="@dimen/dimen_20_dp"
|
||||
android:layout_height="@dimen/dimen_20_dp"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/item_iv_cover"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/item_iv_cover" />
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.ContactAvatarView
|
||||
android:id="@+id/item_iv_cover"
|
||||
android:layout_width="@dimen/dimen_64_dp"
|
||||
android:layout_height="@dimen/dimen_64_dp"
|
||||
android:layout_marginStart="@dimen/dimen_10_dp"
|
||||
android:layout_marginBottom="@dimen/dimen_20_dp"
|
||||
app:avatarCorner="@dimen/dimen_4_dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/item_iv_selector"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dimen_10_dp"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/item_iv_cover"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/item_iv_cover"
|
||||
app:layout_constraintTop_toTopOf="@+id/item_iv_cover">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_tv_albumname"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:textColor="#383838"
|
||||
android:textSize="@dimen/text_size_16" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_tv_albumtype"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_4_dp"
|
||||
android:textColor="@color/color_999999"
|
||||
android:textSize="@dimen/text_size_14" />
|
||||
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
85
chatkit-ui/src/main/res/layout/redpacket_viewhead.xml
Normal file
85
chatkit-ui/src/main/res/layout/redpacket_viewhead.xml
Normal file
@@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/big_ly"
|
||||
android:layout_width="218dp"
|
||||
android:layout_height="102dp"
|
||||
android:background="@drawable/hongbnao_f_g"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_hongbao"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="70dp"
|
||||
android:visibility="visible"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_title_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginLeft="@dimen/dimen_60_dp"
|
||||
android:layout_marginTop="@dimen/dimen_10_dp"
|
||||
android:layout_marginRight="@dimen/dimen_10_dp"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center_vertical"
|
||||
android:lines="1"
|
||||
android:text="来自 黄黄不是嬛嬛 的转账"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_status_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginLeft="@dimen/dimen_60_dp"
|
||||
android:layout_marginRight="@dimen/dimen_10_dp"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center_vertical"
|
||||
android:lines="1"
|
||||
android:text="待收款"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="12sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_lijin"
|
||||
android:layout_width="match_parent"
|
||||
android:visibility="gone"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_50_dp"
|
||||
android:gravity="center"
|
||||
android:text="礼金红包"
|
||||
android:textColor="#FFF8C8"
|
||||
android:textSize="@dimen/text_size_16">
|
||||
|
||||
</TextView>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/mingpian_tv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_24_dp"
|
||||
android:layout_marginLeft="@dimen/dimen_10_dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="10sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_lijinstatus"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_12_dp"
|
||||
android:gravity="center"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="@dimen/text_size_12"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
</merge>
|
||||
@@ -0,0 +1,72 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (c) 2022 NetEase, Inc. All rights reserved. -->
|
||||
<!-- Use of this source code is governed by a MIT license that can be -->
|
||||
<!-- found in the LICENSE file. -->
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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="wrap_content"
|
||||
android:paddingLeft="@dimen/dimen_12_dp"
|
||||
android:paddingRight="@dimen/dimen_12_dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/location_icon"
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="@dimen/dimen_18_dp"
|
||||
android:visibility="visible"
|
||||
android:layout_marginTop="@dimen/dimen_16_dp"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/location_title"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dimen_4_dp"
|
||||
android:layout_marginRight="@dimen/dimen_4_dp"
|
||||
android:ellipsize="end"
|
||||
android:lines="1"
|
||||
android:text="1111111111"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/text_size_16"
|
||||
app:layout_constraintBottom_toBottomOf="@id/location_icon"
|
||||
app:layout_constraintLeft_toRightOf="@id/location_icon"
|
||||
app:layout_constraintRight_toLeftOf="@+id/location_selected"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/location_icon" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/location_desc"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dimen_6_dp"
|
||||
android:layout_marginRight="@dimen/dimen_4_dp"
|
||||
android:ellipsize="end"
|
||||
android:text="22222222222222"
|
||||
android:lines="1"
|
||||
android:textColor="@color/color_b3b7bc"
|
||||
android:textSize="@dimen/text_size_14"
|
||||
app:layout_constraintLeft_toLeftOf="@id/location_title"
|
||||
app:layout_constraintRight_toLeftOf="@+id/location_selected"
|
||||
app:layout_constraintTop_toBottomOf="@id/location_title" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/location_selected"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_location_selected1"
|
||||
android:visibility="gone"
|
||||
android:layout_marginTop="@dimen/dimen_8_dp"
|
||||
android:layout_marginRight="@dimen/dimen_15_dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1px"
|
||||
android:layout_marginTop="@dimen/dimen_16_dp"
|
||||
android:visibility="gone"
|
||||
android:background="@color/color_e9eff5"
|
||||
app:layout_constraintTop_toBottomOf="@id/location_desc" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
68
chatkit-ui/src/main/res/layout/transfer_viewhead.xml
Normal file
68
chatkit-ui/src/main/res/layout/transfer_viewhead.xml
Normal file
@@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="218dp"
|
||||
android:layout_height="92dp"
|
||||
android:id="@+id/big_ly"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dimen_35_dp"
|
||||
android:layout_marginRight="@dimen/dimen_10_dp"
|
||||
android:layout_marginLeft="@dimen/dimen_10_dp"
|
||||
android:gravity="center_vertical"
|
||||
android:lines="1"
|
||||
android:ellipsize="end"
|
||||
android:visibility="gone"
|
||||
android:id="@+id/item_title_tv"
|
||||
android:text="来自 黄黄不是嬛嬛 的转账"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginLeft="@dimen/dimen_60_dp"
|
||||
android:layout_marginRight="@dimen/dimen_10_dp"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_marginTop="@dimen/dimen_10_dp"
|
||||
android:id="@+id/item_number_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:lines="1"
|
||||
android:ellipsize="end"
|
||||
android:text="100.00"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
<TextView
|
||||
android:id="@+id/item_status_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="待收款"
|
||||
android:lines="1"
|
||||
android:ellipsize="end"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/jinbizhuanzhang_des_txt"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/mingpian_tv"
|
||||
android:layout_marginLeft="@dimen/dimen_10_dp"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="10sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
</merge>
|
||||
40
chatkit-ui/src/main/res/layout/watch_image_view_holder.xml
Normal file
40
chatkit-ui/src/main/res/layout/watch_image_view_holder.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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">
|
||||
|
||||
<com.netease.yunxin.kit.chatkit.ui.view.media.PhotoView
|
||||
android:id="@+id/watch_photo_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<com.google.android.material.progressindicator.CircularProgressIndicator
|
||||
android:id="@+id/watch_image_loading"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:indeterminate="true"
|
||||
app:indicatorColor="@color/color_white"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:trackColor="@color/color_4d000000"
|
||||
app:trackCornerRadius="@dimen/dimen_4_dp" />
|
||||
|
||||
|
||||
<com.luck.picture.lib.photoview.PhotoView
|
||||
android:id="@+id/watch_image_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
44
chatkit-ui/src/main/res/layout/watch_media_view_holder.xml
Normal file
44
chatkit-ui/src/main/res/layout/watch_media_view_holder.xml
Normal file
@@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
||||
~ Use of this source code is governed by a MIT license that can be
|
||||
~ found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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">
|
||||
|
||||
<com.google.android.material.progressindicator.CircularProgressIndicator
|
||||
android:id="@+id/watch_image_loading"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:indeterminate="true"
|
||||
app:indicatorColor="@color/color_white"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:trackColor="@color/color_4d000000"
|
||||
app:trackCornerRadius="@dimen/dimen_4_dp" />
|
||||
|
||||
<com.luck.picture.lib.photoview.PhotoView
|
||||
android:id="@+id/watch_image_view"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<com.netease.yunxin.kit.chatkit.ui.view.media.SimpleVideoPlayer
|
||||
android:id="@+id/media_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
Reference in New Issue
Block a user