diff --git a/app/src/main/res/layout-land/continue_interaction_item.xml b/app/src/main/res/layout-land/continue_interaction_item.xml index 610821f3b5c..10930a91fcc 100644 --- a/app/src/main/res/layout-land/continue_interaction_item.xml +++ b/app/src/main/res/layout-land/continue_interaction_item.xml @@ -10,12 +10,35 @@ name="viewModel" type="org.oppia.app.player.state.itemviewmodel.ContinueInteractionViewModel" /> - + + + + + + + app:explorationSplitViewMarginApplicable="@{viewModel.hasConversationView && viewModel.isSplitView}" + app:explorationSplitViewMarginBottom="@{@dimen/margin_0}" + app:explorationSplitViewMarginEnd="@{@dimen/margin_60}" + app:explorationSplitViewMarginStart="@{@dimen/margin_20}" + app:explorationSplitViewMarginTop="@{@dimen/margin_72}" + app:explorationViewMarginApplicable="@{viewModel.hasConversationView && !viewModel.isSplitView}" + app:explorationViewMarginBottom="@{@dimen/margin_0}" + app:explorationViewMarginEnd="@{@dimen/margin_44}" + app:explorationViewMarginStart="@{@dimen/margin_44}" + app:explorationViewMarginTop="@{@dimen/margin_24}" + app:questionSplitViewMarginApplicable="@{!viewModel.hasConversationView && viewModel.isSplitView}" + app:questionSplitViewMarginBottom="@{@dimen/margin_0}" + app:questionSplitViewMarginEnd="@{@dimen/margin_60}" + app:questionSplitViewMarginStart="@{@dimen/margin_20}" + app:questionSplitViewMarginTop="@{@dimen/margin_72}" + app:questionViewMarginApplicable="@{!viewModel.hasConversationView && !viewModel.isSplitView}" + app:questionViewMarginBottom="@{@dimen/margin_0}" + app:questionViewMarginEnd="@{@dimen/margin_60}" + app:questionViewMarginStart="@{@dimen/margin_60}" + app:questionViewMarginTop="@{@dimen/margin_24}"> - + + + + + + + app:explorationSplitViewMarginApplicable="@{buttonViewModel.hasConversationView && buttonViewModel.isSplitView}" + app:explorationSplitViewMarginBottom="@{@dimen/margin_0}" + app:explorationSplitViewMarginEnd="@{@dimen/margin_60}" + app:explorationSplitViewMarginStart="@{@dimen/margin_20}" + app:explorationSplitViewMarginTop="@{@dimen/margin_72}" + app:explorationViewMarginApplicable="@{buttonViewModel.hasConversationView && !buttonViewModel.isSplitView}" + app:explorationViewMarginBottom="@{@dimen/margin_0}" + app:explorationViewMarginEnd="@{@dimen/margin_44}" + app:explorationViewMarginStart="@{@dimen/margin_44}" + app:explorationViewMarginTop="@{@dimen/margin_24}" + app:questionSplitViewMarginApplicable="@{!buttonViewModel.hasConversationView && buttonViewModel.isSplitView}" + app:questionSplitViewMarginBottom="@{@dimen/margin_0}" + app:questionSplitViewMarginEnd="@{@dimen/margin_60}" + app:questionSplitViewMarginStart="@{@dimen/margin_20}" + app:questionSplitViewMarginTop="@{@dimen/margin_72}" + app:questionViewMarginApplicable="@{!buttonViewModel.hasConversationView && !buttonViewModel.isSplitView}" + app:questionViewMarginBottom="@{@dimen/margin_0}" + app:questionViewMarginEnd="@{@dimen/margin_60}" + app:questionViewMarginStart="@{@dimen/margin_60}" + app:questionViewMarginTop="@{@dimen/margin_24}"> + app:layout_constraintTop_toTopOf="parent" />