在android中跟踪表格行Y坐标(以像素为单位)
在android中滚动时,我需要跟踪某个TableRow的y坐标。有人知道怎么做吗 作为背景,我的代码运行良好。我有一个xml布局,它以编程方式接受我的TableLayout。这里是一个片段在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
<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可能,您应该明确您已经尝试找到解决方案,例如,发布您已经尝试过的任何代码(除了定义滚动视图的代码)。