blob: 6e1f4fd6ac5298c55164beaf0a9a516244c19120 [file] [log] [blame]
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -08001<?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
Flavio Lerda9cafe472011-06-08 14:06:13 +01007
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -08008 http://www.apache.org/licenses/LICENSE-2.0
Flavio Lerda9cafe472011-06-08 14:06:13 +01009
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080010 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
Flavio Lerda9cafe472011-06-08 14:06:13 +010017<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
Romain Guy6304c0b2010-01-08 15:06:49 -080018 android:layout_width="match_parent"
19 android:layout_height="match_parent"
Flavio Lerda9cafe472011-06-08 14:06:13 +010020 android:orientation="horizontal"
21 android:gravity="top"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080022>
Debashish Chatterjee2f497692011-07-19 17:23:15 +010023 <FrameLayout
24 android:id="@+id/voicemail_status"
Debashish Chatterjee2f497692011-07-19 17:23:15 +010025 android:layout_width="match_parent"
26 android:layout_height="wrap_content"
27 android:layout_alignParentLeft="true"
Flavio Lerdad44e83a2011-07-24 23:10:17 +010028 android:layout_alignParentTop="true"
Debashish Chatterjee2f497692011-07-19 17:23:15 +010029 android:visibility="gone"
30 >
31 <include layout="@layout/call_log_voicemail_status"/>
32 </FrameLayout>
33
Flavio Lerda9cafe472011-06-08 14:06:13 +010034 <ImageView
35 android:id="@+id/contact_background"
Romain Guy6304c0b2010-01-08 15:06:49 -080036 android:layout_width="match_parent"
Flavio Lerda40569562011-07-22 21:51:29 +010037 android:layout_height="@dimen/call_detail_contact_background_height"
Flavio Lerda9cafe472011-06-08 14:06:13 +010038 android:layout_alignParentLeft="true"
Debashish Chatterjee2f497692011-07-19 17:23:15 +010039 android:layout_below="@id/voicemail_status"
Flavio Lerda9cafe472011-06-08 14:06:13 +010040 android:adjustViewBounds="true"
Flavio Lerdac5dbd562011-06-10 10:10:02 +010041 android:scaleType="centerCrop"
Flavio Lerda9cafe472011-06-08 14:06:13 +010042 android:background="@drawable/ic_contact_picture"
43 />
Flavio Lerdafb63c432011-07-07 17:16:53 +010044 <LinearLayout
Hugo Hudsonb002f512011-07-15 17:41:12 +010045 android:id="@+id/voicemail_container"
46 android:layout_width="match_parent"
47 android:layout_height="wrap_content"
48 android:layout_below="@id/contact_background"
49 >
Hugo Hudsona9ad6942011-07-29 17:06:04 +010050 <!-- The voicemail fragment will be put here. -->
Hugo Hudsonb002f512011-07-15 17:41:12 +010051 </LinearLayout>
52 <LinearLayout
Flavio Lerdafb63c432011-07-07 17:16:53 +010053 android:layout_width="match_parent"
Flavio Lerda40569562011-07-22 21:51:29 +010054 android:layout_height="@dimen/call_detail_contact_background_overlay_height"
Flavio Lerdafb63c432011-07-07 17:16:53 +010055 android:background="#3F000000"
56 android:layout_alignParentLeft="true"
Flavio Lerda5592b752011-07-12 18:47:36 +010057 android:layout_alignBottom="@id/contact_background"
Flavio Lerdafb63c432011-07-07 17:16:53 +010058 />
Flavio Lerda9cafe472011-06-08 14:06:13 +010059 <RelativeLayout
Flavio Lerda5592b752011-07-12 18:47:36 +010060 android:id="@+id/contact_text"
Flavio Lerda9cafe472011-06-08 14:06:13 +010061 android:layout_width="match_parent"
Flavio Lerda40569562011-07-22 21:51:29 +010062 android:layout_height="@dimen/call_detail_contact_background_overlay_height"
Flavio Lerda9cafe472011-06-08 14:06:13 +010063 android:layout_alignParentLeft="true"
Flavio Lerda5592b752011-07-12 18:47:36 +010064 android:layout_alignBottom="@id/contact_background"
Flavio Lerda40569562011-07-22 21:51:29 +010065 android:paddingLeft="@dimen/call_detail_contact_name_margin"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080066 >
Flavio Lerdafb63c432011-07-07 17:16:53 +010067 <ImageView
68 android:id="@+id/main_action"
Flavio Lerda40569562011-07-22 21:51:29 +010069 android:layout_width="@dimen/call_log_call_action_size"
Flavio Lerdafb63c432011-07-07 17:16:53 +010070 android:layout_height="match_parent"
71 android:gravity="center_vertical"
72 android:scaleType="center"
Flavio Lerda9cafe472011-06-08 14:06:13 +010073 android:layout_alignParentRight="true"
74 android:layout_alignParentBottom="true"
Flavio Lerda40569562011-07-22 21:51:29 +010075 android:layout_marginRight="@dimen/call_log_outer_margin"
76 android:layout_marginLeft="@dimen/call_log_inner_margin"
Flavio Lerdafb63c432011-07-07 17:16:53 +010077 />
Flavio Lerda5a174ef2011-07-16 12:18:37 +010078 <RelativeLayout
79 android:layout_width="wrap_content"
80 android:layout_height="match_parent"
81 android:layout_alignParentLeft="true"
82 android:layout_toLeftOf="@id/main_action"
83 android:layout_alignParentBottom="true"
84 >
85 <include layout="@layout/call_log_phone_call_details" />
86 </RelativeLayout>
Flavio Lerda9cafe472011-06-08 14:06:13 +010087 </RelativeLayout>
Flavio Lerda5592b752011-07-12 18:47:36 +010088 <ListView
89 android:id="@android:id/list"
90 android:layout_width="match_parent"
91 android:layout_height="wrap_content"
Hugo Hudsonb002f512011-07-15 17:41:12 +010092 android:layout_below="@id/voicemail_container"
Flavio Lerda5592b752011-07-12 18:47:36 +010093 android:background="?attr/call_log_primary_background_color"
94 />
Flavio Lerda9a208cc2011-07-12 21:05:47 +010095 <ListView
Flavio Lerda5592b752011-07-12 18:47:36 +010096 android:id="@+id/history"
Romain Guy6304c0b2010-01-08 15:06:49 -080097 android:layout_width="match_parent"
Flavio Lerda9cafe472011-06-08 14:06:13 +010098 android:layout_height="wrap_content"
99 android:layout_alignParentLeft="true"
Flavio Lerdafb63c432011-07-07 17:16:53 +0100100 android:layout_below="@android:id/list"
Flavio Lerda371d5f92011-07-09 19:45:32 +0100101 android:background="?attr/call_log_secondary_background_color"
Flavio Lerda9a208cc2011-07-12 21:05:47 +0100102 />
Flavio Lerda9cafe472011-06-08 14:06:13 +0100103</RelativeLayout>