With the work that you've already done, I think the easiest answer would be to change your LinearLayout to a RelativeLayout, so that you can set alignParentRight on the ImageView and add paddingRight as needed.
Another option is to create a custom view component: http://developer.android.com/guide/topics/ui/custom-components.html
Ian G. Clifton
2010-09-14 06:52:42