简书链接:andorid对话框边界的处理美化
文章字数:92,阅读全文大约需要1分钟
image.png

解决方法:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
            android:lineSpacingExtra="8dp"
android:text="@string/loading"
android:textColor="#5E5E5E"
android:layout_marginBottom="15dp"

android:textSize="14sp"
app:htmltext="@{model.contentand}" />


</LinearLayout>

</android.support.v4.widget.NestedScrollView>

<View
android:layout_width="match_parent"
android:background="@drawable/shape_white_gad"
android:layout_gravity="bottom"
android:paddingBottom="15dp"
android:layout_height="40dp"/>


1
2
3
4
5
6
7
8
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient
android:endColor="@color/transparent"
android:angle="90"
android:startColor="@color/colorWhite" />

</shape>