快捷消息功能发出UI调整

This commit is contained in:
ningwenqiang 2024-09-23 14:37:19 +08:00
parent dffe681b95
commit 50bdc01ea9
3 changed files with 7 additions and 4 deletions

View File

@ -5569,7 +5569,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
mLiveRoomHandler.removeCallbacksAndMessages(null);
}
//设置快速回复
//首次进入的快捷消息
public void setFastMessage(List<String> greetings) {
fastMsgRecyclerView.setVisibility(View.VISIBLE);
fastMessageRecyclerViewAdapter.setMessage(greetings);

View File

@ -2,7 +2,7 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:width="112dp" android:height="25dp">
<shape android:shape="rectangle">
<solid android:color="#33FFFFFF" />
<solid android:color="#33000000" />
<corners android:radius="12dp" />
</shape>
</item>

View File

@ -1,6 +1,7 @@
<?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:id="@+id/room_fast_layout"
android:layout_width="wrap_content"
android:layout_marginEnd="10dp"
@ -15,8 +16,10 @@
android:layout_marginTop="4dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="4dp"
android:text="TextView"
android:textColor="#FFFFFF"
android:paddingStart="3dp"
android:paddingEnd="3dp"
tools:text="TextView"
android:textColor="#E4E4E4"
android:textSize="12sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"