答案 0 :(得分:1)
我是通过父RelativeLayout
上的减号填充来实现的,如下所示:
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/loading1"
android:layout_marginBottom="-34dp"
android:background="@drawable/alert">