*I have a layout in which a listView filled from a web service using AsyncTask. I wanted to add another layout containing an imageview and some BUTTONS, in the same interface. The problem is that I can't add any component besides my listView in my inetrface. I don't see any solution specially that i can't find any link between xml side and java side. I even try to remove this * <ListView android:id="@+id/listview" android:layout_width="wrap_content" android:layout_height="wrap_content" /> from xml file and strangely the listView appears normaly!!!!
when i tried setContentView(R.layout.activity_list_viw_vol); the application crashes from the beginning. Just a note, I can combine easily a listView with other layout when i didn't use AsyncTask.
0 comments:
Post a Comment