-
Notifications
You must be signed in to change notification settings - Fork 492
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
if ChildView Width > Screen width then shows half view #20
Comments
No sorry, I have not had that problem. If you figure out how to solve it I On Sat, Oct 20, 2012 at 4:37 AM, Nixit Patel [email protected]:
|
Tested this a little bit more. Seems that the view is not invalidated properly in some cases on android 2.1. Even if i force call invalidate some regions show invalid information. |
@httpdispatch also on my 4.4 kitkat ,, any solutions ??!! |
@kazaky How i remember i've fixed that issue by modifying method measureChild private void measureChild(final View child) {
child.measure(MeasureSpec.makeMeasureSpec(getWidth(), MeasureSpec.UNSPECIFIED),
MeasureSpec.makeMeasureSpec(getHeight(), MeasureSpec.AT_MOST));
} |
thanks@httpdispatch for the reply only this one , with different parameters ,,
|
I've did a couple of bugfixes so don't remember which one fixed the issue. You may try my bugfixes version of HorizontalListView here Also please note that you should explicitly set Layout width for you child views to be larger than screen size to overcome the issue |
i'll check that , |
Hi,
I have implemented Horizontal List view in to my application, It works great.
But I have encountered one problem which is
if child view's width exceeds from the screen width it shows the view till the screen size rest is cutoff from the screen.
any idea how to solve this problem
Thanks
The text was updated successfully, but these errors were encountered: