• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    android:layout_width="match_parent"
21    android:layout_height="wrap_content"
22    android:orientation="vertical"
23    android:gravity="center_horizontal"
24    android:paddingTop="@dimen/item_doc_inflated_message_padding_top"
25    android:paddingStart="72dp"
26    android:paddingEnd="72dp">
27
28    <ProgressBar
29        android:id="@+id/cross_profile_progress"
30        style="@android:style/Widget.Material.Light.ProgressBar"
31        android:visibility="gone"
32        android:layout_width="wrap_content"
33        android:layout_height="wrap_content"
34        android:indeterminate="true"
35        android:indeterminateTint="?attr/colorAccent"/>
36
37    <LinearLayout
38        android:id="@+id/cross_profile_content"
39        android:layout_width="wrap_content"
40        android:layout_height="wrap_content"
41        android:orientation="vertical"
42        android:gravity="center_horizontal">
43
44        <ImageView
45            android:id="@+id/artwork"
46            android:layout_width="24dp"
47            android:layout_height="24dp"/>
48        <TextView
49            android:id="@+id/title"
50            android:layout_marginTop="8dp"
51            android:layout_width="wrap_content"
52            android:layout_height="wrap_content"
53            android:gravity="center_horizontal"
54            android:textAppearance="@style/EmptyStateTitleText"/>
55        <TextView
56            android:id="@+id/message"
57            android:layout_marginTop="4dp"
58            android:layout_width="wrap_content"
59            android:layout_height="wrap_content"
60            android:gravity="center_horizontal"
61            android:textAppearance="@style/EmptyStateMessageText"/>
62        <Button
63            android:id="@+id/button"
64            android:layout_marginTop="16dp"
65            android:layout_width="wrap_content"
66            android:layout_height="wrap_content"
67            style="@style/EmptyStateButton"/>
68    </LinearLayout>
69</LinearLayout>
70