|
|
@ -207,11 +207,10 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
|
|
|
v.setPaddingRelative(0, 0, 0, 0);
|
|
|
|
v.setPaddingRelative(0, 0, 0, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (edge_to_edge)
|
|
|
|
if (edge_to_edge) {
|
|
|
|
for (View child : Helper.getViewsWithTag(v, "inset")) {
|
|
|
|
b = v.getPaddingBottom();
|
|
|
|
mlp = (ViewGroup.MarginLayoutParams) child.getLayoutParams();
|
|
|
|
Insets nav = windowInsets.getInsets(WindowInsetsCompat.Type.navigationBars());
|
|
|
|
mlp.bottomMargin = insets.bottom;
|
|
|
|
v.setPaddingRelative(0, 0, 0, b + (nav.bottom - nav.top));
|
|
|
|
child.setLayoutParams(mlp);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
} catch (Throwable ex) {
|
|
|
|