小编Tar*_*Tak的帖子

ScrollView中的ListView

可能重复:
ScrollView中的Listview不在Android上滚动

我有一个ListView内部ScrollView,问题ScrollView是滚动但ListView不滚动.我认为这是因为这一点ScrollView.有没有人有这个问题的解决方案?

android listview scrollview

10
推荐指数
2
解决办法
2万
查看次数

需要在 XSLT 1.0 中创建带参数的函数

在创建带参数的函数时需要一些帮助,并且可以在我的模板中使用该函数。尝试了很多事情但没有任何结果。下面是我的示例代码:

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
    version="1.0"
    xmlns:math="http://exslt.org/math"
    xmlns:func="http://exslt.org/functions"
    xmlns:my="http://exslt.org/my"
    exclude-result-prefixes="my"
    extension-element-prefixes="my math func">
    <xsl:output indent="yes" method="xml" />

    
    <xsl:variable name="functionTest11"> 
      <xsl:value-of select="my:calXY('aa')" />
    </xsl:variable>
    
    <xsl:template match="/">

        <svg xmlns="http://www.w3.org/2000/svg">
            <xsl:variable name="functionTest22"> 
                <xsl:value-of select="my:calXY" />
            </xsl:variable>
            <xsl:comment>functionTest <xsl:copy-of
              select="$functionTest22" /></xsl:comment>
        </svg>

    </xsl:template>
    
    <func:function name="my:calXY">
        <xsl:comment>functionHello </xsl:comment>
        <xsl:param name="string1" select="''"/>
        <func:result>
            <xsl:value-of select="concat(10,'|',10)" />
        </func:result>
    </func:function>
</xsl:stylesheet>
Run Code Online (Sandbox Code Playgroud)

exslt xslt-1.0

4
推荐指数
1
解决办法
6644
查看次数

标签 统计

android ×1

exslt ×1

listview ×1

scrollview ×1

xslt-1.0 ×1