mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-15 00:21:10 +00:00
Remove IME inset for dialogs
This commit is contained in:
parent
6dfb12ec39
commit
05485cd16f
1 changed files with 2 additions and 1 deletions
|
@ -184,7 +184,8 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
|||
int bottom = windowInsets.getInsets(WindowInsetsCompat.Type.ime()).bottom;
|
||||
int pad = bottom - insets.bottom;
|
||||
v.setPaddingRelative(0, 0, 0, pad < 0 ? 0 : pad);
|
||||
}
|
||||
} else
|
||||
v.setPaddingRelative(0, 0, 0, 0);
|
||||
|
||||
if (edge_to_edge)
|
||||
for (View child : Helper.getViewsWithTag(v, "inset")) {
|
||||
|
|
Loading…
Add table
Reference in a new issue