新增连麦头像框
This commit is contained in:
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>
|
||||
Reference in New Issue
Block a user