<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2016 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<!-- Layout for testing CoordinatorLayout.Behavior defined as a child attribute in XML. -->
<androidx.coordinatorlayout.widget.CoordinatorLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <androidx.appcompat.widget.AppCompatTextView
        android:id="@+id/text"
        android:layout_height="wrap_content"
        android:layout_width="wrap_content"
        android:layout_gravity="bottom|end"
        android:text="text1"
        android:textSize="18dip"
        android:textStyle="bold"
        android:padding="12dip"
        app:textAllCaps="true"
        app:layout_behavior="androidx.coordinatorlayout.custom.TestFloatingBehavior" />

</androidx.coordinatorlayout.widget.CoordinatorLayout>
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2016 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<!-- Layout for testing CoordinatorLayout.Behavior defined as a child attribute in XML. -->
<androidx.coordinatorlayout.widget.CoordinatorLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <TextView
        android:id="@+id/text"
        android:layout_height="wrap_content"
        android:layout_width="wrap_content"
        android:layout_gravity="bottom|end"
        android:text="text1"
        android:textSize="18dip"
        android:textStyle="bold"
        android:padding="12dip"
        android:textAllCaps="true"
        app:layout_behavior="androidx.coordinatorlayout.custom.TestFloatingBehavior" />

</androidx.coordinatorlayout.widget.CoordinatorLayout>
Use a plain TextView for coordinator layout tests
Use a plain TextView for coordinator layout tests

Otherwise one of the tests crashes since AppCompatTextView can't be
used without an AppCompat theme anymore.

Bug: 139656033
Test: ./gradlew :coordinatorlayout:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=androidx.coordinatorlayout.widget.CoordinatorSnackbarWithButtonTest
Change-Id: I49b6f1d7c0d910b84eeaf2e55a81c3143eeb146c
