调整女神说6字改回4字
This commit is contained in:
@@ -76,7 +76,7 @@ public class LiveAnchorSayItemsAdapter extends RecyclerView.Adapter<LiveAnchorSa
|
||||
}
|
||||
|
||||
public void setData(String text, int position) {
|
||||
textView.setText("已输入的内容\n已输入的内容\n已输入的");
|
||||
textView.setText("已输入的\n内容已输\n入的内容\n已输入的");
|
||||
ImgLoader.display(mContext, text, icon);
|
||||
if (position == click) {
|
||||
itemView.setBackgroundResource(R.drawable.bg_anchor_say_select);
|
||||
|
||||
@@ -130,7 +130,7 @@ public class LiveAnchorSayPopDialog extends AbsDialogPopupWindow {
|
||||
}
|
||||
|
||||
public String getText(String content) {
|
||||
int t = 6;
|
||||
int t = 4;
|
||||
float len = (float) content.length() / t;
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("\n");
|
||||
|
||||
@@ -4443,7 +4443,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
}
|
||||
|
||||
public String getText(String content) {
|
||||
int t = 6;
|
||||
int t = 4;
|
||||
float len = (float) content.length() / t;
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("\n");
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
<include
|
||||
android:id="@+id/anchor_say"
|
||||
layout="@layout/sim_live_room_anchor_say"
|
||||
android:layout_width="77dp"
|
||||
android:layout_height="110dp"
|
||||
android:layout_width="67dp"
|
||||
android:layout_height="88dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:visibility="invisible"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
|
||||
<include
|
||||
layout="@layout/sim_live_room_anchor_say"
|
||||
android:layout_width="83dp"
|
||||
android:layout_height="110dp"
|
||||
android:layout_width="67dp"
|
||||
android:layout_height="88dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
||||
@@ -2,8 +2,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="77dp"
|
||||
android:layout_height="110dp">
|
||||
android:layout_width="67dp"
|
||||
android:layout_height="88dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/anchor_say_icon"
|
||||
@@ -36,7 +36,7 @@
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/anchor_say_icon"
|
||||
tools:text="已输入的内容\n已输入的内容\n已输入的" />
|
||||
tools:text="已输入的\n内容已输\n入的内容\n已输入的" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/anchor_say_hide"
|
||||
|
||||
@@ -1295,8 +1295,8 @@
|
||||
<include
|
||||
android:id="@+id/anchor_say_layout"
|
||||
layout="@layout/sim_live_room_anchor_say"
|
||||
android:layout_width="77dp"
|
||||
android:layout_height="110dp"
|
||||
android:layout_width="67dp"
|
||||
android:layout_height="88dp"
|
||||
android:layout_alignBottom="@+id/live_video"
|
||||
android:layout_marginStart="14dp"
|
||||
android:visibility="invisible"
|
||||
|
||||
Reference in New Issue
Block a user