Skip to content

Commit

Permalink
use coordinator layout to keep the snackbar attached to fragment in …
Browse files Browse the repository at this point in the history
…pager

Signed-off-by: parneet-guraya <[email protected]>
  • Loading branch information
parneet-guraya authored and alperozturk96 committed Sep 11, 2024
1 parent a2eba07 commit ec89022
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/res/layout/preview_image_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
~ SPDX-FileCopyrightText: 2013 David A. Velasco <[email protected]>
~ SPDX-License-Identifier: GPL-2.0-only AND (AGPL-3.0-or-later OR GPL-2.0-only)
-->
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.coordinatorlayout.widget.CoordinatorLayout 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:id="@+id/top"
Expand Down Expand Up @@ -119,4 +119,4 @@
android:src="@drawable/ic_image_outline" />

</FrameLayout>
</FrameLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

0 comments on commit ec89022

Please sign in to comment.