Is there a way to fill parent minus a fixed number in Android RelativeLayout?
Asked 2012-06-23T02:12:24.163
36
I have an ImageButton that I want to fill its parent RelativeLayout container for its width but minus a few dp so it has some left and right padding. I tried fill_parent-10dp but that causes an error and doesn't render.