diff --git a/common/src/main/java/com/yunbao/common/utils/LogUtil.java b/common/src/main/java/com/yunbao/common/utils/LogUtil.java index 889027b41..b5deb1c93 100644 --- a/common/src/main/java/com/yunbao/common/utils/LogUtil.java +++ b/common/src/main/java/com/yunbao/common/utils/LogUtil.java @@ -266,8 +266,7 @@ public class LogUtil { .connectTimeout(3, TimeUnit.SECONDS) .build(); Request request = new Request.Builder() - //.url("https://newht.yaoulive.com/index.php/api/error_log/report") //无法接受文件 - .url("https://tools.yutou233.cn/public/file/request.do")//临时上报地址,可接受文件 + .url("https://newht.yaoulive.com/index.php/api/error_log/report") //无法接受文件 .post(requestBody) .build(); client.newCall(request) diff --git a/live/src/main/java/com/yunbao/live/adapter/LiveChatAdapter.java b/live/src/main/java/com/yunbao/live/adapter/LiveChatAdapter.java index 8d62f2e11..98a0245a9 100644 --- a/live/src/main/java/com/yunbao/live/adapter/LiveChatAdapter.java +++ b/live/src/main/java/com/yunbao/live/adapter/LiveChatAdapter.java @@ -33,6 +33,7 @@ import android.widget.LinearLayout; import android.widget.TextView; import androidx.annotation.NonNull; +import androidx.appcompat.widget.LinearLayoutCompat; import androidx.recyclerview.widget.GridLayoutManager; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; @@ -206,7 +207,7 @@ public class LiveChatAdapter extends RecyclerView.Adapter { View v_chat_active_close; RecyclerView rv_chat_active; ImageView img_zg_img, btnAttention, textLeave; - FrameLayout attentionLayout; + LinearLayoutCompat attentionLayout; ClipPathCircleImage clipImage2; public Vh(View itemView) { @@ -214,7 +215,7 @@ public class LiveChatAdapter extends RecyclerView.Adapter { mBg = (LinearLayout) itemView.findViewById(R.id.bg); mTextView = (TextView) itemView.findViewById(R.id.text_txt); textTxt2 = (TextView) itemView.findViewById(R.id.text_txt2); - attentionLayout = (FrameLayout) itemView.findViewById(R.id.attention_layout); + attentionLayout = (LinearLayoutCompat) itemView.findViewById(R.id.attention_layout); clipImage2 = (ClipPathCircleImage) itemView.findViewById(R.id.clip_image2); itemView.setOnClickListener(mOnClickListener); diff --git a/live/src/main/res/layout/item_live_chat.xml b/live/src/main/res/layout/item_live_chat.xml index 8f08140de..32f59f738 100644 --- a/live/src/main/res/layout/item_live_chat.xml +++ b/live/src/main/res/layout/item_live_chat.xml @@ -28,7 +28,8 @@ android:gravity="center|left" android:orientation="horizontal" android:visibility="gone" - tools:ignore="RtlHardcoded"> + tools:ignore="RtlHardcoded" + tools:visibility="visible"> + android:visibility="gone" + tools:visibility="visible"> + tools:ignore="RtlHardcoded" + tools:visibility="visible"> - + android:visibility="gone" + tools:visibility="visible"> - +