快捷消息功能发出UI调整
This commit is contained in:
parent
dffe681b95
commit
50bdc01ea9
@ -5569,7 +5569,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
mLiveRoomHandler.removeCallbacksAndMessages(null);
|
mLiveRoomHandler.removeCallbacksAndMessages(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
//设置快速回复
|
//首次进入的快捷消息
|
||||||
public void setFastMessage(List<String> greetings) {
|
public void setFastMessage(List<String> greetings) {
|
||||||
fastMsgRecyclerView.setVisibility(View.VISIBLE);
|
fastMsgRecyclerView.setVisibility(View.VISIBLE);
|
||||||
fastMessageRecyclerViewAdapter.setMessage(greetings);
|
fastMessageRecyclerViewAdapter.setMessage(greetings);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<item android:width="112dp" android:height="25dp">
|
<item android:width="112dp" android:height="25dp">
|
||||||
<shape android:shape="rectangle">
|
<shape android:shape="rectangle">
|
||||||
<solid android:color="#33FFFFFF" />
|
<solid android:color="#33000000" />
|
||||||
<corners android:radius="12dp" />
|
<corners android:radius="12dp" />
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:id="@+id/room_fast_layout"
|
android:id="@+id/room_fast_layout"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_marginEnd="10dp"
|
android:layout_marginEnd="10dp"
|
||||||
@ -15,8 +16,10 @@
|
|||||||
android:layout_marginTop="4dp"
|
android:layout_marginTop="4dp"
|
||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="8dp"
|
||||||
android:layout_marginBottom="4dp"
|
android:layout_marginBottom="4dp"
|
||||||
android:text="TextView"
|
android:paddingStart="3dp"
|
||||||
android:textColor="#FFFFFF"
|
android:paddingEnd="3dp"
|
||||||
|
tools:text="TextView"
|
||||||
|
android:textColor="#E4E4E4"
|
||||||
android:textSize="12sp"
|
android:textSize="12sp"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
Loading…
Reference in New Issue
Block a user