新增连麦头像框
This commit is contained in:
parent
1548b6f252
commit
6f2a893a4e
25
live/src/main/res/drawable/bg_live_mic_av.xml
Normal file
25
live/src/main/res/drawable/bg_live_mic_av.xml
Normal 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>
|
@ -12,8 +12,8 @@
|
|||||||
<com.yunbao.common.views.weight.NobleNoticeView
|
<com.yunbao.common.views.weight.NobleNoticeView
|
||||||
android:id="@+id/noble"
|
android:id="@+id/noble"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_marginTop="60dp"
|
android:layout_height="wrap_content"
|
||||||
android:layout_height="wrap_content" />
|
android:layout_marginTop="60dp" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/lin"
|
android:id="@+id/lin"
|
||||||
@ -2022,10 +2022,20 @@
|
|||||||
android:layout_height="50dp"
|
android:layout_height="50dp"
|
||||||
android:visibility="gone">
|
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
|
<com.makeramen.roundedimageview.RoundedImageView
|
||||||
android:id="@+id/mic_ico"
|
android:id="@+id/mic_ico"
|
||||||
android:layout_width="40dp"
|
android:layout_width="40dp"
|
||||||
android:layout_height="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:scaleType="centerCrop"
|
||||||
android:src="@drawable/m_chu_xia"
|
android:src="@drawable/m_chu_xia"
|
||||||
app:riv_oval="true" />
|
app:riv_oval="true" />
|
||||||
@ -2046,10 +2056,20 @@
|
|||||||
android:layout_marginTop="19dp"
|
android:layout_marginTop="19dp"
|
||||||
android:visibility="gone">
|
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
|
<com.makeramen.roundedimageview.RoundedImageView
|
||||||
android:id="@+id/mic_ico1"
|
android:id="@+id/mic_ico1"
|
||||||
android:layout_width="40dp"
|
android:layout_width="40dp"
|
||||||
android:layout_height="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:scaleType="centerCrop"
|
||||||
android:src="@drawable/m_chu_xia"
|
android:src="@drawable/m_chu_xia"
|
||||||
app:riv_oval="true" />
|
app:riv_oval="true" />
|
||||||
@ -2070,10 +2090,20 @@
|
|||||||
android:layout_marginTop="19dp"
|
android:layout_marginTop="19dp"
|
||||||
android:visibility="gone">
|
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
|
<com.makeramen.roundedimageview.RoundedImageView
|
||||||
android:id="@+id/mic_ico2"
|
android:id="@+id/mic_ico2"
|
||||||
android:layout_width="40dp"
|
android:layout_width="40dp"
|
||||||
android:layout_height="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:scaleType="centerCrop"
|
||||||
android:src="@drawable/m_chu_xia"
|
android:src="@drawable/m_chu_xia"
|
||||||
app:riv_oval="true" />
|
app:riv_oval="true" />
|
||||||
|
Loading…
Reference in New Issue
Block a user