• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 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<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    android:orientation="vertical"
19    android:layout_width="fill_parent"
20    android:layout_height="wrap_content"
21    android:gravity="center_vertical">
22
23    <!-- List element -->
24    <LinearLayout
25        android:orientation="horizontal"
26        android:layout_width="fill_parent"
27        android:layout_height="wrap_content"
28        android:gravity="center_vertical">
29
30        <!-- "End" button for this caller -->
31        <ImageButton
32            android:id="@+id/conferenceCallerDisconnect"
33            style="?android:attr/buttonStyleSmall"
34            android:src="@drawable/ic_button_conference_end"
35            android:layout_width="46dp"
36            android:layout_height="46dp"
37            android:layout_marginTop="2dp"
38            android:layout_marginLeft="6dp"
39            android:scaleType="center"/>
40
41        <!-- Caller information -->
42        <LinearLayout
43            android:orientation="vertical"
44            android:layout_width="1dp"
45            android:layout_weight="1"
46            android:layout_height="wrap_content"
47            android:gravity="center_vertical"
48            android:layout_marginLeft="4dp">
49
50            <!-- Name or number of this caller -->
51            <TextView
52                android:id="@+id/conferenceCallerName"
53                android:textAppearance="?android:attr/textAppearanceLarge"
54                android:textSize="22sp"
55                android:singleLine="true"
56                android:layout_width="wrap_content"
57                android:layout_height="fill_parent"
58                android:layout_marginRight="2dp"
59                />
60
61            <!-- Number of this caller if name is supplied above -->
62            <LinearLayout
63                android:orientation="horizontal"
64                android:layout_width="wrap_content"
65                android:layout_height="fill_parent"
66                android:gravity="center_vertical">
67
68                <!-- Number type -->
69                <TextView
70                    android:id="@+id/conferenceCallerNumberType"
71                    android:textAppearance="?android:attr/textAppearanceSmall"
72                    android:textStyle="bold"
73                    android:singleLine="true"
74                    android:layout_width="wrap_content"
75                    android:layout_height="fill_parent"
76                    android:layout_marginRight="4dp"
77                    android:layout_marginBottom="2dp"/>
78
79                <!-- Number -->
80                <TextView
81                    android:id="@+id/conferenceCallerNumber"
82                    android:textAppearance="?android:attr/textAppearanceSmall"
83                    android:singleLine="true"
84                    android:layout_width="wrap_content"
85                    android:layout_height="fill_parent"/>
86
87            </LinearLayout>  <!-- End of caller number -->
88
89        </LinearLayout>  <!-- End of caller information -->
90
91        <!-- "Separate" (i.e. "go private") button for this caller -->
92        <ImageButton
93            android:id="@+id/conferenceCallerSeparate"
94            style="?android:attr/buttonStyleSmall"
95            android:src="@drawable/ic_button_conference_private"
96            android:layout_width="46dp"
97            android:layout_height="46dp"
98            android:layout_marginTop="2dp"
99            android:layout_marginRight="6dp"
100            android:scaleType="center"/>
101
102    </LinearLayout>  <!-- End of single list element -->
103
104    <!-- List Divider -->
105    <ImageView
106        android:layout_width="fill_parent"
107        android:layout_height="wrap_content"
108        android:src="@android:drawable/divider_horizontal_dark"
109        android:scaleType="fitXY"
110        android:layout_marginTop="8dp"
111        android:layout_marginBottom="8dp"/>
112
113</LinearLayout>
114