ScrollView to support

by Eddy » Fri, 01 May 2009 01:04:27 GMT

Sponsored Links
 Hi to everybody!

 I'm not an android expert but i'm working on it. My question is how
can use horizontal and vertical scrollbar. I used ScrollView or
HorizontalScrollView is only support horizontal or vertical scrollbar,
but i want to support horizontal and vertical scroolbar together. Does
any sample code can help it. Thanks a lot.


ScrollView to support

by Romain Guy » Fri, 01 May 2009 01:38:02 GMT

 You would have to write your own ScrollView.

Romain Guy
Android framework engineer

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


Sponsored Links

Other Threads

1. Cupcake on ADP


I've been looking around for resources on compiling/installing my own
images on the ADP, and I'm having trouble finding anything useful
since most of the resources are geared toward G1s (not the dev
phone).  It is my understanding that the ADP comes ready to have new
firmware images installed, so I'm trying to figure out that process.

If I want to compile my own images, what do I need to do in the make
process?  What arguments do I need to supply "make"?  I already have
the source checked out, so I just need to figure out what I need to
do :)

Also, once I have the images installed, do I just power off, hit HOME
+POWER, then alt+l and choose to use and  Or is there
another method for installing the new images?  Or does Google not have
support for this, and I need to follow the way the G1 hackers have
been doing it?


2. How to deal with an app widget that can have variable sizes

I want to create an app widget that could take up a different number
of "cells" on the home screen, but I don't think that the app widget
framework easily supports this.  I know that an app widget can have a
configuration screen, and I'd like the user to be able select a sort
of small, medium, or large size for the widget as part of my
configuration activity.  Unfortunately, I don't think that this is
possible, correct?  Based on the minWidth and minHeight properties,
the Launcher app will assign a number of cells that I can't configure
at run time if I understand correctly.

For instance, if I want a weather widget that has a current, hourly,
and weekly format that take up 1, 2, and 4 cells respectively, I can't
do this at run time.  Instead, I believe my only option is to export 3
different widgets and have them all listed in the widget picker dialog
as something like "Weather - current conditions", "Weather - hourly
forcast", and "Weather - week long forcast".

Is my understanding correct, or am I missing something?


3. Next Focus and the Soft Keyboard

4. Does android kernel supports ACPI?

5. Magic from Vodafone expected on 5 May

6. Community contributions to design (WAS: Android v. 1.5 = FAIL #2: Directly Manipulating Settings)

7. new object position after canvas.rotate()