Add StateOverlay to RelativeLayout (close #819)