blob: c24442337113217b8f6686079eea7186754e61e8 [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"
Pankaj Garg21dad562015-07-02 17:17:24 -070022 android:background="@color/comboViewBackground"
Pankaj Garg68faf1c2015-06-26 17:07:37 -070023 android:paddingTop="@dimen/combo_paddingTop">
Jeff Hamilton64144e42010-08-18 16:31:59 -050024
Pankaj Garg49b79252014-11-07 17:33:41 -080025 <FrameLayout
26 android:layout_width="match_parent"
27 android:layout_weight="90"
Pankaj Garg68faf1c2015-06-26 17:07:37 -070028 android:layout_height="fill_parent" >
Jeff Hamilton64144e42010-08-18 16:31:59 -050029
Pankaj Garg49b79252014-11-07 17:33:41 -080030 <ExpandableListView
31 android:id="@+id/history"
32 android:layout_height="match_parent"
33 android:layout_width="match_parent" />
34
35 <TextView android:id="@android:id/empty"
36 android:layout_width="wrap_content"
37 android:layout_height="wrap_content"
38 android:layout_gravity="center"
39 android:textAppearance="?android:attr/textAppearanceLarge"
40 android:text="@string/empty_history"
41 android:visibility="gone"
42 />
43
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080044 <View
45 android:layout_width="match_parent"
46 android:layout_height="@dimen/combo_shadow_height"
47 android:layout_gravity="bottom"
48 android:background="@drawable/shadow_top" />
49
50 <View
51 android:layout_width="match_parent"
52 android:layout_height="@dimen/combo_shadow_height"
53 android:layout_gravity="top"
54 android:background="@drawable/shadow_bottom" />
55
Pankaj Garg49b79252014-11-07 17:33:41 -080056 </FrameLayout>
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080057
58
Pankaj Garg49b79252014-11-07 17:33:41 -080059 <LinearLayout
60 android:layout_width="match_parent"
Jeff Hamilton64144e42010-08-18 16:31:59 -050061 android:layout_height="wrap_content"
Pankaj Garg49b79252014-11-07 17:33:41 -080062 android:layout_weight="10"
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080063 android:background="@color/primary"
64 style="?android:attr/buttonBarStyle" >
Jeff Hamilton64144e42010-08-18 16:31:59 -050065
Pankaj Garg49b79252014-11-07 17:33:41 -080066 <Button
67 android:id="@+id/clear_history_button"
68 android:text="@string/clear_history"
69 android:layout_width="match_parent"
70 android:layout_height="wrap_content"
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080071 style="?android:attr/buttonBarButtonStyle"
Pankaj Garg49b79252014-11-07 17:33:41 -080072 />
73 </LinearLayout>
74
75</LinearLayout>