diff options
Diffstat (limited to 'src/github/daneren2005/dsub/view/HeaderGridView.java')
-rw-r--r-- | src/github/daneren2005/dsub/view/HeaderGridView.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/view/HeaderGridView.java b/src/github/daneren2005/dsub/view/HeaderGridView.java index 8e1eddac..c8e51764 100644 --- a/src/github/daneren2005/dsub/view/HeaderGridView.java +++ b/src/github/daneren2005/dsub/view/HeaderGridView.java @@ -300,6 +300,14 @@ public class HeaderGridView extends GridView { mRowHeight = -1; } + public int getHeaderHeight(int row) { + if (row >= 0) { + return mHeaderViewInfos.get(row).view.getMeasuredHeight(); + } + + return 0; + } + public int getRowHeight() { if (mRowHeight > 0) { return mRowHeight; |