Przeglądaj źródła

[공통][Bug] 네비바가 있는 경우 키보드가 나타나면 아래쪽 패딩영역을 제거한다.

hyodong.min 6 lat temu
rodzic
commit
928bcebba6

+ 1 - 1
app/src/main/java/kr/co/zumo/app/lifeplus/view/custom/FullScreenWithKeyBoardLayout.java

@@ -41,7 +41,7 @@ public class FullScreenWithKeyBoardLayout {
       int heightDifference = usableHeightSansKeyboard - usableHeightNow;
       if (heightDifference > (usableHeightSansKeyboard / 4)) {
         // keyboard probably just became visible
-        heightDifference = heightDifference - ResourceUtil.getStatusBarHeightManual();
+        heightDifference = heightDifference - ResourceUtil.getStatusBarHeightManual() - ResourceUtil.getNavBarHeight();
         frameLayoutParams.height = usableHeightSansKeyboard - heightDifference;
       }
       else {