[android] Added moving viewport when elevation bottom sheet is opened in landscape mode

This commit is contained in:
Александр Зацепин 2020-02-17 19:33:36 +03:00 committed by yoksnod
parent 7f881dffb1
commit 707a497f1f

View file

@ -49,7 +49,8 @@ public class ElevationProfileBottomSheetController implements PlacePageControlle
@Override
public void onSheetDetailsOpened()
{
// TODO: coming soon
if (UiUtils.isLandscape(mActivity))
PlacePageUtils.moveViewPortRight(mSheet, mViewPortMinWidth);
}
@Override