Hi guys,
I'm new to android and I'm having some issues trying to figure out how to have a header as a static view with an edit text and the rest of the layout can be either a dynamic ListView, ImageView or a view that contains an EditText.
I have no idea how to do that because when I try to extend a ListActivity to my class, I get an exception saying that I need to provide a ListView but I only want Lists to be shown when EditTexts or ImageViews are not on control.
Can anybody help me please???
Thanks in advance.
I'm new to android and I'm having some issues trying to figure out how to have a header as a static view with an edit text and the rest of the layout can be either a dynamic ListView, ImageView or a view that contains an EditText.
I have no idea how to do that because when I try to extend a ListActivity to my class, I get an exception saying that I need to provide a ListView but I only want Lists to be shown when EditTexts or ImageViews are not on control.
Can anybody help me please???
Thanks in advance.