1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file.
7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
8 android:layout_width="fill_parent"
9 android:layout_height="fill_parent"
10 android:orientation="vertical"
11 android:paddingBottom="8dp"
12 android:paddingTop="20dp" >
14 <!-- The title at the top. -->
15 <org.chromium.ui.widget.TextViewWithClickableSpans
16 android:id="@+id/dialog_title"
17 android:layout_width="wrap_content"
18 android:layout_height="wrap_content"
19 android:paddingBottom="8dp"
20 android:paddingStart="16dp"
21 android:paddingEnd="16dp"
22 android:textSize="16sp" />
24 <!-- The "no item found" message. -->
25 <org.chromium.ui.widget.TextViewWithClickableSpans
26 android:id="@+id/not_found_message"
27 android:layout_width="wrap_content"
28 android:layout_height="wrap_content"
29 android:layout_marginTop="8dp"
30 android:layout_marginStart="16dp"
31 android:layout_marginEnd="16dp"
32 android:textSize="16sp"
33 android:visibility="gone" />
35 <!-- A layout containing a spinning progress bar that gets replaced with a
38 android:id="@+id/container"
39 android:layout_width="fill_parent"
40 android:layout_height="100dp" >
42 android:id="@+id/progress"
43 android:layout_width="24dp"
44 android:layout_height="24dp"
45 android:layout_gravity="center"
46 android:indeterminate="true" />
49 android:id="@+id/items"
50 android:layout_width="fill_parent"
51 android:layout_height="wrap_content"
52 android:layout_gravity="top"
53 android:fadeScrollbars="false"
54 android:visibility="gone" />
57 <View style="@style/ButtonBarTopDivider" />
59 <!-- Status message at the bottom. -->
60 <org.chromium.ui.widget.TextViewWithClickableSpans
61 android:id="@+id/status"
62 android:layout_width="wrap_content"
63 android:layout_height="wrap_content"
64 android:layout_marginTop="12dp"
65 android:paddingStart="16dp"
66 android:paddingEnd="16dp"
67 android:textSize="14sp" />
71 android:id="@+id/positive"
72 style="?android:attr/buttonBarButtonStyle"
73 android:layout_height="wrap_content"
74 android:layout_width="wrap_content"
75 android:layout_gravity="end"
76 android:paddingTop="12dp"
77 android:paddingEnd="16dp" />