[android-beginners] Re: How to get child Activity?

2010-04-19 Thread Rodrigo Chiossi
, 6:31 am, Rodrigo Chiossi xrodr...@gmail.com wrote: Hi Kitzy. If you just click the button, the second activity should start in a state A. if you longpress the button, the activity should start in a state B and go to state A upon releasing the button (In fact, upon releasing

[android-beginners] Re: How to get child Activity?

2010-04-16 Thread Rodrigo Chiossi
when you release? -Kitzy On Apr 15, 10:35 am, Rodrigo Chiossi xrodr...@gmail.com wrote: I have already tried 3 different approaches to the problem: The first was this one i described previously, which would be the ideal for my app. The second one, i created an ActivityGroup which

[android-beginners] Re: How to get child Activity?

2010-04-15 Thread Rodrigo Chiossi
to forward this event to the second activity in order to release the button. Oh, and btw, I call it a 'child' activity since it has a getParent() method which returns the main activity... On Apr 15, 5:56 am, Sebastián Treu sebastian.t...@gmail.com wrote: On Wed, Apr 14, 2010 at 3:03 PM, Rodrigo Chiossi

[android-beginners] Re: How to get child Activity?

2010-04-15 Thread Rodrigo Chiossi
if there is a way for an Activity to request Input events... @Mark: you are right, i messed those approaches a little. I have the getParent only when I use an ActivityGroup. On Apr 15, 12:23 pm, Mark Murphy mmur...@commonsware.com wrote: Rodrigo Chiossi wrote: First, the user press a button on the main

[android-beginners] How to get child Activity?

2010-04-14 Thread Rodrigo Chiossi
Hi there! I have a main Activity and I'm starting a child activity with startActivity(intent). I want to get the Activity Object created for the child. How can I do it? Thanks. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try

[android-beginners] Align ImageView to the right

2010-03-26 Thread Rodrigo Chiossi
Hi there! I'm new to android and I'm trying to create a simple layout, with a TextView aligned to the left and an ImageView aligned to the right, both in the same line. I've tried many approaches, but the Imageview never aligns to the right. Here is my latest attempt: ?xml version=1.0