Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2012 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 | |
| 17 | <!-- In-call Phone UI; see InCallScreen.java. --> |
| 18 | <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:id="@+id/landscape_incall_screen" |
| 20 | android:layout_width="match_parent" |
| 21 | android:layout_height="match_parent"> |
| 22 | <!-- The "Call Card", which displays info about the currently |
| 23 | active phone call(s) on the device. See call_card.xml. --> |
| 24 | <LinearLayout |
| 25 | android:layout_width="match_parent" |
| 26 | android:layout_height="match_parent" |
| 27 | android:background="@drawable/background_dial_holo_dark"> |
| 28 | <include |
| 29 | layout="@layout/call_card" |
| 30 | android:id="@+id/callCard" |
| 31 | android:layout_width="0dp" |
| 32 | android:layout_weight="3" |
| 33 | android:layout_height="match_parent" /> |
| 34 | <!-- Note: This center margin is repeated in layout-land/incall_touch_ui |
| 35 | Both layouts need to have this margin to be aligned correctly. --> |
| 36 | <View |
| 37 | android:layout_width="@dimen/dialpad_center_margin" |
| 38 | android:layout_weight="0" |
| 39 | android:layout_height="match_parent" /> |
| 40 | <View |
| 41 | android:layout_width="0dp" |
| 42 | android:layout_weight="2" |
| 43 | android:layout_height="match_parent" /> |
| 44 | </LinearLayout> |
| 45 | |
| 46 | <!-- In-call onscreen touch controls; see InCallTouchUi.java. |
| 47 | This widget contains the cluster of buttons shown at the right |
| 48 | of the in-call screen, and also the DTMF dialpad (which, when |
| 49 | visible, covers the contact picture/call_card on the left half of the screen) --> |
| 50 | |
| 51 | <ViewStub |
| 52 | android:id="@+id/inCallTouchUiStub" |
| 53 | android:layout="@layout/incall_touch_ui" |
| 54 | android:layout_width="match_parent" |
| 55 | android:layout_height="match_parent" /> |
| 56 | <ViewStub |
| 57 | android:id="@+id/inCallTouchUiCdmaStub" |
| 58 | android:layout="@layout/incall_touch_ui_cdma" |
| 59 | android:layout_width="match_parent" |
| 60 | android:layout_height="match_parent" /> |
| 61 | |
| 62 | <!-- ViewStub for OTASP-related UI elements (for the CDMA "activation" |
| 63 | call.) Note that this ViewStub provides the *entire* OTASP |
| 64 | screen, including the status area at the top *and* touch controls |
| 65 | at the bottom of the screen. The regular CallCard and the |
| 66 | InCallTouchUi widget are not used at all during an OTASP call. --> |
| 67 | <ViewStub android:id="@+id/otaCallCardStub" |
| 68 | android:layout="@layout/otacall_card" |
| 69 | android:layout_width="match_parent" |
| 70 | android:layout_height="match_parent" /> |
| 71 | |
| 72 | <!-- The "Manage conference" UI. This panel is displayed (and covers up |
| 73 | the entire normal in-call UI) when the user clicks "Manage conference" |
| 74 | during a GSM conference call. --> |
| 75 | <ViewStub android:id="@+id/manageConferencePanelStub" |
| 76 | android:layout="@layout/manage_conference_panel" |
| 77 | android:layout_width="match_parent" |
| 78 | android:layout_height="match_parent" /> |
| 79 | |
| 80 | </FrameLayout> |