[안드로이드] 단말기에서 앱간전환 버튼을 클릭 후, 다시 앱 화면을 클릭하면 좌측으로 fade out 되는 현상

조회수 2066회

앱간전환 버튼을 클릭 후에 다시 앱 화면을 클릭했을 때, 좌측으로 fade out 되며, 해당 앱만 발생합니다.

아래의 유튜브 영상과 디버깅 로그를 참고해 주시고 근본 원인이 무엇일지 해결방안 공유 부탁드려요.

https://www.youtube.com/watch?v=VWM0dGClZLE (0.5 배속으로 시청 권장)

감사합니다.

앱간전환 버튼을 눌렀을 때,

I/SurfaceControl: release : mNativeObject = -5476376626827270784 - Surface(name=Surface(name=1d5ecfd InputMethod)/@0x4d782c0 - animation-leash)/@0xf261519 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.ImeInsetsSourceConsumer.setControl:154 
I/SurfaceControl: nativeRelease nativeObject s[-5476376626827270784]
    nativeRelease nativeObject e[-5476376626827270784]
I/SurfaceControl: release : mNativeObject = -5476376626827251248 - Surface(name=Surface(name=c869151 NavigationBar0)/@0x45ea95b - animation-leash)/@0x46fe778 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833 
I/SurfaceControl: nativeRelease nativeObject s[-5476376626827251248]
I/SurfaceControl: nativeRelease nativeObject e[-5476376626827251248]
I/SurfaceControl: release : mNativeObject = -5476376626827273776 - Surface(name=Surface(name=7371b57 StatusBar)/@0x3a1a50c - animation-leash)/@0xafc4e51 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833 
    nativeRelease nativeObject s[-5476376626827273776]
    nativeRelease nativeObject e[-5476376626827273776]
I/ViewRootImpl@bb35357[LoginActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
D/InputTransport: Input channel destroyed: 'ClientS', fd=94
I/SurfaceControl: release : mNativeObject = -5476376626827264096 - Surface(name=Surface(name=1d5ecfd InputMethod)/@0x4d782c0 - animation-leash)/@0xc0d053 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.ImeInsetsSourceConsumer.setControl:154 
I/SurfaceControl: nativeRelease nativeObject s[-5476376626827264096]
    nativeRelease nativeObject e[-5476376626827264096]
I/SurfaceControl: release : mNativeObject = -5476376626827261632 - Surface(name=null)/@0xe3be1a3 / android.view.SurfaceControl.assignNativeObject:567 android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1777 android.view.ViewRootImpl.relayoutWindow:8953 
I/SurfaceControl: nativeRelease nativeObject s[-5476376626827261632]
    nativeRelease nativeObject e[-5476376626827261632]
I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0xe3be1a3 / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1777 android.view.ViewRootImpl.relayoutWindow:8953 android.view.ViewRootImpl.performTraversals:3312 android.view.ViewRootImpl.doTraversal:2575 android.view.ViewRootImpl$TraversalRunnable.run:9916 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0x544151a / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1787 android.view.ViewRootImpl.relayoutWindow:8953 android.view.ViewRootImpl.performTraversals:3312 android.view.ViewRootImpl.doTraversal:2575 android.view.ViewRootImpl$TraversalRunnable.run:9916 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
I/ViewRootImpl@bb35357[LoginActivity]: Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) req=(1080,2400)8 dur=20 res=0x5 s={false 0} ch=true fn=2
I/ViewRootImpl@bb35357[LoginActivity]: stopped(true) old=false

다시 앱 화면을 눌렀을 때,

I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0xe3be1a3 / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1777 android.view.ViewRootImpl.relayoutWindow:8953 android.view.ViewRootImpl.performTraversals:3312 android.view.ViewRootImpl.doTraversal:2575 android.view.ViewRootImpl$TraversalRunnable.run:9916 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0x544151a / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1787 android.view.ViewRootImpl.relayoutWindow:8953 android.view.ViewRootImpl.performTraversals:3312 android.view.ViewRootImpl.doTraversal:2575 android.view.ViewRootImpl$TraversalRunnable.run:9916 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
I/ViewRootImpl@bb35357[LoginActivity]: Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) req=(1080,2400)4 dur=18 res=0x1 s={false 0} ch=false fn=-1
I/ViewRootImpl@bb35357[LoginActivity]: stopped(false) old=true
I/ViewRootImpl@bb35357[LoginActivity]: stopped(false) old=false
I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0x544151a / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1787 android.view.ViewRootImpl.relayoutWindow:8953 android.view.ViewRootImpl.performTraversals:3312 android.view.ViewRootImpl.doTraversal:2575 android.view.ViewRootImpl$TraversalRunnable.run:9916 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
I/ViewRootImpl@bb35357[LoginActivity]: Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) req=(1080,2400)0 dur=12 res=0x7 s={true -5476376622532692160} ch=true fn=-1
I/ViewRootImpl@bb35357[LoginActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
D/InputMethodManager: prepareNavigationBarInfo() DecorView@7a3ae9e[LoginActivity]
D/InputMethodManager: getNavigationBarColor() -855310
D/InputMethodManager: prepareNavigationBarInfo() DecorView@7a3ae9e[LoginActivity]
D/InputMethodManager: getNavigationBarColor() -855310
V/InputMethodManager: Starting input: tba=ideaplace.app.ideapl ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
D/InputMethodManager: startInputInner - Id : 0
I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
D/InputTransport: Input channel constructed: 'ClientS', fd=94
D/SurfaceControl: hide : mNativeObject = -5476376626827252304 - sc.mNativeObject = -5476376626827251600 - Surface(name=Surface(name=1d5ecfd InputMethod)/@0x4d782c0 - animation-leash)/@0x8314816
    nativeSetFlags Done : Surface(name=Surface(name=1d5ecfd InputMethod)/@0x4d782c0 - animation-leash)/@0x8314816
I/SurfaceControl: release : mNativeObject = -5476376626827255648 - Surface(name=Surface(name=c869151 NavigationBar0)/@0x45ea95b - animation-leash)/@0x7f69597 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833 
I/SurfaceControl: nativeRelease nativeObject s[-5476376626827255648]
    nativeRelease nativeObject e[-5476376626827255648]
I/SurfaceControl: release : mNativeObject = -5476376626827683856 - Surface(name=Surface(name=7371b57 StatusBar)/@0x3a1a50c - animation-leash)/@0xf5be384 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833 
    nativeRelease nativeObject s[-5476376626827683856]
    nativeRelease nativeObject e[-5476376626827683856]
  • (•́ ✖ •̀)
    알 수 없는 사용자

1 답변

  • styles.xml 파일에 windowIsTranslucent 속성을 제거하니 해당 문제가 사라졌습니다. 정확히는 모르겠으나 SurfaceView 쪽 문제 같습니다.

    • (•́ ✖ •̀)
      알 수 없는 사용자

답변을 하려면 로그인이 필요합니다.

프로그래머스 커뮤니티는 개발자들을 위한 Q&A 서비스입니다. 로그인해야 답변을 작성하실 수 있습니다.

(ಠ_ಠ)
(ಠ‿ಠ)