ClickableSpan not ...点击

时间:2012-02-07 18:33:06

标签: android android-layout android-widget

如果我在TextView中有一个ClickableSpan,它在ScrollView中的LinearLayout时工作正常:

<ScrollView>
    <LinearLayout>
        ...
        ...
        <TextView w/ ClickableSpan />
        ...
        ...
    </LinearLayout>
</ScrollView>

为什么ClickableSpan不能与上面相同的配置工作,而是在TableLayout和TableRow中:

<ScrollView>
    <LinearLayout>
        ...
        ...
        <TableLayout>
            ...
            ...
                <TableRow>
                    ...
                    ...
                    <TextView w/ ClickableSpan />
                    ...
                    ...
                </TableRow>
            ...
            ...
        </TableLayout>
        ...
        ...
    </LinearLayout>
</ScrollView>

0 个答案:

没有答案