1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 Copyright (C) 2018 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16--> 17 18<FrameLayout 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent" 22 android:background="@color/car_card_dark"> 23 24 <!-- Attribute StickyHeader is defined by the GlifLayout. Added from the parent GlifLayout. --> 25 <ViewStub 26 android:id="@+id/suc_layout_sticky_header" 27 android:layout_width="match_parent" 28 android:layout_height="wrap_content" /> 29 30 <!-- Ids are referenced in code, do not change. --> 31 <LinearLayout 32 android:id="@+id/suc_layout_content" 33 android:layout_width="match_parent" 34 android:layout_height="wrap_content" 35 android:orientation="vertical" 36 android:layout_gravity="center_vertical" 37 android:layout_marginStart="@dimen/car_margin" 38 android:layout_marginEnd="@dimen/car_margin"> 39 40 <ImageView 41 android:id="@+id/suc_layout_icon" 42 android:layout_width="@dimen/car_primary_icon_size" 43 android:layout_height="@dimen/car_primary_icon_size" 44 android:scaleType="fitCenter" 45 android:layout_gravity="center" 46 android:layout_marginTop="@dimen/car_padding_4"/> 47 48 <TextView 49 android:id="@+id/suc_layout_title" 50 android:layout_width="match_parent" 51 android:layout_height="wrap_content" 52 android:gravity="center" 53 android:textAppearance="@style/TextAppearance.Car.Body1.Light"/> 54 55 <TextView 56 android:id="@+id/device_owner_terms_info" 57 android:layout_width="match_parent" 58 android:layout_height="wrap_content" 59 android:textAppearance="@style/TextAppearance.Car.Body2.Light"/> 60 61 <TextView 62 android:id="@+id/device_owner_provider_info" 63 android:layout_width="match_parent" 64 android:layout_height="wrap_content" 65 android:textAppearance="@style/TextAppearance.Car.Body2.Light"/> 66 67 <RelativeLayout 68 android:id="@+id/intro_device_owner_app_info_container" 69 android:layout_width="match_parent" 70 android:layout_height="wrap_content" 71 android:layout_marginTop="@dimen/car_padding_4" 72 android:visibility="gone"> 73 74 <TextView 75 android:id="@+id/device_owner_app_info_text" 76 android:layout_width="match_parent" 77 android:layout_height="wrap_content" 78 android:textAppearance="@style/TextAppearance.Car.Body2.Light"/> 79 80 <ImageView 81 android:id="@+id/device_manager_icon_view" 82 android:layout_width="@dimen/car_avatar_icon_size" 83 android:layout_height="@dimen/car_avatar_icon_size" 84 android:layout_below="@id/device_owner_app_info_text" 85 android:importantForAccessibility="no" 86 android:scaleType="fitCenter"/> 87 <TextView 88 android:id="@+id/device_manager_name" 89 android:layout_width="wrap_content" 90 android:layout_height="wrap_content" 91 android:layout_below="@id/device_owner_app_info_text" 92 android:layout_toRightOf="@id/device_manager_icon_view" 93 android:paddingStart="@dimen/car_padding_4" 94 android:textAppearance="@style/TextAppearance.Car.Body1.Light"/> 95 96 </RelativeLayout> 97 98 </LinearLayout> 99 100</FrameLayout>