Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -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 | --> |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 16 | <view class="com.android.dialer.dialpad.DialpadFragment$DialpadSlidingLinearLayout" |
| 17 | xmlns:android="http://schemas.android.com/apk/res/android" |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 18 | android:layout_width="match_parent" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame^] | 19 | android:layout_height="wrap_content" |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 20 | android:orientation="vertical" > |
| 21 | <!-- spacer view --> |
Chiao Cheng | a4ef509 | 2013-11-12 13:41:27 -0800 | [diff] [blame] | 22 | <View |
| 23 | android:id="@+id/spacer" |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 24 | android:layout_width="match_parent" |
| 25 | android:layout_height="0dp" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame^] | 26 | android:layout_weight="1" |
| 27 | android:background="#00000000" /> |
| 28 | |
Yorke Lee | c45baec | 2013-09-05 18:25:48 -0700 | [diff] [blame] | 29 | <view class="com.android.dialer.dialpad.DialpadFragment$HoverIgnoringLinearLayout" |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 30 | android:id="@+id/top" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame^] | 31 | android:animateLayoutChanges="true" |
| 32 | android:layout_height="wrap_content" |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 33 | android:layout_width="match_parent" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame^] | 34 | android:layout_gravity="bottom" |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 35 | android:orientation="vertical" |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 36 | android:layoutDirection="ltr" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame^] | 37 | android:background="@color/background_dialpad"> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 38 | |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame^] | 39 | <Space |
Yorke Lee | 3a18654 | 2013-05-07 11:59:36 -0700 | [diff] [blame] | 40 | android:layout_width="match_parent" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame^] | 41 | android:layout_height="2dp" |
| 42 | android:background="@color/dialpad_separator_line_color" /> |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 43 | |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame^] | 44 | <Space |
| 45 | android:layout_width="match_parent" |
| 46 | android:layout_height="10dp" /> |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 47 | |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame^] | 48 | <include layout="@layout/dialpad_digits"/> |
Yorke Lee | 1be0178 | 2012-11-07 15:11:44 -0800 | [diff] [blame] | 49 | |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame^] | 50 | <Space |
| 51 | android:layout_width="match_parent" |
| 52 | android:layout_height="8dp" /> |
| 53 | |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 54 | <include layout="@layout/dialpad" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 55 | |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame^] | 56 | <Space |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 57 | android:layout_width="match_parent" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame^] | 58 | android:layout_height="8dp" /> |
| 59 | |
| 60 | <Space |
| 61 | android:layout_width="match_parent" |
| 62 | android:layout_height="2dp" |
| 63 | android:background="@color/dialpad_separator_line_color" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 64 | |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 65 | <!-- "Dialpad chooser" UI, shown only when the user brings up the |
| 66 | Dialer while a call is already in progress. |
| 67 | When this UI is visible, the other Dialer elements |
| 68 | (the textfield/button and the dialpad) are hidden. --> |
| 69 | <ListView android:id="@+id/dialpadChooser" |
| 70 | android:layout_width="match_parent" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame^] | 71 | android:layout_height="wrap_content" |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 72 | android:layout_weight="1" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame^] | 73 | android:visibility="gone" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 74 | |
Yorke Lee | c45baec | 2013-09-05 18:25:48 -0700 | [diff] [blame] | 75 | </view> |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 76 | </view> |