in xml means use following code
         android:layout_x="20dp"
        android:layout_y="284dp"

On Wed, Feb 29, 2012 at 11:38 AM, MOHANAKRISHNAN <[email protected]> wrote:
> in xml or java?
>
>
> On Wed, Feb 29, 2012 at 10:57 AM, android developer
> <[email protected]> wrote:
>> I have one button in an AbsoluteLayout in an XML file. From there I am able
>> to set the (x,y) position of the button.
>>
>> How can I get and set the (x,y) coordinates of the button programmatically?
>>
>> Thanks all.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to