Framelayout (Frame layout)
: Layout/activity_main.xml
<framelayout xmlns:android= "Http://schemas.android.com/apk/res/android"
Xmlns:tools= "Http://schemas.android.com/tools"
Android:layout_width= "Match_parent"
android:layout_height= "Match_parent"
>
<imageview android:layout_width= "128DP"
android:layout_height= "128DP"
android:src= "@drawable/p03"/>
<imageview android:layout_width= "64DP"
android:layout_height= "64DP"
android:src= "@drawable/p02"/>
<imageview android:layout_width= "32DP"
android:layout_height= "32DP"
android:src= "@drawable/p01"/>
<button
Android:layout_width= "Wrap_content"
android:layout_height= "Wrap_content"
android:text= "View Pictures"
Android:layout_gravity= "Bottom|center_horizontal"
Android:textcolor= "#000"
Android:textsize= "25DP"
/>
</FrameLayout>
Effect:
650) this.width=650; "Src=" http://img.blog.csdn.net/20141116193024906?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvcwe5nji4mzk1nzu=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Southeast "/>
This article from "Follow the heart of the other side" blog, declined reprint!
Andorid Frame Layout Framelayout