John Reck | 765ae39 | 2011-03-17 16:13:56 -0700 | [diff] [blame] | 1 | <?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 Garg | 2ab1167 | 2014-12-12 10:51:20 -0800 | [diff] [blame] | 17 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
John Reck | 765ae39 | 2011-03-17 16:13:56 -0700 | [diff] [blame] | 18 | android:layout_width="match_parent" |
| 19 | android:layout_height="match_parent" |
Pankaj Garg | 2ab1167 | 2014-12-12 10:51:20 -0800 | [diff] [blame] | 20 | android:orientation="vertical"> |
John Reck | 765ae39 | 2011-03-17 16:13:56 -0700 | [diff] [blame] | 21 | |
Pankaj Garg | 2ab1167 | 2014-12-12 10:51:20 -0800 | [diff] [blame] | 22 | <FrameLayout |
John Reck | 765ae39 | 2011-03-17 16:13:56 -0700 | [diff] [blame] | 23 | android:layout_width="match_parent" |
Pankaj Garg | 2ab1167 | 2014-12-12 10:51:20 -0800 | [diff] [blame] | 24 | android:layout_height="match_parent" |
| 25 | android:layout_weight="90"> |
John Reck | 765ae39 | 2011-03-17 16:13:56 -0700 | [diff] [blame] | 26 | |
Pankaj Garg | 2ab1167 | 2014-12-12 10:51:20 -0800 | [diff] [blame] | 27 | <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 Palanichamy | a94b4d3 | 2015-01-29 19:32:14 -0800 | [diff] [blame] | 42 | <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 Garg | 2ab1167 | 2014-12-12 10:51:20 -0800 | [diff] [blame] | 54 | </FrameLayout> |
| 55 | |
| 56 | <LinearLayout |
| 57 | android:layout_width="match_parent" |
John Reck | 765ae39 | 2011-03-17 16:13:56 -0700 | [diff] [blame] | 58 | android:layout_height="wrap_content" |
Kulanthaivel Palanichamy | a94b4d3 | 2015-01-29 19:32:14 -0800 | [diff] [blame] | 59 | style="?android:attr/buttonBarStyle" |
| 60 | android:background="@color/primary" |
Pankaj Garg | 2ab1167 | 2014-12-12 10:51:20 -0800 | [diff] [blame] | 61 | android:layout_weight="10"> |
John Reck | 765ae39 | 2011-03-17 16:13:56 -0700 | [diff] [blame] | 62 | |
Pankaj Garg | 2ab1167 | 2014-12-12 10:51:20 -0800 | [diff] [blame] | 63 | <Button |
| 64 | android:id="@+id/clear_history_button" |
| 65 | android:layout_width="match_parent" |
| 66 | android:layout_height="wrap_content" |
Kulanthaivel Palanichamy | a94b4d3 | 2015-01-29 19:32:14 -0800 | [diff] [blame] | 67 | style="?android:attr/buttonBarButtonStyle" |
Pankaj Garg | 2ab1167 | 2014-12-12 10:51:20 -0800 | [diff] [blame] | 68 | android:text="@string/clear_history" /> |
| 69 | </LinearLayout> |
| 70 | </LinearLayout> |