[android-developers] Re: List Views and Scroll Views

2008-11-10 Thread for android
fill_parent..

android:layout_width="fill_parent"
android:layout_height="fill_parent"



On Mon, Nov 10, 2008 at 11:43 PM, Sunit Katkar <[EMAIL PROTECTED]>wrote:

> Have you set the attributes for your ScrollView as 'fill_parent' or
> 'wrap_content' ?
>
>
> On Mon, Nov 10, 2008 at 4:28 AM, for android <[EMAIL PROTECTED]> wrote:
>
>> I have a complex layout which has many table rows.Something like this:
>>
>>
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>  
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>
>>
>>
>> Say now I want a scrollableView for this and I implement the view like
>> this :
>>
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>  
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>
>> At this point what happens is that i see just 2 rows of the list coming
>> up.
>>
>> Now the prob i am facing is that if I remove the scroll view the the whole
>> list appears.
>>
>> I do know that in the reference documents,we are suggested not to use
>> Scroll View with a List View.
>>
>>
>> As per my requirement,i have a list in which we know that say only 5 rows
>> are displayed.And then i need the user to be able to scroll the other items
>> which are external to the list.
>>
>>
>> How do I accomplish this? Or is it not possible task???
>>
>> Thanks
>>
>>
>>
>
>
> --
> - Sunit Katkar
> http://sunitkatkar.blogspot.com/ - Android OS Tutorials
>
>
>
> >
>

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: List Views and Scroll Views

2008-11-10 Thread Sunit Katkar
Have you set the attributes for your ScrollView as 'fill_parent' or
'wrap_content' ?

On Mon, Nov 10, 2008 at 4:28 AM, for android <[EMAIL PROTECTED]> wrote:

> I have a complex layout which has many table rows.Something like this:
>
>
> 
> 
> 
> 
> 
> 
> 
> 
>  
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>
>
> Say now I want a scrollableView for this and I implement the view like this
> :
>
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> At this point what happens is that i see just 2 rows of the list coming up.
>
> Now the prob i am facing is that if I remove the scroll view the the whole
> list appears.
>
> I do know that in the reference documents,we are suggested not to use
> Scroll View with a List View.
>
>
> As per my requirement,i have a list in which we know that say only 5 rows
> are displayed.And then i need the user to be able to scroll the other items
> which are external to the list.
>
>
> How do I accomplish this? Or is it not possible task???
>
> Thanks
>
> >
>


-- 
- Sunit Katkar
http://sunitkatkar.blogspot.com/ - Android OS Tutorials

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: List Views and Scroll Views

2008-11-10 Thread for android
Actually in the list there is a footer which goes to the next set of items
in the list.So the user will not have that confusion..


>>Wouldn't it be easier to have two lists, so that the list in the
>>middle pops up when you activate it's row in the super list?
Could you elaborate more on this...


On Mon, Nov 10, 2008 at 6:54 PM, Christine <[EMAIL PROTECTED]>wrote:

>
> How does the scrollview know that it shouldn't scroll when you're
> scrolling the listview? Wouldn't this be confusing to the user?
> Wouldn't it be easier to have two lists, so that the list in the
> middle pops up when you activate it's row in the super list?
>
> On Nov 10, 1:28 pm, "for android" <[EMAIL PROTECTED]> wrote:
> > I have a complex layout which has many table rows.Something like this:
> >
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >  
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > Say now I want a scrollableView for this and I implement the view like
> this
> > :
> >
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >  
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > At this point what happens is that i see just 2 rows of the list coming
> up.
> >
> > Now the prob i am facing is that if I remove the scroll view the the
> whole
> > list appears.
> >
> > I do know that in the reference documents,we are suggested not to use
> Scroll
> > View with a List View.
> >
> > As per my requirement,i have a list in which we know that say only 5 rows
> > are displayed.And then i need the user to be able to scroll the other
> items
> > which are external to the list.
> >
> > How do I accomplish this? Or is it not possible task???
> >
> > 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: List Views and Scroll Views

2008-11-10 Thread Christine

How does the scrollview know that it shouldn't scroll when you're
scrolling the listview? Wouldn't this be confusing to the user?
Wouldn't it be easier to have two lists, so that the list in the
middle pops up when you activate it's row in the super list?

On Nov 10, 1:28 pm, "for android" <[EMAIL PROTECTED]> wrote:
> I have a complex layout which has many table rows.Something like this:
>
> 
> 
> 
> 
> 
> 
> 
> 
>          
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> Say now I want a scrollableView for this and I implement the view like this
> :
>
> 
> 
> 
> 
> 
> 
> 
> 
> 
>          
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> At this point what happens is that i see just 2 rows of the list coming up.
>
> Now the prob i am facing is that if I remove the scroll view the the whole
> list appears.
>
> I do know that in the reference documents,we are suggested not to use Scroll
> View with a List View.
>
> As per my requirement,i have a list in which we know that say only 5 rows
> are displayed.And then i need the user to be able to scroll the other items
> which are external to the list.
>
> How do I accomplish this? Or is it not possible task???
>
> 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---