Show nav bar and status bar when show seek bar in GalleryActivity
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user