This is my first question in stack overflow .
I am creating one project with spinner , When dropdown list is clicked it displays 25 states , If we click any one state it takes us to new activity with LISTVIEW of hotels in that city , If we click any hotel it shows the details .
For this I am creating 2to3 activity , IF my project is small its ok , but i am adding 25 States and each states consists of 10-15 Hotels . It takes too much of time to create it ..
I use New --> Other --> Android --> Android Activity ,
My question is :- Can I create activity with contents (Image , ImageButton & details) using Java code ?