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" |
Romain Guy | 6304c0b | 2010-01-08 15:06:49 -0800 | [diff] [blame] | 18 | android:layout_width="match_parent" |
| 19 | android:layout_height="match_parent" |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 20 | android:orientation="horizontal" |
| 21 | android:gravity="top" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 22 | > |
Flavio Lerda | fb63c43 | 2011-07-07 17:16:53 +0100 | [diff] [blame] | 23 | <LinearLayout |
| 24 | android:id="@+id/action_bar" |
| 25 | android:layout_width="match_parent" |
| 26 | android:layout_height="?attr/call_detail_action_bar_height" |
| 27 | android:layout_alignParentLeft="true" |
| 28 | android:layout_alignParentTop="true" |
| 29 | android:orientation="horizontal" |
| 30 | android:background="@drawable/call_log_action_bar_bg" |
| 31 | > |
| 32 | <ImageView |
| 33 | android:id="@+id/action_bar_home" |
| 34 | android:layout_width="wrap_content" |
| 35 | android:layout_height="match_parent" |
| 36 | android:src="@drawable/ic_call_log_home" |
| 37 | /> |
| 38 | </LinearLayout> |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 39 | <ImageView |
| 40 | android:id="@+id/contact_background" |
Romain Guy | 6304c0b | 2010-01-08 15:06:49 -0800 | [diff] [blame] | 41 | android:layout_width="match_parent" |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 42 | android:layout_height="?attr/call_detail_contact_background_height" |
| 43 | android:layout_alignParentLeft="true" |
Flavio Lerda | fb63c43 | 2011-07-07 17:16:53 +0100 | [diff] [blame] | 44 | android:layout_below="@id/action_bar" |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 45 | android:adjustViewBounds="true" |
Flavio Lerda | c5dbd56 | 2011-06-10 10:10:02 +0100 | [diff] [blame] | 46 | android:scaleType="centerCrop" |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 47 | |
| 48 | android:background="@drawable/ic_contact_picture" |
| 49 | /> |
Flavio Lerda | fb63c43 | 2011-07-07 17:16:53 +0100 | [diff] [blame] | 50 | <ListView |
| 51 | android:id="@android:id/list" |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 52 | android:layout_width="match_parent" |
Flavio Lerda | fb63c43 | 2011-07-07 17:16:53 +0100 | [diff] [blame] | 53 | android:layout_height="wrap_content" |
| 54 | android:layout_below="@id/contact_background" |
Flavio Lerda | 371d5f9 | 2011-07-09 19:45:32 +0100 | [diff] [blame] | 55 | android:background="?attr/call_log_primary_background_color" |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 56 | /> |
Flavio Lerda | fb63c43 | 2011-07-07 17:16:53 +0100 | [diff] [blame] | 57 | <LinearLayout |
| 58 | android:layout_width="match_parent" |
| 59 | android:layout_height="?attr/call_detail_contact_background_overlay_height" |
| 60 | android:background="#3F000000" |
| 61 | android:layout_alignParentLeft="true" |
| 62 | android:layout_above="@android:id/list" |
| 63 | /> |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 64 | <RelativeLayout |
| 65 | android:id="@+id/photo_panel" |
| 66 | android:layout_width="match_parent" |
Flavio Lerda | fb63c43 | 2011-07-07 17:16:53 +0100 | [diff] [blame] | 67 | android:layout_height="?attr/call_detail_contact_background_overlay_height" |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 68 | android:layout_alignParentLeft="true" |
Flavio Lerda | fb63c43 | 2011-07-07 17:16:53 +0100 | [diff] [blame] | 69 | android:layout_above="@android:id/list" |
| 70 | android:paddingLeft="5dip" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 71 | > |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 72 | <RelativeLayout |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 73 | android:layout_width="wrap_content" |
Flavio Lerda | fb63c43 | 2011-07-07 17:16:53 +0100 | [diff] [blame] | 74 | android:layout_height="match_parent" |
| 75 | android:layout_alignParentLeft="true" |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 76 | android:layout_alignParentBottom="true" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 77 | > |
Flavio Lerda | 7ea6ba0 | 2011-06-09 10:15:49 +0100 | [diff] [blame] | 78 | <include layout="@layout/call_log_phone_call_details" /> |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 79 | </RelativeLayout> |
Flavio Lerda | fb63c43 | 2011-07-07 17:16:53 +0100 | [diff] [blame] | 80 | <ImageView |
| 81 | android:id="@+id/main_action" |
| 82 | android:layout_width="?attr/call_detail_action_icon_size" |
| 83 | android:layout_height="match_parent" |
| 84 | android:gravity="center_vertical" |
| 85 | android:scaleType="center" |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 86 | android:layout_alignParentRight="true" |
| 87 | android:layout_alignParentBottom="true" |
Flavio Lerda | fb63c43 | 2011-07-07 17:16:53 +0100 | [diff] [blame] | 88 | /> |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 89 | </RelativeLayout> |
| 90 | <RelativeLayout |
| 91 | android:id="@+id/call_panel" |
Romain Guy | 6304c0b | 2010-01-08 15:06:49 -0800 | [diff] [blame] | 92 | android:layout_width="match_parent" |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 93 | android:layout_height="wrap_content" |
| 94 | android:layout_alignParentLeft="true" |
Flavio Lerda | fb63c43 | 2011-07-07 17:16:53 +0100 | [diff] [blame] | 95 | android:layout_below="@android:id/list" |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 96 | android:paddingBottom="10dp" |
| 97 | android:paddingTop="10dp" |
| 98 | android:paddingLeft="80dp" |
Flavio Lerda | 371d5f9 | 2011-07-09 19:45:32 +0100 | [diff] [blame] | 99 | android:background="?attr/call_log_secondary_background_color" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 100 | > |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 101 | <TextView |
| 102 | android:id="@+id/time" |
| 103 | android:layout_width="wrap_content" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 104 | android:layout_height="wrap_content" |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 105 | android:layout_alignParentLeft="true" |
Flavio Lerda | 371d5f9 | 2011-07-09 19:45:32 +0100 | [diff] [blame] | 106 | android:textColor="?attr/call_log_secondary_text_color" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 107 | /> |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 108 | <TextView |
| 109 | android:id="@+id/duration" |
| 110 | android:layout_width="wrap_content" |
| 111 | android:layout_height="wrap_content" |
| 112 | android:layout_alignParentLeft="true" |
| 113 | android:layout_below="@id/time" |
| 114 | android:layout_alignLeft="@id/time" |
Flavio Lerda | 371d5f9 | 2011-07-09 19:45:32 +0100 | [diff] [blame] | 115 | android:textColor="?attr/call_log_secondary_text_color" |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 116 | /> |
| 117 | <ImageView |
| 118 | android:id="@+id/delete" |
| 119 | android:layout_width="?attr/call_detail_action_icon_size" |
| 120 | android:layout_height="?attr/call_detail_action_icon_size" |
| 121 | android:layout_alignParentRight="true" |
| 122 | android:scaleType="center" |
| 123 | android:gravity="center_vertical" |
| 124 | android:src="@android:drawable/sym_action_call" |
| 125 | android:visibility="gone" |
| 126 | /> |
| 127 | </RelativeLayout> |
Flavio Lerda | 9cafe47 | 2011-06-08 14:06:13 +0100 | [diff] [blame] | 128 | </RelativeLayout> |