<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (C) 2018 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. --> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/car_card_dark"> <!-- Attribute StickyHeader is defined by the GlifLayout. Added from the parent GlifLayout. --> <ViewStub android:id="@+id/suc_layout_sticky_header" android:layout_width="match_parent" android:layout_height="wrap_content" /> <!-- Ids are referenced in code, do not change. --> <LinearLayout android:id="@+id/suc_layout_content" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:layout_gravity="center_vertical" android:layout_marginStart="@dimen/car_margin" android:layout_marginEnd="@dimen/car_margin"> <ImageView android:id="@+id/suc_layout_icon" android:layout_width="@dimen/car_primary_icon_size" android:layout_height="@dimen/car_primary_icon_size" android:scaleType="fitCenter" android:layout_gravity="center" android:layout_marginTop="@dimen/car_padding_4"/> <TextView android:id="@+id/suc_layout_title" android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center" android:textAppearance="@style/TextAppearance.Car.Body1.Light"/> <TextView android:id="@+id/device_owner_terms_info" android:layout_width="match_parent" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.Car.Body2.Light"/> <TextView android:id="@+id/device_owner_provider_info" android:layout_width="match_parent" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.Car.Body2.Light"/> <RelativeLayout android:id="@+id/intro_device_owner_app_info_container" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/car_padding_4" android:visibility="gone"> <TextView android:id="@+id/device_owner_app_info_text" android:layout_width="match_parent" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.Car.Body2.Light"/> <ImageView android:id="@+id/device_manager_icon_view" android:layout_width="@dimen/car_avatar_icon_size" android:layout_height="@dimen/car_avatar_icon_size" android:layout_below="@id/device_owner_app_info_text" android:importantForAccessibility="no" android:scaleType="fitCenter"/> <TextView android:id="@+id/device_manager_name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/device_owner_app_info_text" android:layout_toRightOf="@id/device_manager_icon_view" android:paddingStart="@dimen/car_padding_4" android:textAppearance="@style/TextAppearance.Car.Body1.Light"/> </RelativeLayout> </LinearLayout> </FrameLayout>