I want to create a view like shown in Image with add and remove ImageButton
. On click of any of these will start new activity and get contact detail and set/replace on the clicked index.
For Example If I click on 1st green button It will add contact photo and name in 1st row and like-wise for others. I am able to start Activity to get contact information but I experiencing difficulty to manage this layout and set click event on this.
Right now I am using 3 different RelativeLayout
with all distinct Row Components. and I know It will restrict me to facilitate upto 3.
so here is my questions :
- How can I make a UI so that I can grow this list how much I want(for as of now 3 is ok).
- How to use add and remove button which will work for there row only.
- I also want to display contact number just below the name of contact.
- on click of any row will show its detail.
I'll appreciate any suggestion for better UI which can fulfill above requirement. Thanks in advance.