support declaratively setting layout via attribute