On Fri, Jan 27, 2012 at 3:38 PM, Oliviu Vais wrote:
> I got this far, but this doesn't work.
You should generally explain what "doesn't work" means, but I can tell from
your code that you're locking the UI and getting an ANR, right?
You can't just do "while (some condition that has just been s
I still want to scroll the view to the right or left using two buttons
in my app.
I got this far, but this doesn't work. Please help!!
public boolean onTouch(View v, MotionEvent event) {
// TODO Auto-generated method stub
if(v.getId() == MotionEvent.ACT
Rather than using a thread, you might want to schedule a "task" delayed by
a certain amount.
There are several ways to do this with the Android framework, here is one:
http://developer.android.com/reference/android/view/View.html#postDelayed(java.lang.Runnable,
long)
-- K
26 января 2012 г. 20:3
On Thu, Jan 26, 2012 at 10:34 AM, Oliviu Vais wrote:
> I have tried those events. I need to use a while loop, but when i use it
> within my ontouch i get an error on my device, it goes forever.
>
Well, yeah.
> I read somewhere i need to put it in a new thread.
>
Where was that?
> Can you p
I have tried those events. I need to use a while loop, but when i use
it within my ontouch i get an error on my device, it goes forever. I
read somewhere i need to put it in a new thread. Can you please show
me how can i do that?
On Jan 26, 5:09 am, TreKing wrote:
> On Wed, Jan 25, 2012 at 4:04 P
On Wed, Jan 25, 2012 at 4:04 PM, Oliviu Vais wrote:
> I cannot get this to work. When i press the button it registers as a
> single click, then it releases the touch. HELP!!!
>
Have you tried all of the motion-centric events described here:
http://developer.android.com/reference/android/view/Vie
I cannot get this to work. When i press the button it registers as a
single click, then it releases the touch. HELP!!!
On Jan 24, 11:47 pm, TreKing wrote:
> On Tue, Jan 24, 2012 at 3:06 PM, Oliviu Vais wrote:
> > I thought it's clear enough.
>
> Nope =)
>
> > I need help for the Java class, i ca
On Tue, Jan 24, 2012 at 3:06 PM, Oliviu Vais wrote:
> I thought it's clear enough.
>
Nope =)
> I need help for the Java class, i cant get my buttons to scroll continous,
> they scroll only once when i click them. I need them to scroll to the end
> of the View but not at once, in little contino
I don't think so. This viewpager is for dragging.
On Jan 24, 11:23 pm, Marcelo Henrique wrote:
> you need viewpager
>
> http://android-developers.blogspot.com/2011/08/horizontal-view-swipin...
>
> http://developer.android.com/reference/android/support/v4/view/ViewPa...
>
> 2012/1/24 Oliviu Vais
you need viewpager
http://android-developers.blogspot.com/2011/08/horizontal-view-swiping-with-viewpager.html
http://developer.android.com/reference/android/support/v4/view/ViewPager.html
2012/1/24 Oliviu Vais
> I thought it's clear enough. I have a HorizontalScrollView at the
> bottom of my
I thought it's clear enough. I have a HorizontalScrollView at the
bottom of my screen. I want to scroll it left and right by using 2
buttons that are on each side(one for left scroll, one for right). I
do not need help in setting the Xml. I need help for the Java class, i
cant get my buttons to scr
Anybody? I am really stuck with this. Any idea is useful.
On Jan 23, 5:18 pm, Oliviu Vais wrote:
> I am trying to scroll a HorizontalScrollView by 2 buttons, one left,
> one right.
> What am i doing wrong? Which one to choose?
> sw - scroll view
> public boolean onTouch(View v, MotionEvent event)
Try creating the headers by hand, say, with a TextView, and put your
ScrollView containing the TableLayout underneath it.
On Apr 29, 11:44 pm, rahulp wrote:
> Hi I have a Scrollview Table Layout. In which i have a header column
> and another header row. I want toscrollthe table without scrolling
13 matches
Mail list logo