我有我的应用程序中的滚动视图,在我的模拟器中运行良好,但不能在Android设备上工作.....我的应用程序开发与minsdkversion:8
...我部署我的应用在的android 2.2滚动视图在模拟器中工作,但不能在Android设备上工作
我的布局低于
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:scrollbars="vertical"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:background="#D2691E">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="#D2691E"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Branch"
android:textColor="#000000"
android:textSize="30px"
/>
<Spinner android:id="@+id/group"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:prompt="@string/group_prompt"
/>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Year"
android:textColor="#000000"
android:textSize="30px" />
<Spinner android:id="@+id/year"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawSelectorOnTop="true"
android:prompt="@string/year_prompt"
/>
<Button android:id="@+id/ok1_button"
android:layout_height="wrap_content"
android:layout_width="wrap_content" android:text="Ok1" android:ems="5">
</Button>
</LinearLayout>
</ScrollView>
PLZ给予solution..Thanks
什么设备上的问题? scrollview内的视图被冻结? – 2012-04-06 08:58:03
@Rahul garg ya .....我不能在设备中滚动,但我可以在模拟器上滚动模拟器 – 2012-04-06 09:02:27
如何通过鼠标滚动按钮或拖动光标滚动 – vipin 2012-04-06 09:05:04