[android-developers] smoothScrollBy don't work on top and bottom of the list

2011-09-21 Thread Israel Fonseca
Hi guys,

I have the following situation, two buttons control programatically
the scrolling of a ListView. Everthing works fine. The only problem
is, when the list get scrolled to the bottom or the top it get's
stuck and the buttons that control It can't move it anymore. The
only fix, is to scroll the list normally with the finger touch and
after that the buttons will work again.

Is it a bug or am I doing something wrong? (Android 2.2.1)

Here it is the XML and Java code in the pastebin:

http://pastebin.com/3CDJRFg1
http://pastebin.com/TF7q2EuK

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


[android-developers] TextEdit - Autoconfirm after first press

2011-08-30 Thread Israel Fonseca
Hello everybody,

I have a TextEdit with inputSize=1, I want that after the first (and
only one) value is inserted that the keyboard disappears (same effect
as the back button). How can I achieve that? I think that I need to
use the InputServiceMethod from my readings, but what method to
override and to close de keyboard.

(btw, from the same class, is it possible to easily restrict what keys
are avaible to press? I just need A-Z 0-9)

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