Skip to content
This repository has been archived by the owner on Apr 19, 2018. It is now read-only.

ViewHelper.setX() on View with visibility GONE sets visibility to VISIBLE #49

Closed
nhaarman opened this issue Jul 2, 2013 · 1 comment

Comments

@nhaarman
Copy link

nhaarman commented Jul 2, 2013

When doing this:

myView.setVisibility(GONE);
ViewHelper.setX(newX, myView);

The myView object becomes visible again on pre-HC (tested on 2.3.3). On 4.2.2 this does not happen.

@JakeWharton
Copy link
Owner

Using the compatibility transformations requires an animation be playing on the view which requires it to be visible. There's no way to work around this fact.

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

No branches or pull requests

2 participants