修复英文say hi下格式问题#131
This commit is contained in:
parent
7859e7cb29
commit
9b3a011499
@ -266,8 +266,7 @@ public class LogUtil {
|
|||||||
.connectTimeout(3, TimeUnit.SECONDS)
|
.connectTimeout(3, TimeUnit.SECONDS)
|
||||||
.build();
|
.build();
|
||||||
Request request = new Request.Builder()
|
Request request = new Request.Builder()
|
||||||
//.url("https://newht.yaoulive.com/index.php/api/error_log/report") //无法接受文件
|
.url("https://newht.yaoulive.com/index.php/api/error_log/report") //无法接受文件
|
||||||
.url("https://tools.yutou233.cn/public/file/request.do")//临时上报地址,可接受文件
|
|
||||||
.post(requestBody)
|
.post(requestBody)
|
||||||
.build();
|
.build();
|
||||||
client.newCall(request)
|
client.newCall(request)
|
||||||
|
@ -33,6 +33,7 @@ import android.widget.LinearLayout;
|
|||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
|
import androidx.appcompat.widget.LinearLayoutCompat;
|
||||||
import androidx.recyclerview.widget.GridLayoutManager;
|
import androidx.recyclerview.widget.GridLayoutManager;
|
||||||
import androidx.recyclerview.widget.LinearLayoutManager;
|
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||||
import androidx.recyclerview.widget.RecyclerView;
|
import androidx.recyclerview.widget.RecyclerView;
|
||||||
@ -206,7 +207,7 @@ public class LiveChatAdapter extends RecyclerView.Adapter {
|
|||||||
View v_chat_active_close;
|
View v_chat_active_close;
|
||||||
RecyclerView rv_chat_active;
|
RecyclerView rv_chat_active;
|
||||||
ImageView img_zg_img, btnAttention, textLeave;
|
ImageView img_zg_img, btnAttention, textLeave;
|
||||||
FrameLayout attentionLayout;
|
LinearLayoutCompat attentionLayout;
|
||||||
ClipPathCircleImage clipImage2;
|
ClipPathCircleImage clipImage2;
|
||||||
|
|
||||||
public Vh(View itemView) {
|
public Vh(View itemView) {
|
||||||
@ -214,7 +215,7 @@ public class LiveChatAdapter extends RecyclerView.Adapter {
|
|||||||
mBg = (LinearLayout) itemView.findViewById(R.id.bg);
|
mBg = (LinearLayout) itemView.findViewById(R.id.bg);
|
||||||
mTextView = (TextView) itemView.findViewById(R.id.text_txt);
|
mTextView = (TextView) itemView.findViewById(R.id.text_txt);
|
||||||
textTxt2 = (TextView) itemView.findViewById(R.id.text_txt2);
|
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);
|
clipImage2 = (ClipPathCircleImage) itemView.findViewById(R.id.clip_image2);
|
||||||
itemView.setOnClickListener(mOnClickListener);
|
itemView.setOnClickListener(mOnClickListener);
|
||||||
|
|
||||||
|
@ -28,7 +28,8 @@
|
|||||||
android:gravity="center|left"
|
android:gravity="center|left"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
tools:ignore="RtlHardcoded">
|
tools:ignore="RtlHardcoded"
|
||||||
|
tools:visibility="visible">
|
||||||
|
|
||||||
<com.makeramen.roundedimageview.RoundedImageView
|
<com.makeramen.roundedimageview.RoundedImageView
|
||||||
android:id="@+id/avatar"
|
android:id="@+id/avatar"
|
||||||
@ -58,7 +59,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="@drawable/bg_live_chat_item"
|
android:background="@drawable/bg_live_chat_item"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:visibility="gone">
|
android:visibility="gone"
|
||||||
|
tools:visibility="visible">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -162,7 +164,8 @@
|
|||||||
android:paddingRight="6dp"
|
android:paddingRight="6dp"
|
||||||
android:paddingBottom="3dp"
|
android:paddingBottom="3dp"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
tools:ignore="RtlHardcoded">
|
tools:ignore="RtlHardcoded"
|
||||||
|
tools:visibility="visible">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tv_zg_anchorname"
|
android:id="@+id/tv_zg_anchorname"
|
||||||
@ -181,7 +184,7 @@
|
|||||||
android:layout_height="45dp" />
|
android:layout_height="45dp" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<FrameLayout
|
<androidx.appcompat.widget.LinearLayoutCompat
|
||||||
android:id="@+id/attention_layout"
|
android:id="@+id/attention_layout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@ -190,32 +193,34 @@
|
|||||||
android:background="@drawable/chat_message_bg"
|
android:background="@drawable/chat_message_bg"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:visibility="gone">
|
android:visibility="gone"
|
||||||
|
tools:visibility="visible">
|
||||||
|
|
||||||
<com.yunbao.common.views.weight.ClipPathCircleImage
|
<com.yunbao.common.views.weight.ClipPathCircleImage
|
||||||
android:id="@+id/clip_image2"
|
android:id="@+id/clip_image2"
|
||||||
android:layout_width="30dp"
|
android:layout_width="30dp"
|
||||||
android:layout_height="30dp"
|
android:layout_height="30dp"
|
||||||
android:layout_margin="9dp"
|
android:layout_margin="9dp"
|
||||||
|
android:layout_weight="0"
|
||||||
android:scaleType="centerCrop" />
|
android:scaleType="centerCrop" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/automatic_chat"
|
android:id="@+id/automatic_chat"
|
||||||
|
android:layout_weight="0.5"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center"
|
||||||
android:layout_marginStart="42dp"
|
|
||||||
android:layout_marginTop="3dp"
|
android:layout_marginTop="3dp"
|
||||||
android:layout_marginEnd="74dp"
|
|
||||||
android:layout_marginBottom="3dp"
|
android:layout_marginBottom="3dp"
|
||||||
android:clickable="false"
|
android:clickable="false"
|
||||||
android:enabled="false"
|
android:enabled="false"
|
||||||
android:gravity="center_vertical"
|
android:gravity="start"
|
||||||
android:text="@string/automatic_chat"
|
android:text="@string/automatic_chat"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#FFFFFF"
|
||||||
android:textSize="12sp" />
|
android:textSize="12sp" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
|
android:layout_weight="0"
|
||||||
android:id="@+id/btn_attention"
|
android:id="@+id/btn_attention"
|
||||||
android:layout_width="54dp"
|
android:layout_width="54dp"
|
||||||
android:layout_height="26dp"
|
android:layout_height="26dp"
|
||||||
@ -225,7 +230,7 @@
|
|||||||
android:clickable="false"
|
android:clickable="false"
|
||||||
android:src="@mipmap/btn_attention" />
|
android:src="@mipmap/btn_attention" />
|
||||||
|
|
||||||
</FrameLayout>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/xyd_complete"
|
android:id="@+id/xyd_complete"
|
||||||
|
Loading…
Reference in New Issue
Block a user