Messaging: Replace fragment with FragmentContainerView

* Following recommendation of AS
* Also add the missing newlines at the end - they should be there and a
  separate change doesn't make sense

Change-Id: I90ce1574910275458f51a151c8dcd6da49433504
This commit is contained in:
Michael W
2025-03-04 18:52:05 +01:00
parent 4009b68386
commit 162c78fe1a
5 changed files with 16 additions and 15 deletions
+3 -2
View File
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- <!--
Copyright (C) 2015 The Android Open Source Project Copyright (C) 2015 The Android Open Source Project
Copyright (C) 2025 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@@ -14,9 +15,9 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<fragment <androidx.fragment.app.FragmentContainerView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
class="com.android.messaging.ui.attachmentchooser.AttachmentChooserFragment" android:name="com.android.messaging.ui.attachmentchooser.AttachmentChooserFragment"
android:id="@+id/attachment_chooser_fragment" android:id="@+id/attachment_chooser_fragment"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" /> android:layout_height="match_parent" />
+2 -2
View File
@@ -15,9 +15,9 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<fragment <androidx.fragment.app.FragmentContainerView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
class="com.android.messaging.ui.BlockedParticipantsFragment" android:name="com.android.messaging.ui.BlockedParticipantsFragment"
android:id="@+id/blocked_participants_fragment" android:id="@+id/blocked_participants_fragment"
android:theme="@style/Theme.MaterialComponents.Light.DarkActionBar" android:theme="@style/Theme.MaterialComponents.Light.DarkActionBar"
android:layout_width="fill_parent" android:layout_width="fill_parent"
+2 -2
View File
@@ -15,9 +15,9 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<fragment <androidx.fragment.app.FragmentContainerView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
class="com.android.messaging.ui.conversationlist.ConversationListFragment" android:name="com.android.messaging.ui.conversationlist.ConversationListFragment"
android:id="@+id/conversation_list_fragment" android:id="@+id/conversation_list_fragment"
android:theme="@style/Theme.MaterialComponents.Light.DarkActionBar" android:theme="@style/Theme.MaterialComponents.Light.DarkActionBar"
android:layout_width="match_parent" android:layout_width="match_parent"
+2 -2
View File
@@ -15,9 +15,9 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<fragment <androidx.fragment.app.FragmentContainerView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
class="com.android.messaging.ui.conversationsettings.PeopleAndOptionsFragment" android:name="com.android.messaging.ui.conversationsettings.PeopleAndOptionsFragment"
android:id="@+id/people_and_options_fragment" android:id="@+id/people_and_options_fragment"
android:theme="@style/Theme.MaterialComponents.Light.DarkActionBar" android:theme="@style/Theme.MaterialComponents.Light.DarkActionBar"
android:layout_width="match_parent" android:layout_width="match_parent"
+2 -2
View File
@@ -15,9 +15,9 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<fragment <androidx.fragment.app.FragmentContainerView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
class="com.android.messaging.ui.VCardDetailFragment" android:name="com.android.messaging.ui.VCardDetailFragment"
android:id="@+id/vcard_detail_fragment" android:id="@+id/vcard_detail_fragment"
android:theme="@style/Theme.MaterialComponents.Light.DarkActionBar" android:theme="@style/Theme.MaterialComponents.Light.DarkActionBar"
android:layout_width="match_parent" android:layout_width="match_parent"