1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2020 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<LinearLayout 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:app="http://schemas.android.com/apk/res-auto" 21 android:layout_width="match_parent" 22 android:layout_height="wrap_content" 23 android:orientation="vertical" 24 android:gravity="center_horizontal" 25 android:paddingTop="@dimen/item_doc_inflated_message_padding_top" 26 android:paddingStart="72dp" 27 android:paddingEnd="72dp"> 28 29 <ProgressBar 30 android:id="@+id/cross_profile_progress" 31 style="@android:style/Widget.Material.Light.ProgressBar" 32 android:visibility="gone" 33 android:layout_width="wrap_content" 34 android:layout_height="wrap_content" 35 android:indeterminate="true" 36 android:indeterminateTint="?attr/colorAccent"/> 37 38 <LinearLayout 39 android:id="@+id/cross_profile_content" 40 android:layout_width="wrap_content" 41 android:layout_height="wrap_content" 42 android:orientation="vertical" 43 android:gravity="center_horizontal"> 44 45 <ImageView 46 android:id="@+id/artwork" 47 android:layout_width="24dp" 48 android:layout_height="24dp"/> 49 <TextView 50 android:id="@+id/title" 51 android:layout_marginTop="8dp" 52 android:layout_width="wrap_content" 53 android:layout_height="wrap_content" 54 android:gravity="center_horizontal" 55 android:textAppearance="@style/EmptyStateTitleText"/> 56 <TextView 57 android:id="@+id/message" 58 android:layout_marginTop="@dimen/cross_profile_button_message_margin_top" 59 android:layout_width="wrap_content" 60 android:layout_height="wrap_content" 61 android:gravity="center_horizontal" 62 android:textAppearance="@style/EmptyStateMessageText"/> 63 <Button 64 android:id="@+id/button" 65 android:layout_marginTop="16dp" 66 android:layout_width="wrap_content" 67 android:layout_height="wrap_content" 68 app:cornerRadius="@dimen/cross_profile_button_corner_radius" 69 app:strokeWidth="@dimen/cross_profile_button_stroke_width" 70 app:strokeColor="@color/work_profile_button_stroke_color" 71 style="@style/EmptyStateButton"/> 72 </LinearLayout> 73</LinearLayout> 74