package org.lagonette.app.util;

import android.content.res.Resources;

public class UiUtil {

    public static int getStatusBarHeight(Resources resources) {
        int result = 0;
        int resourceId = resources.getIdentifier("status_bar_height", "dimen", "android");
        if (resourceId > 0) {
            result = resources.getDimensionPixelSize(resourceId);
        }
        return result;
    }

}

@@ -63,16 +63,41 @@
 sources;
+%0Aimport android.os.Build;
 %0A%0Apublic
@@ -201,16 +201,98 @@
 lt = 0;%0A
+        if (android.os.Build.VERSION.SDK_INT %3E= Build.VERSION_CODES.KITKAT) %7B%0A    
         
@@ -378,24 +378,28 @@
 %22);%0A        
+   
+ 
 if (resource
@@ -404,24 +404,28 @@
 ceId %3E 0) %7B%0A
+    
             
@@ -478,16 +478,30 @@
 rceId);%0A
+            %7D%0A
         

Fix UiUtil