Java Android水平滚动
对于Android水平滚动..如何保持一列或两列固定??一列或两列的其余部分其他部分将水平滚动。。。请帮帮我。。。。 我想在这里的滚动视图表格布局中水平固定一列…android:id=@+id/tblPVPDetailListJava Android水平滚动,java,android,Java,Android,对于Android水平滚动..如何保持一列或两列固定??一列或两列的其余部分其他部分将水平滚动。。。请帮帮我。。。。 我想在这里的滚动视图表格布局中水平固定一列…android:id=@+id/tblPVPDetailList <HorizontalScrollView android:layout_width="fill_parent" android:layout_height="match_parent" >
<HorizontalScrollView
android:layout_width="fill_parent"
android:layout_height="match_parent"
>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TableLayout
android:id="@+id/tblPVPDetailHeader2"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="52dp"
android:background="@drawable/shape" >
</TableLayout>
<ScrollView
android:layout_width="fill_parent"
android:layout_height="match_parent" >
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<TableLayout
android:id="@+id/tblPVPDetailList"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:layout_weight="0.27"
android:background="@drawable/shape"
android:horizontalSpacing="3dip"
>
</TableLayout>
</LinearLayout>
</ScrollView>
</LinearLayout>
</HorizontalScrollView>