add layouts and intent for input UI