add dynamic layout to SubProjectFragment.java