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

Equalizer: fix a layout glitch in portrait mode

parent e435af3b
......@@ -43,7 +43,6 @@
android:id="@+id/equalizer_bands"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="center_horizontal"
android:orientation="horizontal" />
</HorizontalScrollView>
......
......@@ -41,7 +41,6 @@
android:id="@+id/equalizer_bands"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="center_horizontal"
android:orientation="horizontal" />
</HorizontalScrollView>
......
......@@ -93,13 +93,16 @@ public class EqualizerFragment extends SherlockFragment {
rootView.addView(v);
saveViewChildren(v);
onResume();
fillViews();
}
@Override
public void onResume() {
super.onResume();
fillViews();
}
private void fillViews() {
SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(VLCApplication.getAppContext());
float[] bands = null;
String[] presets = null;
......
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