I am working on the android project in which I need to draw a UI something like below. I need to divide the android screen in two half. In the Top Half I need to show the google maps. And in the Bottom Half I need to show the user information as soon as anyone clicked on the Google Maps. Top Half part is done and its working for me.
Problem Statement:-
I need to dynamically keep on creating the linear layout in the bottom half part depending on how many markers(users) are there on the maps. Below is the screen shot in which I have created two layouts in the bottom half part considering two user's are there on the google maps. But how can I make this thing to work dynamically, suppose if I have three user's on the google maps currently, then in the bottom half part three layout will get plotted automatically. I hope I am clear enough.

Yes you can do use a listview and create custom adapter. set your map as header in listview and use your listview rows for data representation.
Another thing which you can do is create listview and maps seperate. Align your listview just below to the map
Here i am giving you a simple example the code below will create listview. You may need to I have created custom adapter for your purpose.
Here is my main.xml file. Which will tell you how to create that layout. I am using Relative layout as my parent layout.
here i am posting you my custom adapter code which you can use for your listview purpose.
Here is the layout which you can inflate in your custom adapter and set it on listview.
So i have given you all four files. Here i am explaining what every file will do.
my_map_activity : This is the main activity which contains listivew and map both. I am using a big imageview. Instead of that imageview you can place your map.
main.xml : This is layout file which contains both listview and map.
custom_adapter : This is the custom adapter which i have created for you. I am extending array adapter. In this i am taking data from arraylist and inflating the row layout and the i am setting respective values.
row_layout : This is the row layout which will contain imageview for user, name, gender and all other thing.
So i have created several things for you if you need any help then you can ask and try to get the concept of each file how i am using.