ActionBarSherlock icon indicating copy to clipboard operation
ActionBarSherlock copied to clipboard

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

Open devilmac opened this issue 11 years ago • 2 comments

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.

devilmac avatar Oct 10 '13 21:10 devilmac

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

JakeWharton avatar Oct 10 '13 21:10 JakeWharton

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.

devilmac avatar Oct 11 '13 07:10 devilmac