Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2007 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:layout_width="match_parent"
     20     android:layout_height="match_parent">
     21     <!-- The "Call Card", which displays info about the currently
     22          active phone call(s) on the device.  See call_card.xml.
     23 
     24          Note that the CallCard is technically the size of the full screen
     25          (since layout_width and layout_height are both "match_parent" here) but
     26          we manually adjust its bottom margin in CallCard.updateCallInfoLayout()
     27          to make sure it doesn't overlap with the onscreen buttons from
     28          incall_touch_ui.xml. -->
     29     <include
     30         layout="@layout/call_card"
     31         android:id="@+id/callCard"
     32         android:layout_width="match_parent"
     33         android:layout_height="match_parent"
     34         />
     35 
     36     <!-- In-call onscreen touch controls; see InCallTouchUi.java.
     37          This widget contains the cluster of buttons shown at the bottom
     38          of the in-call screen, and also the DTMF dialpad (which, when
     39          visible, covers the upper part of the screen too.) -->
     40     <include layout="@layout/incall_touch_ui"
     41         android:layout_width="match_parent"
     42         android:layout_height="match_parent"
     43         />
     44 
     45     <!-- ViewStub for OTASP-related UI elements (for the CDMA "activation"
     46          call.)  Note that this ViewStub provides the *entire* OTASP
     47          screen, including the status area at the top *and* touch controls
     48          at the bottom of the screen.  The regular CallCard and the
     49          InCallTouchUi widget are not used at all during an OTASP call. -->
     50     <ViewStub android:id="@+id/otaCallCardStub"
     51               android:layout="@layout/otacall_card"
     52               android:layout_width="match_parent"
     53               android:layout_height="match_parent"
     54               />
     55 
     56     <!-- The "Manage conference" UI.  This panel is displayed (and covers up
     57          the entire normal in-call UI) when the user clicks "Manage conference"
     58          during a GSM conference call. -->
     59     <ViewStub android:id="@+id/manageConferencePanelStub"
     60               android:layout="@layout/manage_conference_panel"
     61               android:layout_width="match_parent"
     62               android:layout_height="match_parent"
     63               />
     64 
     65 </FrameLayout>
     66