The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 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 |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 7 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 9 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 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 | |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 17 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Daniel Lehmann | 2e95ad0 | 2011-07-28 18:30:01 -0700 | [diff] [blame] | 18 | xmlns:ex="http://schemas.android.com/apk/res/com.android.contacts" |
Romain Guy | 6304c0b | 2010-01-08 15:06:49 -0800 | [diff] [blame] | 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="match_parent" |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 21 | android:orientation="horizontal" |
| 22 | android:gravity="top" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 23 | > |
Debashish Chatterjee | 2f49769 | 2011-07-19 17:23:15 +0100 | [diff] [blame] | 24 | <FrameLayout |
| 25 | android:id="@+id/voicemail_status" |
Debashish Chatterjee | 2f49769 | 2011-07-19 17:23:15 +0100 | [diff] [blame] | 26 | android:layout_width="match_parent" |
| 27 | android:layout_height="wrap_content" |
| 28 | android:layout_alignParentLeft="true" |
Flavio Lerda | d44e83a | 2011-07-24 23:10:17 +0100 | [diff] [blame] | 29 | android:layout_alignParentTop="true" |
Debashish Chatterjee | 2f49769 | 2011-07-19 17:23:15 +0100 | [diff] [blame] | 30 | android:visibility="gone" |
| 31 | > |
| 32 | <include layout="@layout/call_log_voicemail_status"/> |
| 33 | </FrameLayout> |
| 34 | |
Daniel Lehmann | 2e95ad0 | 2011-07-28 18:30:01 -0700 | [diff] [blame] | 35 | <view |
| 36 | class="com.android.contacts.widget.ProportionalLayout" |
| 37 | android:id="@+id/contact_background_sizer" |
Romain Guy | 6304c0b | 2010-01-08 15:06:49 -0800 | [diff] [blame] | 38 | android:layout_width="match_parent" |
Daniel Lehmann | 2e95ad0 | 2011-07-28 18:30:01 -0700 | [diff] [blame] | 39 | android:layout_height="wrap_content" |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 40 | android:layout_alignParentLeft="true" |
Debashish Chatterjee | 2f49769 | 2011-07-19 17:23:15 +0100 | [diff] [blame] | 41 | android:layout_below="@id/voicemail_status" |
Daniel Lehmann | 2e95ad0 | 2011-07-28 18:30:01 -0700 | [diff] [blame] | 42 | ex:ratio="0.5" |
| 43 | ex:direction="widthToHeight" |
| 44 | > |
| 45 | <ImageView |
| 46 | android:id="@+id/contact_background" |
| 47 | android:layout_width="match_parent" |
| 48 | android:layout_height="0dip" |
| 49 | android:adjustViewBounds="true" |
| 50 | android:scaleType="centerCrop" |
| 51 | android:background="@drawable/ic_contact_picture" |
| 52 | /> |
| 53 | </view> |
Flavio Lerda | fb63c43 | 2011-07-07 17:16:53 +0100 | [diff] [blame] | 54 | <LinearLayout |
Hugo Hudson | b002f51 | 2011-07-15 17:41:12 +0100 | [diff] [blame] | 55 | android:id="@+id/voicemail_container" |
| 56 | android:layout_width="match_parent" |
| 57 | android:layout_height="wrap_content" |
Daniel Lehmann | 2e95ad0 | 2011-07-28 18:30:01 -0700 | [diff] [blame] | 58 | android:layout_below="@id/contact_background_sizer" |
Hugo Hudson | b002f51 | 2011-07-15 17:41:12 +0100 | [diff] [blame] | 59 | > |
| 60 | <fragment |
| 61 | class="com.android.contacts.voicemail.VoicemailPlaybackFragment" |
| 62 | android:id="@+id/voicemail_playback_fragment" |
| 63 | android:layout_width="match_parent" |
| 64 | android:layout_height="wrap_content" |
| 65 | /> |
| 66 | </LinearLayout> |
| 67 | <LinearLayout |
Flavio Lerda | fb63c43 | 2011-07-07 17:16:53 +0100 | [diff] [blame] | 68 | android:layout_width="match_parent" |
Flavio Lerda | 4056956 | 2011-07-22 21:51:29 +0100 | [diff] [blame] | 69 | android:layout_height="@dimen/call_detail_contact_background_overlay_height" |
Daniel Lehmann | dbd80ee | 2011-08-01 16:25:52 -0700 | [diff] [blame^] | 70 | android:background="#7F000000" |
Flavio Lerda | fb63c43 | 2011-07-07 17:16:53 +0100 | [diff] [blame] | 71 | android:layout_alignParentLeft="true" |
Daniel Lehmann | 2e95ad0 | 2011-07-28 18:30:01 -0700 | [diff] [blame] | 72 | android:layout_alignBottom="@id/contact_background_sizer" |
Flavio Lerda | fb63c43 | 2011-07-07 17:16:53 +0100 | [diff] [blame] | 73 | /> |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 74 | <RelativeLayout |
Flavio Lerda | 5592b75 | 2011-07-12 18:47:36 +0100 | [diff] [blame] | 75 | android:id="@+id/contact_text" |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 76 | android:layout_width="match_parent" |
Flavio Lerda | 4056956 | 2011-07-22 21:51:29 +0100 | [diff] [blame] | 77 | android:layout_height="@dimen/call_detail_contact_background_overlay_height" |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 78 | android:layout_alignParentLeft="true" |
Daniel Lehmann | 2e95ad0 | 2011-07-28 18:30:01 -0700 | [diff] [blame] | 79 | android:layout_alignBottom="@id/contact_background_sizer" |
Flavio Lerda | 4056956 | 2011-07-22 21:51:29 +0100 | [diff] [blame] | 80 | android:paddingLeft="@dimen/call_detail_contact_name_margin" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 81 | > |
Flavio Lerda | fb63c43 | 2011-07-07 17:16:53 +0100 | [diff] [blame] | 82 | <ImageView |
| 83 | android:id="@+id/main_action" |
Flavio Lerda | 4056956 | 2011-07-22 21:51:29 +0100 | [diff] [blame] | 84 | android:layout_width="@dimen/call_log_call_action_size" |
Flavio Lerda | fb63c43 | 2011-07-07 17:16:53 +0100 | [diff] [blame] | 85 | android:layout_height="match_parent" |
| 86 | android:gravity="center_vertical" |
| 87 | android:scaleType="center" |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 88 | android:layout_alignParentRight="true" |
| 89 | android:layout_alignParentBottom="true" |
Flavio Lerda | 4056956 | 2011-07-22 21:51:29 +0100 | [diff] [blame] | 90 | android:layout_marginRight="@dimen/call_log_outer_margin" |
| 91 | android:layout_marginLeft="@dimen/call_log_inner_margin" |
Flavio Lerda | fb63c43 | 2011-07-07 17:16:53 +0100 | [diff] [blame] | 92 | /> |
Flavio Lerda | 5a174ef | 2011-07-16 12:18:37 +0100 | [diff] [blame] | 93 | <RelativeLayout |
| 94 | android:layout_width="wrap_content" |
| 95 | android:layout_height="match_parent" |
| 96 | android:layout_alignParentLeft="true" |
| 97 | android:layout_toLeftOf="@id/main_action" |
| 98 | android:layout_alignParentBottom="true" |
| 99 | > |
| 100 | <include layout="@layout/call_log_phone_call_details" /> |
| 101 | </RelativeLayout> |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 102 | </RelativeLayout> |
Flavio Lerda | 5592b75 | 2011-07-12 18:47:36 +0100 | [diff] [blame] | 103 | <ListView |
| 104 | android:id="@android:id/list" |
| 105 | android:layout_width="match_parent" |
| 106 | android:layout_height="wrap_content" |
Hugo Hudson | b002f51 | 2011-07-15 17:41:12 +0100 | [diff] [blame] | 107 | android:layout_below="@id/voicemail_container" |
Flavio Lerda | 5592b75 | 2011-07-12 18:47:36 +0100 | [diff] [blame] | 108 | android:background="?attr/call_log_primary_background_color" |
| 109 | /> |
Flavio Lerda | 9a208cc | 2011-07-12 21:05:47 +0100 | [diff] [blame] | 110 | <ListView |
Flavio Lerda | 5592b75 | 2011-07-12 18:47:36 +0100 | [diff] [blame] | 111 | android:id="@+id/history" |
Romain Guy | 6304c0b | 2010-01-08 15:06:49 -0800 | [diff] [blame] | 112 | android:layout_width="match_parent" |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 113 | android:layout_height="wrap_content" |
| 114 | android:layout_alignParentLeft="true" |
Flavio Lerda | fb63c43 | 2011-07-07 17:16:53 +0100 | [diff] [blame] | 115 | android:layout_below="@android:id/list" |
Flavio Lerda | 371d5f9 | 2011-07-09 19:45:32 +0100 | [diff] [blame] | 116 | android:background="?attr/call_log_secondary_background_color" |
Flavio Lerda | 9a208cc | 2011-07-12 21:05:47 +0100 | [diff] [blame] | 117 | /> |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 118 | </RelativeLayout> |