• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps how to define a static view?

gumatias

Lurker
Dec 4, 2009
9
0
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.
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones