|
|
@@ -12,7 +12,6 @@ import android.support.annotation.DrawableRes;
|
|
|
import android.support.annotation.IdRes;
|
|
|
import android.support.annotation.StringRes;
|
|
|
import android.support.v4.content.ContextCompat;
|
|
|
-import android.util.Log;
|
|
|
import android.util.TypedValue;
|
|
|
|
|
|
import kr.co.zumo.app.lifeplus.application.App;
|
|
|
@@ -174,13 +173,18 @@ public class ResourceUtil {
|
|
|
}
|
|
|
|
|
|
|
|
|
- public static int getSoftKeyHeight() {
|
|
|
- int softKeyHeight = 0;
|
|
|
+ /**
|
|
|
+ * 네비게이션 바 높이 (하단 바)
|
|
|
+ *
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ public static int getNavigationBarHeight() {
|
|
|
+ int navigationBarHeight = 0;
|
|
|
int resourceId = App.getInstance().getContext().getResources().getIdentifier("navigation_bar_height", "dimen", "android");
|
|
|
if (resourceId > 0) {
|
|
|
- softKeyHeight = App.getInstance().getContext().getResources().getDimensionPixelSize(resourceId);
|
|
|
+ navigationBarHeight = App.getInstance().getContext().getResources().getDimensionPixelSize(resourceId);
|
|
|
}
|
|
|
- Log.e("APP# ActivityBase | getSoftKeyHeight", "|" + softKeyHeight);
|
|
|
- return softKeyHeight;
|
|
|
+// Log.e("APP# ActivityBase | getNavigationBarHeight", "|" + navigationBarHeight);
|
|
|
+ return navigationBarHeight;
|
|
|
}
|
|
|
}
|