How do I know that the scrollview is already scrolled to the bottom?

If scrollView.getHeight() == scrollView. GetScrollY + screensize, then it is scrolled to bottom.

Thank you but when the scroll is at bottom getScrollY = 349 getBottom = 430 getMeasuredHeight = 430 getHeight = 430 The last three are the same no matter how far down I have scrolled. The only thing that varies is getScrollY. What is this screensize you mention?

Did I missinteroperate it? It should be 81 in this case and I can't think of anything that is that. – sanna May 19 '10 at 12:55.

I found a way to make it work. I needed to check the measured height of the child to the ScrollView, in this case a LinearLayout. I use the I.e.

When the LinearLayout is not as high as the ScrollView. In those cases getScrollY is always 0. ScrollView scrollView = (ScrollView) findViewById(R.id.

ScrollView); LinearLayout linearLayout = (LinearLayout) findViewById(R.id. LinearLayout); if(linearLayout. GetMeasuredHeight().

I needed to check the measured height of the child to the ScrollView, in this case a LinearLayout. I use the In those cases getScrollY is always 0.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions


Thank You!
send