java - Issue with my app after Android 5.0.1 update. "SurfaceView" turns into transparent mode -
i use slidemenu in app. “menu” in 1 fragment , “surfaceview” in another. when opening “menu”, preview disappears during camera movement , surfaceview turns transparent mode. using setzorderontop(true) - surfaceview doesn’t disappear, overlaps lot of elements, should on it.
untill android 5.0.1 update fine. can give me advice?
comment out hardware acceleration in managelayers method of slidingmenu. seems solution since surfaceviews don't work.
com.jeremyfeinstein.slidingmenu.lib.slidingmenu
edit function managelayers:
//final int layertype = layer ? view.layer_type_hardware : view.layer_type_none; final int layertype = view.layer_type_none;
Comments
Post a Comment