Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/asp.net-mvc-3/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在android中跟踪表格行Y坐标(以像素为单位)_Android_Android Layout_Scroll_Android Tablelayout - Fatal编程技术网

在android中跟踪表格行Y坐标(以像素为单位)

在android中跟踪表格行Y坐标(以像素为单位),android,android-layout,scroll,android-tablelayout,Android,Android Layout,Scroll,Android Tablelayout,在android中滚动时,我需要跟踪某个TableRow的y坐标。有人知道怎么做吗 作为背景,我的代码运行良好。我有一个xml布局,它以编程方式接受我的TableLayout。这里是一个片段 <ScrollView android:id="@+id/my_scroller" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_margi

在android中滚动时,我需要跟踪某个TableRow的y坐标。有人知道怎么做吗

作为背景,我的代码运行良好。我有一个xml布局,它以编程方式接受我的TableLayout。这里是一个片段

<ScrollView
    android:id="@+id/my_scroller"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_marginBottom="50dip"
    android:isScrollContainer="false" >

    <LinearLayout
        android:id="@+id/holder_view"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical" />
</ScrollView>


同样,问题是:如何在android中跟踪TableRow offset可能,您应该明确您已经尝试找到解决方案,例如,发布您已经尝试过的任何代码(除了定义滚动视图的代码)。