blob: 705c32de4789786f906ce5594204793afda8f49f [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 Garg49b79252014-11-07 17:33:41 -080021 android:orientation="vertical" >
Jeff Hamilton64144e42010-08-18 16:31:59 -050022
Pankaj Garg49b79252014-11-07 17:33:41 -080023 <FrameLayout
24 android:layout_width="match_parent"
25 android:layout_weight="90"
26 android:layout_height="match_parent" >
Jeff Hamilton64144e42010-08-18 16:31:59 -050027
Pankaj Garg49b79252014-11-07 17:33:41 -080028 <ExpandableListView
29 android:id="@+id/history"
30 android:layout_height="match_parent"
31 android:layout_width="match_parent" />
32
33 <TextView android:id="@android:id/empty"
34 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
36 android:layout_gravity="center"
37 android:textAppearance="?android:attr/textAppearanceLarge"
38 android:text="@string/empty_history"
39 android:visibility="gone"
40 />
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 Garg49b79252014-11-07 17:33:41 -080054 </FrameLayout>
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080055
56
Pankaj Garg49b79252014-11-07 17:33:41 -080057 <LinearLayout
58 android:layout_width="match_parent"
Jeff Hamilton64144e42010-08-18 16:31:59 -050059 android:layout_height="wrap_content"
Pankaj Garg49b79252014-11-07 17:33:41 -080060 android:layout_weight="10"
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080061 android:background="@color/primary"
62 style="?android:attr/buttonBarStyle" >
Jeff Hamilton64144e42010-08-18 16:31:59 -050063
Pankaj Garg49b79252014-11-07 17:33:41 -080064 <Button
65 android:id="@+id/clear_history_button"
66 android:text="@string/clear_history"
67 android:layout_width="match_parent"
68 android:layout_height="wrap_content"
Kulanthaivel Palanichamya94b4d32015-01-29 19:32:14 -080069 style="?android:attr/buttonBarButtonStyle"
Pankaj Garg49b79252014-11-07 17:33:41 -080070 />
71 </LinearLayout>
72
73</LinearLayout>