It looks like Android is now offering percentage based spacing in a new layout object.

I believe Cascading Style Sheets had specified that feature by 1998.