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

Could not find method android.widget.FrameLayout.getTranslationY, referenced from method com.actionbarsherlock.internal.nineoldandroids.widget.NineFrameLayout.getTranslationY #1054

Open
devilmac opened this issue Oct 10, 2013 · 2 comments

Comments

@devilmac
Copy link

Hi,

I use this library and I find it fantastic! But now I have a problem, especially the problem mentioned in the title. I get this error only on devices with Android API level 10 (and maybe with previous levels), but on devices with Android API level 11 and up all works well. The problem consists in an inappropriate layout of the UI. How you can see on the attached image,
problem with actionbarsherlock
the layout is on the left of the screen instead of to be to the center of the screen, and the reason is proper the problem mentioned above in the title.

@JakeWharton
Copy link
Owner

Translation isn't used on the content. Are you using things from ABS's internal package that you shouldn't be?

@devilmac
Copy link
Author

Hi Jake,
I use the ABS how explained from the documentation and stop. I'm not using anything from ABS's internal package, I only extended my activities from Sherlock activities. Before yesterday, ABS worked very well. I searched for the getTranslationY method of the FrameLayout widget and I have noticed that this method was added into SKD from API Level 11, while Android 2.3.X is API Level 10.

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