You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
코드를 이용한 반응형 UI 대응
다이얼로그 크기 변경 #468
반응형 UI를 위한 코드
현재 TripDraw App은 가로 모드를 막아놨기 때문에 600dp를 기준으로 폰과 태블릿을 분기할수 있다.
핸드폰의 경우 화면 width의 0.85 비율로 사이즈를 조정하도록 하였다.
태블릿의 경우 400dp 로 고정하여 다이얼로그를 보여주도록 조정하였다.
dimens를 이용한 반응형 UI 대응
감상 작성 화면의 사진 미리보기 크기 조절 #507
좌측이 핸드폰 크기이고 우측이 태블릿 화면이다.
공식문서를 따라 dimens.xml 파일을 화면 크기에 따라 분기 처리를 해주었다.
각각의 화면에 맞춰 dimens 값을 지정해주었다.
Beta Was this translation helpful? Give feedback.
All reactions