[android-developers] Re: onTouchEvent method is not working

2011-09-09 Thread DangerDaku
When you drag, ACTION_MOVE actions are called over a specific interval depending on the device (~20ms)... its possible that these are the gaps you are seeing on the emulator. On Sep 8, 7:47 am, Anoop Singh anoop.singh.k...@gmail.com wrote: I am working on a drawing application. When I touch on

[android-developers] Re: How to use Tap Gesture???

2011-09-07 Thread DangerDaku
By View im sure he meant View android:id=@+id/top_view android:layout_height=fill_parent android:layout_height=fill_parent/ set ur base activity's view to that and handle onClick in ur activity. then in onClick u can do startActivity to bring up the next activity. On Sep 6, 2:07 pm, Appaholics

[android-developers] gdf

2011-09-07 Thread DangerDaku
zvczxc -- 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,

[android-developers] Re: Help needed on BUtton CLick

2011-09-06 Thread DangerDaku
Try android:layout_marginRight=5dp attribute in ur xml file to get spacing on the right of the button. So somthing lik Button android:id=@+id/button1 android:layout_height=wrap_content android:layout_width=wrap_content android:layout_marginRight=5dp/ On Sep 5, 2:57 am, sam

[android-developers] Re: how can I know when an application will start

2011-09-06 Thread DangerDaku
On Sep 5, 4:22 pm, TreKing treking...@gmail.com wrote: On Mon, Sep 5, 2011 at 10:29 AM, ngbl natalyabla...@gmail.com wrote: But I can't find the way of catch the intent of an activity when starts on the launcher. There is no such thing, AFAIK. Apps of this nature are exploiting hacks or

[android-developers] Re: Help needed on BUtton CLick

2011-09-06 Thread DangerDaku
In your screen1.xml file, add android:layout_marginTop=5dp, android:layout_marginBottom=5dp .. etc for top, bottom, left and right spacing. This is added as an attribute to ur Button tag. so you can have somthing like Button android:id=@+id/button1 android:layout_width=wrap_content