What do you think would be the best way to make such layout in android?
It should fill the screen’s resolution, while having the left and right part fixed 150px in width, but the center part should stretch out as needed.

Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
use RelativeLayout, and take Three Views init:
LayoutParams of EachView should be as:
View1– id- @+id/view1
Layout_Width= wrap_content
Layout_Height=wrap_content
view2: id- @+id/view2
Layout_Width= fill_parent
Layout_Height=wrap_content
toLeftOF=@+id/view3
toRightOf=@+id/view1
view3: id- @+id/view2
Layout_Width= wrap_content
Layout_Height=wrap_content
align_parent_right=true