-
Notifications
You must be signed in to change notification settings - Fork 532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes part of #40 & #42: Outer margins changed for SelectionInteraction #3183
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,7 +90,7 @@ | |
android:textSize="16sp" | ||
android:visibility="gone" | ||
app:layout_constrainedWidth="true" | ||
app:layout_constraintEnd_toEndOf="@{viewModel.isCorrectAnswer ? @id/answer_tick_guideline : ConstraintSet.PARENT_ID}" | ||
app:layout_constraintEnd_toEndOf="@{viewModel.isCorrectAnswer && !viewModel.hasConversationView ? @id/answer_tick_guideline : ConstraintSet.PARENT_ID}" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Change done which was missed in #3172 but this file will eventually get removed in coming PRs. Just fixed it so that there is no confusion while checking the screenshots. |
||
app:layout_constraintHorizontal_bias="@{viewModel.hasConversationView ? 1 : 0}" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" /> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,7 +90,7 @@ | |
android:textSize="16sp" | ||
android:visibility="gone" | ||
app:layout_constrainedWidth="true" | ||
app:layout_constraintEnd_toEndOf="@{viewModel.isCorrectAnswer ? @id/answer_tick_guideline : ConstraintSet.PARENT_ID}" | ||
app:layout_constraintEnd_toEndOf="@{viewModel.isCorrectAnswer && !viewModel.hasConversationView ? @id/answer_tick_guideline : ConstraintSet.PARENT_ID}" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Change done which was missed in #3172 but this file will eventually get removed in coming PRs. Just fixed it so that there is no confusion while checking the screenshots. |
||
app:layout_constraintHorizontal_bias="@{viewModel.hasConversationView ? 1 : 0}" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" /> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,13 +18,9 @@ | |
<dimen name="drag_drop_item_question_view_margin_end">64dp</dimen> | ||
<dimen name="drag_drop_item_question_view_margin_start">64dp</dimen> | ||
|
||
<dimen name="selection_interaction_item_non_conversation_view_margin_end">64dp</dimen> | ||
<dimen name="selection_interaction_item_non_conversation_view_margin_start">64dp</dimen> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed not-required dimens in all files. |
||
|
||
<dimen name="drag_drop_interaction_item_exploration_view_margin_start">80dp</dimen> | ||
<dimen name="drag_drop_item_exploration_view_margin_end">48dp</dimen> | ||
<dimen name="numeric_input_interaction_item_conversation_view_margin_end">48dp</dimen> | ||
<dimen name="selection_interaction_item_conversation_view_margin_end">48dp</dimen> | ||
<dimen name="text_input_interaction_item_conversation_view_margin_end">48dp</dimen> | ||
<dimen name="drag_drop_item_exploration_view_margin_top">24dp</dimen> | ||
<dimen name="drag_drop_item_question_view_margin_top">24dp</dimen> | ||
|
@@ -61,7 +57,6 @@ | |
<dimen name="previous_responses_item_exploration_view_margin_start">80dp</dimen> | ||
<dimen name="previous_responses_item_question_view_margin_end">80dp</dimen> | ||
<dimen name="previous_responses_item_question_view_margin_start">80dp</dimen> | ||
<dimen name="selection_interaction_item_conversation_view_margin_start">80dp</dimen> | ||
<dimen name="drag_drop_item_exploration_split_view_margin_top">40dp</dimen> | ||
<dimen name="drag_drop_item_question_split_view_margin_top">40dp</dimen> | ||
<dimen name="submitted_answer_exploration_split_view_margin_start">40dp</dimen> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change done which was missed in #3172 but this file will eventually get removed in coming PRs. Just fixed it so that there is no confusion while checking the screenshots.