blob: 1636fe6a4f1fc5f25c1e5c712a73ba7b2bb0cd8c [file] [log] [blame]
Jeff Hamilton64144e42010-08-18 16:31:59 -05001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2010 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 Garg49b79252014-11-07 17:33:41 -080017<LinearLayout
18 xmlns:android="http://schemas.android.com/apk/res/android"
Jeff Hamilton64144e42010-08-18 16:31:59 -050019 android:layout_width="match_parent"
20 android:layout_height="match_parent"
Pankaj Garg68faf1c2015-06-26 17:07:37 -070021 android:orientation="vertical"
22 android:paddingTop="@dimen/combo_paddingTop">
Jeff Hamilton64144e42010-08-18 16:31:59 -050023
Pankaj Garg49b79252014-11-07 17:33:41 -080024 <FrameLayout
25 android:layout_width="match_parent"
26 android:layout_weight="90"
Pankaj Garg68faf1c2015-06-26 17:07:37 -070027 android:layout_height="fill_parent" >
Jeff Hamilton64144e42010-08-18 16:31:59 -050028
Pankaj Garg49b79252014-11-07 17:33:41 -080029 <ExpandableListView
30 android:id="@+id/history"
31 android:layout_height="match_parent"
32 android:layout_width="match_parent" />
33
34 <TextView android:id="@android:id/empty"
35 android:layout_width="wrap_content"
36 android:layout_height="wrap_content"
37 android:layout_gravity="center"
38 android:textAppearance="?android:attr/textAppearanceLarge"
39 android:text="@string/empty_history"
40 android:visibility="gone"
41 />
42
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080043 <View
44 android:layout_width="match_parent"
45 android:layout_height="@dimen/combo_shadow_height"
46 android:layout_gravity="bottom"
47 android:background="@drawable/shadow_top" />
48
49 <View
50 android:layout_width="match_parent"
51 android:layout_height="@dimen/combo_shadow_height"
52 android:layout_gravity="top"
53 android:background="@drawable/shadow_bottom" />
54
Pankaj Garg49b79252014-11-07 17:33:41 -080055 </FrameLayout>
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080056
57
Pankaj Garg49b79252014-11-07 17:33:41 -080058 <LinearLayout
59 android:layout_width="match_parent"
Jeff Hamilton64144e42010-08-18 16:31:59 -050060 android:layout_height="wrap_content"
Pankaj Garg49b79252014-11-07 17:33:41 -080061 android:layout_weight="10"
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080062 android:background="@color/primary"
63 style="?android:attr/buttonBarStyle" >
Jeff Hamilton64144e42010-08-18 16:31:59 -050064
Pankaj Garg49b79252014-11-07 17:33:41 -080065 <Button
66 android:id="@+id/clear_history_button"
67 android:text="@string/clear_history"
68 android:layout_width="match_parent"
69 android:layout_height="wrap_content"
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080070 style="?android:attr/buttonBarButtonStyle"
Pankaj Garg49b79252014-11-07 17:33:41 -080071 />
72 </LinearLayout>
73
74</LinearLayout>