Skip to content

Commit 19d9167

Browse files
authored
[MBL-18782][Student][Parent] Fix loading on Assignment Details (#2957)
Test plan: Check if the loading indicator is present on Assignment Details. refs: MBL-18782 affects: Student, Parent release note: Fixed a bug where the Assignment Details screen had no loading indicator.
1 parent ffcfb89 commit 19d9167

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

libs/pandautils/src/main/res/layout/fragment_assignment_details.xml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -570,14 +570,6 @@
570570
app:layout_constraintTop_toBottomOf="@id/authoredDate"
571571
app:onLtiButtonPressed="@{(url) -> viewModel.onLtiButtonPressed(url)}" />
572572

573-
<com.instructure.pandautils.views.EmptyView
574-
android:id="@+id/emptyView"
575-
android:layout_width="match_parent"
576-
android:layout_height="0dp"
577-
app:emptyViewState="@{viewModel.state}"
578-
tools:layout_editor_absoluteX="2dp"
579-
tools:visibility="visible" />
580-
581573
</androidx.constraintlayout.widget.ConstraintLayout>
582574

583575
</ScrollView>
@@ -611,6 +603,13 @@
611603
app:layout_constraintBottom_toBottomOf="parent"
612604
app:layout_constraintStart_toStartOf="parent" />
613605

606+
<com.instructure.pandautils.views.EmptyView
607+
android:id="@+id/emptyView"
608+
android:layout_width="match_parent"
609+
android:layout_height="match_parent"
610+
app:emptyViewState="@{viewModel.state}"
611+
tools:visibility="visible" />
612+
614613
</androidx.constraintlayout.widget.ConstraintLayout>
615614

616615
</layout>

0 commit comments

Comments
 (0)