How to make a custom adapter in android for the layout?