具体情况是这样的:我在framelayout上动态的添加了很多层view,虽然每个view不是很大,但是我加的位置都是依次往上移一点,下一层会覆盖上一次的一部分,所以所有的view加起来也很大,是完全超过了屏幕的尺寸的,所以我把framelayout放在scrollview上 ,希望他能滚动查看。
重点是:我这样做其实应该是完全没问题的,我在4.0系统的平板上完全可以,可是在2.3系统的平板上他就是不滚动,我放在HorizontalScrollView上,可以横向滚动!不知道有没有朋友知道怎么处理这个问题,比较急。
我自己研究了好些时间,感觉找到了些原因,但要叙述出来比较麻烦,也怕误导大家的思路。。
遇到故类似问题或者知道怎么解决问题的朋友讲一下。真心求帮助!谢谢!

解决方案 »

  1.   

    android:scrollbars
     设置滚动条显示。none(隐藏),horizontal(水平),vertical(垂直)。但是其他容器如LinearLayout设置了但是没有效果。试一下。
      

  2.   

    解了, 我把FrameLayout换成了RelativeLayout. 
      

  3.   

    我在4.1版本上 中ScrollView添加 自定义的framellayout ,不会滚动。请问楼主 做的。
    一下是我的xml文件<ScrollView android:layout_width="match_parent"
           android:layout_height="wrap_content"
           android:layout_weight="4"
           android:isScrollContainer="true"
           android:fillViewport="true">
        <com.example.DatePlanListView
           android:id="@+id/plan_list"
           android:layout_width="match_parent"
           android:layout_height="wrap_content"
           >
           
       </com.example.DatePlanListView>