Commit e435af3b authored by Adrien Maglo's avatar Adrien Maglo
Browse files

Equalizer: stretch the equalizer when there is free space

parent 61278571
......@@ -153,8 +153,9 @@ public class EqualizerFragment extends SherlockFragment {
bar.setListener(new BandListener(i + 1));
bands_layout.addView(bar);
LayoutParams params = bar.getLayoutParams();
params.height = LayoutParams.MATCH_PARENT;
LinearLayout.LayoutParams params =
new LinearLayout.LayoutParams(LayoutParams.WRAP_CONTENT,
LayoutParams.MATCH_PARENT, 1);
bar.setLayoutParams(params);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment