java - How can I get all available width? -


i have linear layout horizontal orientation.
left side of layout linear layout vertical orientation.
right side of layout small view of fixed width 80dp * 80dp.
problem:
if set left layout width "match_parent" right layout not visible.
if set right layout "width=0dp" , "weight=1" space available wraps around content. mean not go way next element on right.

how can make sure left element expands all way parent width minus 80 dp occupied right element?

i believe "match_parent" option push out else in layout. try "fill_parent" on left layout leaves room other things.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

php - How do you embed a video into a custom theme on WordPress? -