Fixed style bar menu popup

pull/217/head
M66B 7 months ago
parent 1484d0b827
commit 110fb56476

@ -221,7 +221,7 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
v.setLayoutParams(mlp);
int b = v.getPaddingBottom();
if (hasWindowFocus) {
if (Helper.isKeyboardVisible(v)) {
int bottom = windowInsets.getInsets(WindowInsetsCompat.Type.ime()).bottom;
int pad = Math.max(0, bottom - insets.bottom);
if (b != pad)

Loading…
Cancel
Save