Hi,

maybe this is a beginners question, but its not about SDK setup, so in
this group.
I'm developing since Months, and now - finetuning the app, I am stuck
with scrolling.
However.

If you know a good howto about scrolling , post it and your're done ;)
If not please read below.

The class View has multiple scrolling-related properties, so each
subclass is actually aware of scrolling.
So - in theory - there should be no need to introduce special Views
like HorizontalScollView and ScrollView, right? Besides convenience,
of course.
<LinearLayout>
   <some fixed size Views>
   <ViewFlipper>
       <RelativeLayout>   <<-- not necessarilty, any working thing
would do.
           <my Child, extending View/>      <<-- may be large in x and
y (sizing also at runtime dynamically, as will change the size for
zooming)
       </RelativeLayout>
   </ViewFlipper>
</LinearLayout>



My Question is very simple:
How can I put a large child into a smaller parent, exceeding X and Y
without cutting the child?    *)



Which attributes have to be set how?

I am currently using ScrollView inside a  HorizontalScrollView, which
does not support x&y scrolling at the same time.

I'd expect the built-in scroll features to be activated, when a child
view gets larger, than the parent allows.
But where do the attributes have to be set?
On the most-inner "scroller" or the most-outer "scrollee"?

Are the scroll related drawables a must to be used, or just in case I
want special-looking scroll bars?

Very-most attempts failed to show scrollbars at all, only using the
dedicated classes worked.
Is the build-in scrolling related to layout_width and layout_height
attribute values fill_parent and wrap_content?

Does it matter for a common application (no widget) that the classes
reside in the widget subpackage? It works, but is it intended to be
used that way?

Thanks & best regards,
Flo

*) good to know that software guys understand this sentence different
than the rest of the world....

--~--~---------~--~----~------------~-------~--~----~
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