新增连麦头像框

This commit is contained in:
zlzw 2022-11-29 17:45:36 +08:00
parent 1548b6f252
commit 6f2a893a4e
2 changed files with 58 additions and 3 deletions

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:width="40dp" android:height="40dp">
<shape android:shape="oval">
<corners
android:radius="1dp"
android:topLeftRadius="12dp"
android:topRightRadius="2dp"
android:bottomLeftRadius="2dp"
android:bottomRightRadius="2dp"/><!-- 设置圆角半径 -->
<gradient
android:startColor="#fffe9afc"
android:endColor="#ff8ab3ff"
android:useLevel="true"
android:angle="45"
android:type="linear"
android:centerX="0"
android:centerY="0"
android:gradientRadius="90"/>
</shape>
</item>
</selector>

View File

@ -12,8 +12,8 @@
<com.yunbao.common.views.weight.NobleNoticeView
android:id="@+id/noble"
android:layout_width="match_parent"
android:layout_marginTop="60dp"
android:layout_height="wrap_content" />
android:layout_height="wrap_content"
android:layout_marginTop="60dp" />
<LinearLayout
android:id="@+id/lin"
@ -2022,10 +2022,20 @@
android:layout_height="50dp"
android:visibility="gone">
<View
android:layout_width="41dp"
android:layout_height="41dp"
android:layout_marginBottom="10dp"
android:background="@drawable/bg_live_mic_av" />
<com.makeramen.roundedimageview.RoundedImageView
android:id="@+id/mic_ico"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_marginBottom="11dp"
android:scaleType="centerCrop"
android:src="@drawable/m_chu_xia"
app:riv_oval="true" />
@ -2046,10 +2056,20 @@
android:layout_marginTop="19dp"
android:visibility="gone">
<View
android:layout_width="41dp"
android:layout_height="41dp"
android:layout_marginBottom="10dp"
android:background="@drawable/bg_live_mic_av" />
<com.makeramen.roundedimageview.RoundedImageView
android:id="@+id/mic_ico1"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_marginBottom="11dp"
android:scaleType="centerCrop"
android:src="@drawable/m_chu_xia"
app:riv_oval="true" />
@ -2070,10 +2090,20 @@
android:layout_marginTop="19dp"
android:visibility="gone">
<View
android:layout_width="41dp"
android:layout_height="41dp"
android:layout_marginBottom="10dp"
android:background="@drawable/bg_live_mic_av" />
<com.makeramen.roundedimageview.RoundedImageView
android:id="@+id/mic_ico2"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_marginBottom="11dp"
android:scaleType="centerCrop"
android:src="@drawable/m_chu_xia"
app:riv_oval="true" />
@ -2250,6 +2280,6 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="30dp"
android:visibility="visible"/>
android:visibility="visible" />
</LinearLayout>
</RelativeLayout>