Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2009 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 <!-- The "Manage conference" UI.  This panel is displayed (instead of
     18      the inCallPanel) when the user clicks the "Manage conference"
     19      button while on a conference call. -->
     20 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
     21     android:id="@+id/manageConferencePanel"
     22     android:background="@color/conference_call_manager_background_color"
     23     android:layout_width="match_parent"
     24     android:layout_height="match_parent"
     25     android:paddingTop="@dimen/conference_call_manager_padding_top"
     26     android:visibility="gone">
     27 
     28     <!-- The scrollview wrapper for the list of callers on
     29          the conference call (in case the list gets too long). -->
     30     <ScrollView
     31         android:id="@+id/conferenceList"
     32         android:layout_width="match_parent"
     33         android:layout_height="wrap_content">
     34 
     35         <!-- The actual list of callers; this embedded LinearLayout
     36              required since scrollview only supports a single child. -->
     37         <LinearLayout
     38             android:orientation="vertical"
     39             android:layout_width="match_parent"
     40             android:layout_height="wrap_content">
     41 
     42             <!-- A conference can have at most MAX_CALLERS_IN_CONFERENCE (= 5) callers,
     43                  so just define all those UI elements here. -->
     44 
     45             <!-- Caller 0 -->
     46             <include
     47                 layout="@layout/caller_in_conference"
     48                 android:id="@+id/caller0"/>
     49 
     50             <!-- Caller 1 -->
     51             <include
     52                 layout="@layout/caller_in_conference"
     53                 android:id="@+id/caller1"/>
     54 
     55             <!-- Caller 2 -->
     56             <include
     57                 layout="@layout/caller_in_conference"
     58                 android:id="@+id/caller2"/>
     59 
     60             <!-- Caller 3 -->
     61             <include
     62                 layout="@layout/caller_in_conference"
     63                 android:id="@+id/caller3"/>
     64 
     65             <!-- Caller 4 -->
     66             <include
     67                 layout="@layout/caller_in_conference"
     68                 android:id="@+id/caller4"/>
     69 
     70         </LinearLayout>  <!-- End of "list of callers on conference call" -->
     71 
     72     </ScrollView>  <!-- End of scrolling list wrapper for the linear layout -->
     73 
     74 </FrameLayout>
     75