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

Layer exceeds max. dimensions supported by the GPU in TwinTech scroll view on Android Marshmallow #46

Open
AmolHegana opened this issue Apr 12, 2016 · 1 comment

Comments

@AmolHegana
Copy link

I am developing app in Xamarin forms. App requires horizontal scroll view with data binding functionality. I achieved it using TwinTech libraries [Very very thanks]. I am done with my functionality. App is working fine for iOS but for android it is crashing for Android Marshmallow. Only for all android marshmallow devices, It is throwing exception saying "Layer exceeds max. dimensions supported by the GPU."
I googled on it.
Following are the suggested approaches
Override HasOverlappingRenderring() and returning false.
https://code.google.com/p/android/issues/detail?id=167551
Setting transition group to true;
http://stackoverflow.com/questions/26626344/scene-transition-with-hero-elements-throws-layer-exceeds-max-dimensions-support
Transition listener interface implementation
https://github.com/googlesamples/android-ActivitySceneTransitionBasic/blob/master/Application/src/main/java/com/example/android/activityscenetransitionbasic/DetailActivity.java
I tried all these approaches. But doesn't works for me.
Below link says issue got reopened in Android M.
http://stackoverflow.com/questions/32071265/android-m-scene-transition-with-hero-elements-throws-java-lang-illegalstateexce

Can you please suggest something on this. Even rough idea is also fine. I can check those option. Thanks in Advance.

I am attaching few files which will help you to analyze problem. I have attached complete stack trace file.

For more details along with source files please refer http://forums.xamarin.com/discussion/64459/layer-exceeds-max-dimensions-supported-by-the-gpu-in-twintech-scroll-view-on-android-marshmallow#latest

@AmolHegana
Copy link
Author

Here i am sending sample where issue gets simulated in your sample, Click on Option "Performance 3" on main menu.

Check above sample on device before Marshmallow and on Marshmallow. App crashed on marshmallow.

Sample is present at https://forums.xamarin.com/discussion/64459/layer-exceeds-max-dimensions-supported-by-the-gpu-in-twintech-scroll-view-on-android-marshmallow

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

No branches or pull requests

1 participant