format code in CustomFrameLayout.java