0
简单的问题: 如下所示的XML布局,我都裹在GestureOverlayView一些看法。如下图所示,我的第一行是混合与第二行,作为-如果第一行被向右转置在所述第二顶部。GestureOverlayView引起奇怪的TableRow混合
现在,当我将GestureOverlayView从代码中取出并保持原样时,我的表看起来很好 - 行是分开的,并且不在彼此之上。
我不知道为什么行重叠那样与gestureOverlayView礼物?
截图显示的问题:http://img413.imageshack.us/img413/4994/overlayblending.png
谢谢
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/ll1"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
<android.gesture.GestureOverlayView
android:id="@+id/gesturePage01"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1.0">
<TableRow android:id="@+id/TableRow01" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView
android:text="Connection info"
android:id="@+id/tvCon1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="#F0F0F0"
android:textColor="#FF0000"
/>
</TableRow>
<TableRow android:id="@+id/TableRow02" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ScrollView
android:id="@+id/ScrollView01"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TextView
android:id="@+id/tvMessages"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:text=""
/>
</ScrollView>
</TableRow>
</android.gesture.GestureOverlayView>
</LinearLayout>