마스터Q&A 안드로이드는 안드로이드 개발자들의 질문과 답변을 위한 지식 커뮤니티 사이트입니다. 안드로이드펍에서 운영하고 있습니다. [사용법, 운영진]

안녕하세요 안드로이드 os 레이아웃(?) 사이즈 관련하여 문의드립니다.

0 추천

SDK로 안드로이드를 포팅 했는데 기본적으로 깔려 있는 어플에서도 일부어플(이메일/캘린더 등)의 오른쪽에 검은색 여백이 생깁니다.  어떻게 해야할까요?

ps. 다른 어플(계산기/음악)들은 문제 없이 동작됩니다.

 

dpi(기본값 280)을 290으로 변경해주면 여백은 사라집니다만 네비게이션바가 오른쪽으로 이동되는 현상이 생깁니다. 또한 일부 어플의 경우 제대로 접속되지 않고 튕기는 현상이 생깁니다.

wm size를 이용하여 1920x1080을 2540x1440으로 변경하면 여백이 줄어드는것을 확인했습니다.

혹 짐작이 되는 점이 있으시다면 도움의 손길 부탁드립니다.

문제가 되는 초기 상태의 logcat 입니다.(email)

pm list packages -f
package:/system/app/Email/Email.apk=com.android.email

//init
logcat|grep -E 'com.android.email'
01-14 13:17:43.121  2837  2837 E ActivityThread: Service com.android.email.service.EmailBroadcastProcessorService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@f849fbc that was originally bound here
01-14 13:17:43.121  2837  2837 E ActivityThread: android.app.ServiceConnectionLeaked: Service com.android.email.service.EmailBroadcastProcessorService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@f849fbc that was originally bound here
01-14 13:17:43.121  2837  2837 E ActivityThread:        at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:181)
01-14 13:17:43.121  2837  2837 E ActivityThread:        at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:224)
01-14 13:17:43.121  2837  2837 E ActivityThread:        at com.android.email.service.EmailServiceUtils.isServiceAvailable(EmailServiceUtils.java:160)
01-14 13:17:43.121  2837  2837 E ActivityThread:        at com.android.email.provider.AccountReconciler.reconcileAccountsInternal(AccountReconciler.java:171)
01-14 13:17:43.121  2837  2837 E ActivityThread:        at com.android.email.provider.AccountReconciler.reconcileAccounts(AccountReconciler.java:115)
01-14 13:17:43.121  2837  2837 E ActivityThread:        at com.android.email.service.EmailBroadcastProcessorService.reconcileAndStartServices(EmailBroadcastProcessorService.java:305)
01-14 13:17:43.121  2837  2837 E ActivityThread:        at com.android.email.service.EmailBroadcastProcessorService.onBootCompleted(EmailBroadcastProcessorService.java:295)
01-14 13:17:43.121  2837  2837 E ActivityThread:        at com.android.email.service.EmailBroadcastProcessorService.onHandleIntent(EmailBroadcastProcessorService.java:130)

01-14 13:32:33.855   478  2504 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.email/com.android.email.activity.setup.AccountSetupFinal}----com.android.email
01-14 13:32:33.883   478  2504 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.email/com.android.email.activity.setup.AccountSetupFinal}----com.android.email

01-14 13:33:55.108   280  1406 E BufferQueueProducer: [com.android.email/com.android.email.activity.Welcome#0] disconnect: not connected (req=1)
01-14 13:34:08.503   280   346 E BufferQueueProducer: [com.android.email/com.android.email.activity.setup.AccountSetupFinal#0] disconnect: not connected (req=1)

01-14 13:34:10.752   478   560 E InputDispatcher: channel '8c11fe4 com.android.email/com.android.email.activity.setup.AccountSetupFinal (server)' ~ Channel is unrecoverably broken and will be disposed!

01-14 13:34:10.752   478   560 E InputDispatcher: channel 'c57ee87 com.android.email/com.android.email.activity.Welcome (server)' ~ Channel is unrecoverably broken and will be disposed!

01-14 13:43:42.467   478  1267 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.email/com.android.email2.ui.MailActivityEmail}----com.android.email
01-14 13:43:42.477   478  1267 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.email/com.android.email2.ui.MailActivityEmail}----com.android.email

01-14 13:43:43.033   478  2524 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.email/com.android.email.activity.setup.AccountSetupFinal}----com.android.email
01-14 13:43:43.065   478  2524 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.email/com.android.email.activity.setup.AccountSetupFinal}----com.android.email

01-14 13:43:43.346   280  1406 E BufferQueueProducer: [com.android.email/com.android.email.activity.Welcome#0] disconnect: not connected (req=1)
01-14 13:43:48.133   478  1267 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.email/com.android.email2.ui.MailActivityEmail}----com.android.email
01-14 13:43:48.334   280  1406 E BufferQueueProducer: [com.android.email/com.android.email.activity.setup.AccountSetupFinal#0] disconnect: not connected (req=1)

01-14 13:44:44.137   478   880 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.email/com.android.email2.ui.MailActivityEmail}----com.android.email
01-14 13:44:44.164   478  2524 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.email/com.android.email2.ui.MailActivityEmail}----com.android.email

01-14 13:44:44.264   478  1267 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.email/com.android.email.activity.setup.AccountSetupFinal}----com.android.email
01-14 13:44:44.342   478  2524 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.email/com.android.email.activity.setup.AccountSetupFinal}----com.android.email
01-14 13:44:44.472   280   390 E BufferQueueProducer: [com.android.email/com.android.email.activity.Welcome#0] disconnect: not connected (req=1)

01-14 13:44:45.874   478  2524 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.email/com.android.email2.ui.MailActivityEmail}----com.android.email
01-14 13:44:46.131   280   346 E BufferQueueProducer: [com.android.email/com.android.email.activity.setup.AccountSetupFinal#0] disconnect: not connected (req=1)

01-14 13:47:45.816   478  2524 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.email/com.android.email2.ui.MailActivityEmail}----com.android.email
01-14 13:47:45.826   478  2524 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.email/com.android.email2.ui.MailActivityEmail}----com.android.email



//on
01-14 13:47:46.100   478  3680 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.email/com.android.email.activity.setup.AccountSetupFinal}----com.android.email
01-14 13:47:46.149   478  3680 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.email/com.android.email.activity.setup.AccountSetupFinal}----com.android.email
01-14 13:47:46.349   280   390 E BufferQueueProducer: [com.android.email/com.android.email.activity.Welcome#0] disconnect: not connected (req=1)
01-14 13:47:46.386   478   500 I ActivityManager: Displayed com.android.email/.activity.setup.AccountSetupFinal: +234ms (total +556ms)


//off
01-14 13:49:45.225   478  2261 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.email/com.android.email2.ui.MailActivityEmail}----com.android.email
01-14 13:49:45.431   280  1406 E BufferQueueProducer: [com.android.email/com.android.email.activity.setup.AccountSetupFinal#0] disconnect: not connected (req=1)

 

긴글 읽어주셔서 감사합니다.

올한해에도 즐거운 일들이 많으시길 바랍니다.

쭈글이 (120 포인트) 님이 1월 15일 질문

답변 달기

· 글에 소스 코드 보기 좋게 넣는 법
· 질문에 대해 추가적인 질문이나 의견이 있으면 답변이 아니라 댓글로 달아주시기 바랍니다.
표시할 이름 (옵션):
개인정보: 당신의 이메일은 이 알림을 보내는데만 사용됩니다.
스팸 차단 검사:
스팸 검사를 다시 받지 않으려면 로그인하거나 혹은 가입 하세요.
...