blob: cdf5493d5cf991dedafe74bc7cb89783003b1a5b [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
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080042 <View
43 android:layout_width="match_parent"
44 android:layout_height="@dimen/combo_shadow_height"
45 android:layout_gravity="bottom"
46 android:background="@drawable/shadow_top" />
47
48 <View
49 android:layout_width="match_parent"
50 android:layout_height="@dimen/combo_shadow_height"
51 android:layout_gravity="top"
52 android:background="@drawable/shadow_bottom" />
53
Pankaj Garg2ab11672014-12-12 10:51:20 -080054 </FrameLayout>
55
56 <LinearLayout
57 android:layout_width="match_parent"
John Reck765ae392011-03-17 16:13:56 -070058 android:layout_height="wrap_content"
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080059 style="?android:attr/buttonBarStyle"
60 android:background="@color/primary"
Pankaj Garg2ab11672014-12-12 10:51:20 -080061 android:layout_weight="10">
John Reck765ae392011-03-17 16:13:56 -070062
Pankaj Garg2ab11672014-12-12 10:51:20 -080063 <Button
64 android:id="@+id/clear_history_button"
65 android:layout_width="match_parent"
66 android:layout_height="wrap_content"
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080067 style="?android:attr/buttonBarButtonStyle"
Pankaj Garg2ab11672014-12-12 10:51:20 -080068 android:text="@string/clear_history" />
69 </LinearLayout>
70</LinearLayout>