先来看一张预览图:
废话不多说,直接上代码:
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipChildren="false">
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="60dp"
android:background="@mipmap/www" />
android:id="@+id/ll_bottom"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_alignParentBottom="true"
android:background="#F8549D"
android:elevation="10dp"
android:orientation="horizontal">
android:layout_width="0dp&