我想堆叠图像视图旁边(70%重叠)。我使用了一个frameLayout,并给了每个elemnet填充10个。它的工作原理,但是这个填充在处理事件时会杀死我。有没有更好的方式重叠视图(使用不同的布局..等)?我开发的Android 2.3堆叠重叠的图像视图
<RelativeLayout android:layout_height="fill_parent"
android:layout_width="fill_parent" >
<FrameLayout
android:id="@+id/frameLayoutBottom"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true" >
<ImageView
android:id="@+id/ivBottom1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/c10" />
<ImageView
android:id="@+id/ivBottom2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="10dp"
android:src="@drawable/c11" />
顺便说一句,当我尝试了保证金,而不是填充,图像依然对的海誓山盟100%顶级
通过处理事件意味着什么?点击事件? – 2012-03-23 14:12:56
是或更具体的触摸事件 – Snake 2012-03-23 14:53:16