Fragments: use FragmentContainerView

This commit is contained in:
ganfra 2019-11-05 18:13:55 +01:00
parent 8871280fab
commit 219d1383e5
7 changed files with 8 additions and 9 deletions

View file

@ -1,7 +1,6 @@
<?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">
@ -13,7 +12,7 @@
android:elevation="4dp"
app:layout_constraintTop_toTopOf="parent" />
<FrameLayout
<androidx.fragment.app.FragmentContainerView
android:id="@+id/container"
android:layout_width="0dp"
android:layout_height="0dp"

View file

@ -6,7 +6,7 @@
android:layout_height="match_parent"
tools:context="im.vector.riotx.features.reactions.EmojiReactionPickerActivity">
<fragment
<androidx.fragment.app.FragmentContainerView
android:id="@+id/fragment"
android:name="im.vector.riotx.features.reactions.EmojiChooserFragment"
android:layout_width="match_parent"
@ -14,7 +14,7 @@
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:layout="@layout/emoji_chooser_fragment" />
<fragment
<androidx.fragment.app.FragmentContainerView
android:id="@+id/searchFragment"
android:name="im.vector.riotx.features.reactions.EmojiSearchResultFragment"
android:layout_width="match_parent"

View file

@ -29,7 +29,7 @@
</androidx.appcompat.widget.Toolbar>
<FrameLayout
<androidx.fragment.app.FragmentContainerView
android:id="@+id/filteredRoomsFragmentContainer"
android:layout_width="0dp"
android:layout_height="0dp"

View file

@ -29,7 +29,7 @@
</androidx.appcompat.widget.Toolbar>
<FrameLayout
<androidx.fragment.app.FragmentContainerView
android:id="@+id/shareRoomListFragmentContainer"
android:layout_width="0dp"
android:layout_height="0dp"

View file

@ -4,7 +4,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
<androidx.fragment.app.FragmentContainerView
android:id="@+id/roomDetailContainer"
android:layout_width="match_parent"
android:layout_height="match_parent" />

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.fragment.app.FragmentContainerView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/simpleFragmentContainer"
android:layout_width="match_parent"
android:layout_height="match_parent" />

View file

@ -81,7 +81,7 @@
</androidx.constraintlayout.widget.ConstraintLayout>
<FrameLayout
<androidx.fragment.app.FragmentContainerView
android:id="@+id/homeDrawerGroupListContainer"
android:layout_width="0dp"
android:layout_height="0dp"