Activity:
<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"Android:paddingbottom="@dimen/activity_vertical_margin"Android:paddingleft="@dimen/activity_horizontal_margin"Android:paddingright="@dimen/activity_horizontal_margin"Android:paddingtop="@dimen/activity_vertical_margin"Tools:context="com.example.top6_1.MainActivity"> <ImageView android:layout_height="500DP"Android:layout_width="200DP"android:src="@drawable/DFHGC"/> <ImageView android:layout_margintop="50DP"Android:layout_marginleft="50DP"Android:layout_height="500DP"Android:layout_width="200DP"android:src="@drawable/hgcgh"/> <ImageView android:layout_margintop="100DP"Android:layout_marginleft="100DP"Android:layout_height="500DP"Android:layout_width="200DP"android:src="@drawable/FG"/> <ImageView android:layout_margintop="150DP"Android:layout_marginleft="150DP"Android:layout_height="500DP"Android:layout_width="200DP"android:src="@drawable/JHV"/> </FrameLayout>
Operating effect:
Android Basics Top6_1:framelyayout and ImageView making cascading pictures