Android Question PerXToCurrent,PerYToCurrent

rameshb

Member
Is PerXToCurrent,PerXToCurrent return size relative to the parent or activity.
Suppose i have a label inside a panel and activity is container for the panel.
if i give PerXToCurrent(25) for left position of the label,will it return 25% of the panel width or 25% of the activity width?
 
Top