Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infotext is above Actionbar #5

Closed
eiabea opened this issue May 7, 2013 · 3 comments
Closed

Infotext is above Actionbar #5

eiabea opened this issue May 7, 2013 · 3 comments
Labels

Comments

@eiabea
Copy link

eiabea commented May 7, 2013

when a infotext is showing and the FormEditText is in a scrollview it happens that the overlay is on top of the actionbar when scrolling
device-2013-05-07-170458

@vekexasia
Copy link
Owner

Confirmed. What do you think it should do?

Actually i believe that you should do your own check and eventually call a scroll event so that the "wrong" element gets visible. Tell me your thoughts.

@eiabea
Copy link
Author

eiabea commented May 13, 2013

i think the standard behaviour could be that the info text gets behind the actionbar. I don't know how you even can show it above ^^
or something like a collision detection, whichk hides the info text completely when it hits the action bar

@vekexasia
Copy link
Owner

Hello,

As i said you should take your own precautions to this. Please take a look at:

http://developer.android.com/reference/android/view/View.html#getLocationOnScreen(int[])

You should check which view haves the getLocationOnScreen out of your "user view" and do a

mScrollView.scrollTo(xPosition, yPosition);

You could also try to trigger the "requestFocus()" method of the view that is out of your "screen".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants