I have a multiline EditText and a button, The button brings up a persistent bottom sheet (modal would not do here).
The bottomsheet is basically a LinearLayout, turned into an appcompat bottomsheet, with
View bottomSheet = context.findViewById(R.id._bottom_sheet);
BottomSheetBehavior behavior = BottomSheetBehavior.from(bottomSheet);
Turns out the problem was not really a problem, but a wrong approach towards solving something. The
EditText in question was itself placed on a
ViewPager. Resizing the
Viewpager itself resized everything in it, and correctly resizing the
Thanks to m vai's comment above to direct me to this solution.