blob: 594b85f263d590dba013e3dacd8432093d42fa89 [file] [log] [blame]
John Reck765ae392011-03-17 16:13:56 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
Pankaj Garg2ab11672014-12-12 10:51:20 -080017<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
John Reck765ae392011-03-17 16:13:56 -070018 android:layout_width="match_parent"
19 android:layout_height="match_parent"
Pankaj Garg2ab11672014-12-12 10:51:20 -080020 android:orientation="vertical">
John Reck765ae392011-03-17 16:13:56 -070021
Pankaj Garg2ab11672014-12-12 10:51:20 -080022 <FrameLayout
John Reck765ae392011-03-17 16:13:56 -070023 android:layout_width="match_parent"
Pankaj Garg2ab11672014-12-12 10:51:20 -080024 android:layout_height="match_parent"
25 android:layout_weight="90">
John Reck765ae392011-03-17 16:13:56 -070026
Pankaj Garg2ab11672014-12-12 10:51:20 -080027 <ViewStub
28 android:id="@+id/pref_stub"
29 android:layout_width="match_parent"
30 android:layout_height="match_parent"
31 android:inflatedId="@+id/history" />
32
33 <TextView
34 android:id="@android:id/empty"
35 android:layout_width="wrap_content"
36 android:layout_height="wrap_content"
37 android:layout_gravity="center"
38 android:text="@string/empty_history"
39 android:textAppearance="?android:attr/textAppearanceLarge"
40 android:visibility="gone" />
41
42 </FrameLayout>
43
44 <LinearLayout
45 android:layout_width="match_parent"
John Reck765ae392011-03-17 16:13:56 -070046 android:layout_height="wrap_content"
Pankaj Garg2ab11672014-12-12 10:51:20 -080047 android:layout_alignParentBottom="true"
48 android:layout_weight="10">
John Reck765ae392011-03-17 16:13:56 -070049
Pankaj Garg2ab11672014-12-12 10:51:20 -080050 <Button
51 android:id="@+id/clear_history_button"
52 android:layout_width="match_parent"
53 android:layout_height="wrap_content"
54 android:text="@string/clear_history" />
55 </LinearLayout>
56</LinearLayout>