0

我无法让我的 SeekBar 填写我的表格视图。

这就是它的样子:

表视图

我的代码:

            <TableRow
                android:layout_width="fill_parent"
                android:layout_height="wrap_content" >
                <TextView
                    android:id="@+id/tvneg7"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="e" />

                <SeekBar
                    android:id="@+id/totalE"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:max="5" />

                <TextView
                    android:id="@+id/tvneg8"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="0"/>
            </TableRow>
4

1 回答 1

0

我添加了

                    android:layout_weight="1"

它修复了它

于 2012-12-03T15:52:29.547 回答