Skip to content

Commit

Permalink
Bug fix #11 improve landscape mode
Browse files Browse the repository at this point in the history
  • Loading branch information
JahidHasanCO committed Nov 25, 2022
1 parent 4aa29fa commit 4e617d1
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,21 @@

</data>

<LinearLayout
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/backgroundColorAdditional"
tools:context=".presentation.activity.MainActivity">

<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:nestedScrollingEnabled="true"
tools:ignore="UselessParent">
android:id="@+id/scrollView2"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
>

<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
Expand Down Expand Up @@ -328,5 +332,5 @@
</androidx.constraintlayout.widget.ConstraintLayout>

</ScrollView>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</layout>

0 comments on commit 4e617d1

Please sign in to comment.