Merge "Fix setting styles in custom views." into lmp-dev