Jeff Hamilton | 64144e4 | 2010-08-18 16:31:59 -0500 | [diff] [blame] | 1 | <?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 Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 17 | <LinearLayout |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
Jeff Hamilton | 64144e4 | 2010-08-18 16:31:59 -0500 | [diff] [blame] | 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="match_parent" |
Pankaj Garg | 68faf1c | 2015-06-26 17:07:37 -0700 | [diff] [blame] | 21 | android:orientation="vertical" |
Pankaj Garg | 21dad56 | 2015-07-02 17:17:24 -0700 | [diff] [blame] | 22 | android:background="@color/comboViewBackground" |
Pankaj Garg | 68faf1c | 2015-06-26 17:07:37 -0700 | [diff] [blame] | 23 | android:paddingTop="@dimen/combo_paddingTop"> |
Jeff Hamilton | 64144e4 | 2010-08-18 16:31:59 -0500 | [diff] [blame] | 24 | |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 25 | <FrameLayout |
| 26 | android:layout_width="match_parent" |
| 27 | android:layout_weight="90" |
Pankaj Garg | 68faf1c | 2015-06-26 17:07:37 -0700 | [diff] [blame] | 28 | android:layout_height="fill_parent" > |
Jeff Hamilton | 64144e4 | 2010-08-18 16:31:59 -0500 | [diff] [blame] | 29 | |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 30 | <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 Palanichamy | a94b4d3 | 2015-01-29 19:32:14 -0800 | [diff] [blame] | 44 | <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 Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 56 | </FrameLayout> |
Kulanthaivel Palanichamy | a94b4d3 | 2015-01-29 19:32:14 -0800 | [diff] [blame] | 57 | |
| 58 | |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 59 | <LinearLayout |
| 60 | android:layout_width="match_parent" |
Jeff Hamilton | 64144e4 | 2010-08-18 16:31:59 -0500 | [diff] [blame] | 61 | android:layout_height="wrap_content" |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 62 | android:layout_weight="10" |
Kulanthaivel Palanichamy | a94b4d3 | 2015-01-29 19:32:14 -0800 | [diff] [blame] | 63 | android:background="@color/primary" |
| 64 | style="?android:attr/buttonBarStyle" > |
Jeff Hamilton | 64144e4 | 2010-08-18 16:31:59 -0500 | [diff] [blame] | 65 | |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 66 | <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 Palanichamy | a94b4d3 | 2015-01-29 19:32:14 -0800 | [diff] [blame] | 71 | style="?android:attr/buttonBarButtonStyle" |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 72 | /> |
| 73 | </LinearLayout> |
| 74 | |
| 75 | </LinearLayout> |