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 InCallActivity.java. -->
     18 <FrameLayout
     19     xmlns:android="http://schemas.android.com/apk/res/android"
     20     android:layout_width="match_parent"
     21     android:layout_height="match_parent"
     22     android:id="@+id/main">
     23 
     24     <LinearLayout
     25         android:id="@+id/in_call_and_button_container"
     26         android:layout_width="match_parent"
     27         android:layout_height="match_parent"
     28         android:orientation="vertical">
     29 
     30         <RelativeLayout
     31              android:id="@+id/in_call_card_container"
     32              android:layout_width="match_parent"
     33              android:layout_height="0dp"
     34              android:layout_weight="1">
     35 
     36             <fragment
     37                 android:name="com.android.incallui.CallCardFragment"
     38                 android:id="@+id/callCardFragment"
     39                 android:layout_width="match_parent"
     40                 android:layout_height="match_parent"
     41                 android:layout_alignParentTop="true"
     42                 android:layout_alignParentStart="true" />
     43             <fragment
     44                 android:name="com.android.incallui.DialpadFragment"
     45                 android:id="@+id/dialpadFragment"
     46                 android:layout_width="match_parent"
     47                 android:layout_height="match_parent"
     48                 android:layout_alignParentTop="true"
     49                 android:layout_alignParentStart="true" />
     50         </RelativeLayout>
     51 
     52         <fragment android:name="com.android.incallui.CallButtonFragment"
     53                   android:id="@+id/callButtonFragment"
     54                   android:layout_width="match_parent"
     55                   android:layout_height="wrap_content"/>
     56 
     57     </LinearLayout>
     58 
     59     <fragment android:name="com.android.incallui.AnswerFragment"
     60               android:id="@+id/answerFragment"
     61               android:layout_width="match_parent"
     62               android:layout_height="wrap_content"
     63               android:layout_alignParentBottom="true"
     64               android:layout_centerHorizontal="true"
     65               android:gravity="top"
     66               android:layout_gravity="bottom|center_horizontal"
     67               android:layout_marginBottom="@dimen/glowpadview_margin_bottom"
     68               android:visibility="gone" />
     69 
     70     <fragment android:name="com.android.incallui.ConferenceManagerFragment"
     71               android:id="@+id/conferenceManagerFragment"
     72               android:layout_width="match_parent"
     73               android:layout_height="match_parent"
     74               android:layout_alignParentTop="true"
     75               android:layout_alignParentStart="true"
     76               android:layout_alignParentBottom="true"
     77               android:layout_alignParentEnd="true" />
     78 
     79 </FrameLayout>
     80