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

A problem or a bug about action mode in holoeverywhere. #792

Open
xianyo opened this issue Feb 22, 2014 · 0 comments
Open

A problem or a bug about action mode in holoeverywhere. #792

xianyo opened this issue Feb 22, 2014 · 0 comments

Comments

@xianyo
Copy link

xianyo commented Feb 22, 2014

I just change the HoloEverywhere Demo AndroidManifest.xml.
I add this code in activity config

     android:configChanges="orientation|keyboardHidden"

then you can go to the HoloEverywhere Demo in Other->Lists->Choicemode:Modal.
now the phone in portrait, just checked any lists,you will toggle the action mode
then change the phone in landscape.
then click the ok or back key,the Demo app will stop unexpectedly.
the phone is android 2.3.
the error log is

02-23 03:02:36.085: E/AndroidRuntime(29112): FATAL EXCEPTION: main
02-23 03:02:36.085: E/AndroidRuntime(29112): java.lang.IllegalArgumentException: bitmap size exceeds 32bits
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.graphics.Bitmap.nativeCreate(Native Method)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.graphics.Bitmap.createBitmap(Bitmap.java:484)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.view.View.buildDrawingCache(View.java:6783)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.view.ViewGroup.onAnimationStart(ViewGroup.java:1261)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.view.ViewGroup.drawChild(ViewGroup.java:1510)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1375)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.view.View.draw(View.java:7105)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.widget.FrameLayout.draw(FrameLayout.java:357)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.view.ViewGroup.drawChild(ViewGroup.java:1651)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1375)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.view.View.draw(View.java:7105)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.view.ViewGroup.drawChild(ViewGroup.java:1651)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1375)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.view.ViewGroup.drawChild(ViewGroup.java:1649)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.support.v4.widget.DrawerLayout.drawChild(DrawerLayout.java:817)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1375)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.view.ViewGroup.drawChild(ViewGroup.java:1649)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1375)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.view.View.draw(View.java:7105)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.widget.FrameLayout.draw(FrameLayout.java:357)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1988)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.view.ViewRoot.draw(ViewRoot.java:1547)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.view.ViewRoot.performTraversals(ViewRoot.java:1266)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.view.ViewRoot.handleMessage(ViewRoot.java:1898)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.os.Handler.dispatchMessage(Handler.java:99)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.os.Looper.loop(Looper.java:130)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at android.app.ActivityThread.main(ActivityThread.java:3768)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at java.lang.reflect.Method.invokeNative(Native Method)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at java.lang.reflect.Method.invoke(Method.java:507)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
02-23 03:02:36.085: E/AndroidRuntime(29112):    at dalvik.system.NativeStart.main(Native Method)
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

1 participant