Merge "resolver_list.xml and resolver_list_with_default.xml are used as root elements, so they must have valid ViewGroups."
diff --git a/car_product/overlay/frameworks/base/core/res/res/layout/resolver_list.xml b/car_product/overlay/frameworks/base/core/res/res/layout/resolver_list.xml
index ac5fa6f..eec830d 100644
--- a/car_product/overlay/frameworks/base/core/res/res/layout/resolver_list.xml
+++ b/car_product/overlay/frameworks/base/core/res/res/layout/resolver_list.xml
@@ -16,6 +16,9 @@
  * limitations under the License.
  */
 -->
-<merge>
+<FrameLayout
+    xmlns:android="http://schemas.android.com/apk/res/android"
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content">
     <include layout="@*android:layout/car_resolver_list"/>
-</merge>
+</FrameLayout>
diff --git a/car_product/overlay/frameworks/base/core/res/res/layout/resolver_list_with_default.xml b/car_product/overlay/frameworks/base/core/res/res/layout/resolver_list_with_default.xml
index 8e4dbf6..682f749 100644
--- a/car_product/overlay/frameworks/base/core/res/res/layout/resolver_list_with_default.xml
+++ b/car_product/overlay/frameworks/base/core/res/res/layout/resolver_list_with_default.xml
@@ -16,6 +16,9 @@
  * limitations under the License.
  */
 -->
-<merge>
+<FrameLayout
+    xmlns:android="http://schemas.android.com/apk/res/android"
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content">
     <include layout="@*android:layout/car_resolver_list_with_default"/>
-</merge>
+</FrameLayout>