Show nav bar and status bar when show seek bar in GalleryActivity

This commit is contained in:
seven332 committed 2016-03-23 02:25:12 +08:00
1 parent 0f980a5cee
commit 53f8cc4488
3 files changed
+21 -19

No files matched your search

@@ -17,6 +17,7 @@
package com.hippo.ehviewer.widget;
import android.content.Context;
import android.graphics.Rect;
import android.support.annotation.NonNull;
import android.util.AttributeSet;
import android.view.MotionEvent;
@@ -67,4 +68,11 @@ public class SeekBarPanel extends LinearLayout {
return true;
}
}
@Override
@SuppressWarnings("deprecation")
protected boolean fitSystemWindows(Rect insets) {
insets.top = 0;
return super.fitSystemWindows(insets);
}
}