Skip to content

Commit

Permalink
Android fix codeEditor toolbar visibility (#810)
Browse files Browse the repository at this point in the history
  • Loading branch information
XanderZhu authored Dec 22, 2023
1 parent 13400bd commit ad61701
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
layout="@layout/view_stage_implementation_appbar" />

<FrameLayout
android:id="@+id/stepPracticeContainer"
android:layout_width="match_parent"
android:layout_height="0dp"
android:fillViewport="true"
android:scrollbars="vertical"
app:layout_constraintTop_toBottomOf="@+id/stageImplementationAppBar"
app:layout_constraintBottom_toTopOf="@+id/stepQuizFillBlanksOptionsRecycler">
app:layout_constraintBottom_toTopOf="@+id/stepQuizFillBlanksOptionsContainer">

<androidx.core.widget.NestedScrollView
android:id="@+id/stagePracticeContainer"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical">

<include
Expand Down Expand Up @@ -44,6 +45,8 @@
</androidx.core.widget.NestedScrollView>

<include
layout="@layout/layout_step_quiz_fill_blanks_options"/>
layout="@layout/layout_step_quiz_fill_blanks_options"
android:visibility="gone"
tools:visibility="visible"/>

</androidx.constraintlayout.widget.ConstraintLayout>
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.recyclerview.widget.RecyclerView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/stepQuizCodeKeyboardExtensionRecycler"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom" />
app:layout_constraintBottom_toBottomOf="parent"/>

0 comments on commit ad61701

Please sign in to comment.