mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Update camera layout for better support across different screen sizes.
This commit is contained in:
committed by
Greyson Parrelli
parent
993e49db48
commit
24b7593178
@@ -224,6 +224,15 @@ public final class ImageEditorFragment extends Fragment implements ImageEditorHu
|
||||
|
||||
Mode mode = Mode.getByCode(requireArguments().getString(KEY_MODE));
|
||||
|
||||
if (mode == Mode.AVATAR_CAPTURE || mode == Mode.AVATAR_EDIT) {
|
||||
view.setPadding(
|
||||
0,
|
||||
ViewUtil.getStatusBarHeight(view),
|
||||
0,
|
||||
ViewUtil.getNavigationBarHeight(view)
|
||||
);
|
||||
}
|
||||
|
||||
imageEditorHud = view.findViewById(R.id.scribble_hud);
|
||||
imageEditorView = view.findViewById(R.id.image_editor_view);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user