@消息界面
This commit is contained in:
44
live/src/main/res/layout/acticity_oline_list.xml
Normal file
44
live/src/main/res/layout/acticity_oline_list.xml
Normal file
@@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white"
|
||||
android:orientation="vertical">
|
||||
|
||||
<include layout="@layout/view_title" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginStart="20dp"
|
||||
android:layout_marginTop="18.67dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:background="@drawable/bg_search_input_2"
|
||||
android:orientation="horizontal">
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/edit"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@null"
|
||||
android:hint="@string/search_want"
|
||||
android:imeActionLabel="@string/search"
|
||||
android:imeOptions="actionSearch"
|
||||
android:paddingStart="22.67dp"
|
||||
android:paddingRight="10dp"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/textColor"
|
||||
android:textColorHint="#BFBFBF"
|
||||
android:textSize="15sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/audience_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="23.33dp" />
|
||||
</LinearLayout>
|
||||
@@ -26,10 +26,10 @@
|
||||
android:background="@drawable/radio_horn_type"
|
||||
android:button="@null"
|
||||
android:checked="true"
|
||||
android:drawableLeft="@mipmap/icon_general_message_p"
|
||||
android:gravity="center"
|
||||
android:text="@string/normal_barrage"
|
||||
android:textColor="@color/white"
|
||||
android:drawableLeft="@mipmap/icon_general_message_p"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<RadioButton
|
||||
@@ -40,8 +40,8 @@
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/radio_horn_type"
|
||||
android:button="@null"
|
||||
android:gravity="center"
|
||||
android:drawableLeft="@mipmap/icon_popup_screen"
|
||||
android:gravity="center"
|
||||
android:text="@string/floating_screen"
|
||||
android:textColor="#FFB1B6C7"
|
||||
android:textSize="12sp" />
|
||||
@@ -54,12 +54,12 @@
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/radio_horn_type"
|
||||
android:button="@null"
|
||||
android:gravity="center"
|
||||
android:drawableStart="@mipmap/icon_world_horn"
|
||||
android:gravity="center"
|
||||
android:text="@string/whole_station_horn"
|
||||
android:textColor="#FFB1B6C7"
|
||||
android:visibility="visible"
|
||||
android:textSize="12sp" />
|
||||
android:textSize="12sp"
|
||||
android:visibility="visible" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
@@ -82,6 +82,15 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ai_te"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginStart="12.33dp"
|
||||
android:layout_marginEnd="10.33dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:src="@mipmap/icon_emphasis" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input"
|
||||
android:layout_width="0dp"
|
||||
@@ -90,7 +99,7 @@
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/bg_live_input"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="@string/live_say_something"
|
||||
android:hint="@string/live_say_something_a"
|
||||
android:imeActionLabel="@string/send"
|
||||
android:imeOptions="actionSend"
|
||||
android:maxLength="50"
|
||||
|
||||
@@ -287,6 +287,43 @@
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/chat_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:gravity="top"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/chat_recyclerView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="370dp"
|
||||
android:overScrollMode="never"
|
||||
android:scrollbars="none" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/gif_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="13dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/gift_group_2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/gift_group_1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/hour_rank_layout"
|
||||
@@ -830,43 +867,6 @@
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/chat_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:gravity="top"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/chat_recyclerView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="370dp"
|
||||
android:overScrollMode="never"
|
||||
android:scrollbars="none" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/gif_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="13dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/gift_group_2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/gift_group_1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<com.yunbao.common.custom.MyFrameLayout2
|
||||
android:id="@+id/enter_room_group"
|
||||
|
||||
24
live/src/main/res/layout/view_oline_audience.xml
Normal file
24
live/src/main/res/layout/view_oline_audience.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/avatar_type"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="20.67dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="18dp"
|
||||
android:text="@string/noble"
|
||||
android:textColor="#B3B3B3"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/audience_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
28
live/src/main/res/layout/view_oline_item.xml
Normal file
28
live/src/main/res/layout/view_oline_item.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="18dp"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<com.yunbao.common.views.weight.ClipPathCircleImage
|
||||
android:id="@+id/avatar"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginStart="20dp"
|
||||
android:scaleType="centerCrop" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/user_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="12.33dp"
|
||||
android:text="@string/noble"
|
||||
android:textColor="#222324"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user