android ScrollView水平显示的问题这个是布局代码
 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"  
    android:id="@+id/ScrollView" 
    android:layout_width="500px"  
    android:layout_height="50px" 
    android:background="#ffd123"
    android:scrollbars="horizontal">   
<LinearLayout 
        android:orientation="horizontal"
        android:layout_width="wrap_content" 
        android:layout_height="wrap_content"
        android:id="@+id/LinearLayout02">
  </LinearLayout>
    </ScrollView>本打算在LinearLayout水平布局中动态生成8个按钮,在一行显示,外面包一个ScrollView,如果超出屏幕就让它水平滑动显示,但是问题是随便怎么设置,都不能水平滑动,只在竖直方向才能滑动,请教这个问题该怎么解决
,有高手路过的讲讲!