Dynamic height based on XML settings for minHeight