diff --git a/live/src/main/java/com/yunbao/live/custom/RightGradual.java b/live/src/main/java/com/yunbao/live/custom/RightGradual.java index 01b6ef5e1..4c25d1257 100644 --- a/live/src/main/java/com/yunbao/live/custom/RightGradual.java +++ b/live/src/main/java/com/yunbao/live/custom/RightGradual.java @@ -37,7 +37,7 @@ public class RightGradual extends RecyclerView.ItemDecoration { float right=parent.getRight(); float bottom=parent.getBottom(); if(mLinearGradient==null){ - mLinearGradient=new LinearGradient(parent.getMeasuredWidth(), 0.0f, 0.0f, 0.0f, new int[]{0, Color.BLACK}, new float[]{0.0f,0.2f}, Shader.TileMode.CLAMP); + mLinearGradient=new LinearGradient(parent.getMeasuredWidth(), 0.0f, 0.0f, 0.0f, new int[]{0, Color.BLACK}, new float[]{0.0f,0.4f}, Shader.TileMode.CLAMP); } mPaint.setXfermode(mXfermode); mPaint.setShader(mLinearGradient); diff --git a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java index 31c97d091..636a3bc19 100644 --- a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java @@ -1108,7 +1108,6 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis String url = CommonAppConfig.HOST + path; url += "&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&anchorUid=" + mLiveUid; - System.out.println("url = " + url); bundle.putString("url", url); // bundle.putInt("height", DpUtil.dp2px(500)); bundle.putInt("show_type", 0); @@ -1535,6 +1534,10 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis private void setGuardIcon(LiveUserGiftBean guard) { if (guard != null) { nowGuardUser = guard; + ViewGroup.LayoutParams params = userGuard.getLayoutParams(); + params.height=DpUtil.dp2px(30); + params.width=DpUtil.dp2px(30); + userGuard.setLayoutParams(params); ImgLoader.displayAvatar(mContext, guard.getAvatar(), userGuard); gift_svga.setVisibility(View.VISIBLE); } diff --git a/live/src/main/res/drawable/bg_live_ico.xml b/live/src/main/res/drawable/bg_live_ico.xml index 1d16682ec..183d53890 100644 --- a/live/src/main/res/drawable/bg_live_ico.xml +++ b/live/src/main/res/drawable/bg_live_ico.xml @@ -1,6 +1,5 @@ - - + \ No newline at end of file diff --git a/live/src/main/res/layout/item_fast_msg.xml b/live/src/main/res/layout/item_fast_msg.xml index 400d66e9e..6701dbe7b 100644 --- a/live/src/main/res/layout/item_fast_msg.xml +++ b/live/src/main/res/layout/item_fast_msg.xml @@ -3,6 +3,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/room_fast_layout" android:layout_width="wrap_content" + android:layout_marginEnd="10dp" android:layout_height="wrap_content" android:background="@drawable/bg_fast_meg"> diff --git a/live/src/main/res/layout/view_live_audience.xml b/live/src/main/res/layout/view_live_audience.xml index a87799079..05dd53140 100644 --- a/live/src/main/res/layout/view_live_audience.xml +++ b/live/src/main/res/layout/view_live_audience.xml @@ -336,8 +336,7 @@ android:id="@+id/btn_msg" android:layout_width="40dp" android:layout_height="40dp" - android:layout_centerHorizontal="true" - android:layout_centerVertical="true" + android:layout_centerInParent="true" android:padding="5dp" android:src="@mipmap/messagesss" /> @@ -399,10 +398,9 @@ android:layout_width="40dp" android:layout_height="40dp" android:layout_centerVertical="true" - android:layout_marginEnd="16dp" android:layout_toStartOf="@id/gift_image" android:padding="4dp" - android:visibility="gone" + android:visibility="visible" android:src="@mipmap/live_icon_newpeople_en" /> diff --git a/live/src/main/res/layout/view_live_room.xml b/live/src/main/res/layout/view_live_room.xml index a2c057357..d4e398523 100644 --- a/live/src/main/res/layout/view_live_room.xml +++ b/live/src/main/res/layout/view_live_room.xml @@ -195,8 +195,8 @@ - + - + diff --git a/live/src/main/res/mipmap-mdpi/icon_live_close_3.png b/live/src/main/res/mipmap-mdpi/icon_live_close_3.png index 2026df284..2da0a5cfe 100644 Binary files a/live/src/main/res/mipmap-mdpi/icon_live_close_3.png and b/live/src/main/res/mipmap-mdpi/icon_live_close_3.png differ