Romain, thanks, that saved me.

On Nov 13, 6:34 pm, Romain Guy <romain...@google.com> wrote:
> When you add the footer to the listview you need to indicate it can
> receive 
> focus:http://d.android.com/reference/android/widget/ListView.html#setItemsC...)
>
>
>
>
>
> On Fri, Nov 13, 2009 at 3:27 PM, Mark Wyszomierski <mar...@gmail.com> wrote:
> > Hi Romain,
>
> > If I use a footer view, it can get focus, but its internal controls
> > cannot be focused using the scroll ball? For example, this is a simple
> > footer view:
>
> >  LinearLayout llFooter = new LinearLayout(this);
> >  llFooter.setLayoutParams(new AbsListView.LayoutParams
> > (AbsListView.LayoutParams.FILL_PARENT,
> > AbsListView.LayoutParams.WRAP_CONTENT));
>
> >   Button btn1 = new Button(this);
> >   btn1.setText("Btn1");
> >   llFooter.addView(btn1);
>
> > When I use the scroll ball the navigate to the footer, the entire
> > background gets highlighted, and I cannot access the button on the
> > layout. Is there some way of doing that for a better user experience,
> > or do users just have to touch with their finger?
>
> > Thanks
>
> > On Nov 13, 6:13 pm, Romain Guy <romain...@google.com> wrote:
> >> Don't use a ScrollView, it won't work. Add footers to your ListView.
>
> >> On Fri, Nov 13, 2009 at 3:11 PM, Mark Wyszomierski <mar...@gmail.com> 
> >> wrote:
> >> > Hi,
>
> >> > Is there a way to create a layout with a ListView set to use full
> >> > height, then some additional panels? Something like this:
>
> >> >  <LinearLayout height = "fill_parent">
> >> >      <ScrollView>
> >> >          <ListView height = "wrap_content" />
> >> >          <TextView />
> >> >          <TextView />
> >> >      </ScrollView>
> >> >  </LinearLayout>
>
> >> > Basically I'd like to keep the ListView at a height which contains all
> >> > its children views, then some static widgets below that - all inside a
> >> > master ScrollView - is that possible?
>
> >> > Thanks
>
> >> > --
> >> > You received this message because you are subscribed to the Google
> >> > Groups "Android Developers" group.
> >> > To post to this group, send email to android-developers@googlegroups.com
> >> > To unsubscribe from this group, send email to
> >> > android-developers+unsubscr...@googlegroups.com
> >> > For more options, visit this group at
> >> >http://groups.google.com/group/android-developers?hl=en
>
> >> --
> >> Romain Guy
> >> Android framework engineer
> >> romain...@android.com
>
> >> Note: please don't send private questions to me, as I don't have time
> >> to provide private support.  All such questions should be posted on
> >> public forums, where I and others can see and answer them
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Romain Guy
> Android framework engineer
> romain...@android.com
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support.  All such questions should be posted on
> public forums, where I and others can see and answer them

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to