copy code from linear layout to scrollview