ClickableSpan not ...点击

Nic*_*oge 6 android android-widget android-layout

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

<ScrollView>
    <LinearLayout>
        ...
        ...
        <TextView w/ ClickableSpan />
        ...
        ...
    </LinearLayout>
</ScrollView>
Run Code Online (Sandbox Code Playgroud)

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

<ScrollView>
    <LinearLayout>
        ...
        ...
        <TableLayout>
            ...
            ...
                <TableRow>
                    ...
                    ...
                    <TextView w/ ClickableSpan />
                    ...
                    ...
                </TableRow>
            ...
            ...
        </TableLayout>
        ...
        ...
    </LinearLayout>
</ScrollView>
Run Code Online (Sandbox Code Playgroud)