0
如何将imageview从ScrollView移动到RelativeLayout使用拖动n
drop(或其他)? 的Android 2.2/2.3.3 + 我需要OnTouch采取imageview的顺畅移动到RelativeLayout的... 对不起,我的英语..将imageview从scrollview移动到relativelayout
如何将imageview从ScrollView移动到RelativeLayout使用拖动n
drop(或其他)? 的Android 2.2/2.3.3 + 我需要OnTouch采取imageview的顺畅移动到RelativeLayout的... 对不起,我的英语..将imageview从scrollview移动到relativelayout
我不知道这是否是这就是你想要但你可以简单地去XML(与拖n个墨滴没有图形布局),切ImagaView代码并将其放置在滚动型布局之外,
只记得滚动型可父亲只有一个对象,这样你们可以在你的图像从本
创建的LinearLayout
<ScrollView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_alignParentTop="true"
android:layout_above="@id/adView1">
<RelativeLayout
android:id="@+id/relativeLayout2"
android:layout_width="fill_parent"
android:layout_height="352dp" >
<ImageButton
android:id="@+id/imageButton1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/buttongod" />
</RelativeLayout>
</ScrollView>
TO THIS
<ScrollView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_alignParentTop="true"
android:layout_above="@id/adView1"
<RelativeLayout
android:id="@+id/relativeLayout2"
android:layout_width="fill_parent"
android:layout_height="352dp" >
</RelativeLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
<ImageButton
android:id="@+id/imageButton1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/buttongod" />
</LinearLayout>
</ScrollView>
没有。用户必须这样做......是这样的:http://s019.radikal.ru/i601/1203/d0/27823f090029.jpg – user868395 2012-03-10 23:40:17