Use adjustHeight() to pre-set the height of ListView