If you want the absolute position, you can use GetLocationOnScreen.
this is what I'm doing :
Using java Syntax Highlighting
int location = new int;
Parsed in 0.036 seconds, using GeSHi
And it works like a charm !
GetTop and getLeft should give you coordinate relative to your parent ( the absolute layout in your case ).
It's still strange that getBottom and getRight return 0.
Do you try that in the OnCreate ?
I think the layout does not really exist at this point, so coordinates are not set yet.
(but testing it when you push the button, for instance, should be OK )