Can I have a scrolling element inside another?

by mongd » Mon, 17 May 2010 15:47:16 GMT


Sponsored Links
 Hello,

I think I already have the answer, but I just want to make sure if
mine is correct: 'NO'.
As far as I understood, when I put a scrolling element inside another,
the child scrolling element can't be scrolled.
I don't know why, and I think this should be reported as a bug of
Android if this is not some kind of concept or something, so I've been
trying to find a document which describes this, but I failed.

I've seen some responses from several people about this issue and they
all said that I can't have this kind of UI.
What I'm wondering is, is there any 'official' document about this? or
at least is there any bug report/comment from Google that this is not
possible with the current Android?

When I tried to build a screen with a EditText inside of a ScrollView
where the EditText extends as I type more(sure it has its limit, so
once it becomes longer than its limit, it will have a scrollbar), I
can't scroll the text inside of EditText and it really makes me
frustrated.

If there's anyone who can answer this question with any 'official'
reference, that will be greatly appreciated.
Or at least if anyone from Google gives me a response on this matter,
that would be awesome. =D
(My boss wants me to find a legit excuse for this matter, that's why I
want that =(. )

Thank you!


--



Other Threads

1. TextView and ellipsize

Hi all.

I have a textview which has the height set to show three lines of
text. The text is dynamic and often larger than the space available in
the view, so I want to ellipsize it. However, with the ellipsize
property set, it only displays two lines of text, with the "..." at
the end of the second line. If I remove the ellipsize property, it
shows the intended three lines of text - but of course without the
"...".

Any ideas what's happening?

<TextView
    android:layout_width="wrap_content"
    android:layout_height="54dip"
    android:textSize="14sp"
    android:textColor="#ffffff"
    android:ellipsize="end"
 />

-- 

2. Picture orientation from gallery or camera intent

I'm getting picture to my app from camera / gallery intent. In many phones 
picture that I read from the intent / Uri is already rotated to correct 
orientation. For example N1, Legend, Desire that is the case.

But then on some phones ( for example Milestone1, GalaxyS) the picture is 
always in landscape more no matter which way the picture was taken. This 
means that in my application portrait picture is presented wrong way to the 
user. I tried to read EXIF info of the picture but orientation tag is always 
0. There has to be a way to find out the right orientation of the picture 
because in Milestone1 the gallery application shows the portrait pictures 
correctly.

How do I know if I need to rotate the picture myself before showing it to 
the user?

Thank you for you help!

-- 

3. setelah Gingerbread lalu ...?

4. Peta Offline Galaxy 5

5. call .aspx page from Android..

6. How to Build Modofied launcher source code

7. Aplikasi block call