Hi,
You can inject motion events to your ListView that corresponds to a 10 pixel
drag. Create an ACTION_DOWN event and then an ACTION_UP event 10 pixels apart
and then send them to the ListView using onTouchEvent(). You might need to have
a ACTION_MOVE event as well.
/Anders
-Original Me
Bouncing as you describe it is not supported in ListView. It is possible to
lift the ListView class from the platform and modify it to support it (most of
the necessary changes are in AbsListView btw), but I don't recommend that
approach. Instead, I would recommend that you implement your own li
I don't think that is possible. You probably need to write your own gallery
like view to do that.
/Anders
-Original Message-
From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of RANJAN BANIK
Sent: den 23 juni 2010 17:05
To: Android Develope
Hi,
Doing
Activity activity = new Activity()
is probably not a good idea.
instead, get the application context from the wallpaper:
getApplicationContext().startActivity(i);
That will probably work better.
/Anders
-Original Message-
From: android-developers@googlegroups.com
[mailto:an
Sounds like you want to change the scale type on the image view.
http://developer.android.com/reference/android/widget/ImageView.ScaleType.html
/Anders
--
From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of pawan nimje
Sent: den 9
Hi,
Just inflate from the xml each time you want a new instance of that particular
view. Like this:
View innerRL = LayoutInflater.from(context).inflate(R.layout.inner_view, null);
/Anders
-Original Message-
From: android-developers@googlegroups.com
[mailto:android-develop...@googlegro
I would say that this is normal behavior. The up-event can definitely have (and
often has) another coordinate than the last move-event. But I don't think it
has anything to do with inaccuracy in the touch event handling, it's simply the
way it works...
/Anders
-Original Message-
From:
finishing touches from part 3!
On Jun 3, 2:18 pm, "Ericson, Anders"
wrote:
> The reference app on market has minSdkVersion set to 4 (=1.6) and the main
> reason is to enable the support for different screen sizes (mdpi, ldpi,
> hdpi). The code itself has very little (if any)
Hi,
The way it works is that if your list item (or a part of your list item) is
clickable (like the button) it will "steal" the touch event from the ListView,
so the ListView will not be able to call onItemClick().
One way to solve it is to set a click listener to the button in each item view.
uld you resolve that if you wanted your
app to reach all devices?
On Jun 3, 11:37 am, "Ericson, Anders"
wrote:
> Hi,
>
> I recently wrote a tutorial on how to do a cool 3D list. You can find the
> latest part on:
>
> http://blogs.sonyericsson.com/developerworld/catego
Hi,
I recently wrote a tutorial on how to do a cool 3D list. You can find the
latest part on:
http://blogs.sonyericsson.com/developerworld/category/tutorials/
There you can also find a tutorial on how to do a cool zoom written by a
colleague of mine.
/Anders
-Original Message-
From:
Hi,
In your "AndroidManifest.xml" you can add this to your activity:
android:theme="@android:style/Theme.Wallpaper"
/Anders
-Original Message-
From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of AndroidNewbie
Sent: den 3 juni 2010 05:49
To
Hi,
Why should only the Home application send commands to the wallpaper? Shouldn't
any application that displays the wallpaper as background be able to send
commands?
Also, the documentation for WallpaperManager.sendWallpaperCommand() is a bit
unclear. The documentation for the parameter windo
13 matches
Mail list logo