1. Check out our companion app, Forums for Android! Download from Google Play

how to define a static view?

Discussion in 'Application Development' started by gumatias, Jan 26, 2010.

  1. gumatias

    gumatias Member
    Thread Starter

    Dec 4, 2009
    Java Developer
    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.


Share This Page