blob: e797f0d19c95a728848765cdc67b181db8bb99ca [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>
Flavio Lerdafb63c432011-07-07 17:16:53 +010023 <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 Lerda9cafe472011-06-08 14:06:13 +010039 <ImageView
40 android:id="@+id/contact_background"
Romain Guy6304c0b2010-01-08 15:06:49 -080041 android:layout_width="match_parent"
Flavio Lerda9cafe472011-06-08 14:06:13 +010042 android:layout_height="?attr/call_detail_contact_background_height"
43 android:layout_alignParentLeft="true"
Flavio Lerdafb63c432011-07-07 17:16:53 +010044 android:layout_below="@id/action_bar"
Flavio Lerda9cafe472011-06-08 14:06:13 +010045 android:adjustViewBounds="true"
Flavio Lerdac5dbd562011-06-10 10:10:02 +010046 android:scaleType="centerCrop"
Flavio Lerda9cafe472011-06-08 14:06:13 +010047
48 android:background="@drawable/ic_contact_picture"
49 />
Flavio Lerdafb63c432011-07-07 17:16:53 +010050 <LinearLayout
51 android:layout_width="match_parent"
52 android:layout_height="?attr/call_detail_contact_background_overlay_height"
53 android:background="#3F000000"
54 android:layout_alignParentLeft="true"
Flavio Lerda5592b752011-07-12 18:47:36 +010055 android:layout_alignBottom="@id/contact_background"
Flavio Lerdafb63c432011-07-07 17:16:53 +010056 />
Flavio Lerda9cafe472011-06-08 14:06:13 +010057 <RelativeLayout
Flavio Lerda5592b752011-07-12 18:47:36 +010058 android:id="@+id/contact_text"
Flavio Lerda9cafe472011-06-08 14:06:13 +010059 android:layout_width="match_parent"
Flavio Lerdafb63c432011-07-07 17:16:53 +010060 android:layout_height="?attr/call_detail_contact_background_overlay_height"
Flavio Lerda9cafe472011-06-08 14:06:13 +010061 android:layout_alignParentLeft="true"
Flavio Lerda5592b752011-07-12 18:47:36 +010062 android:layout_alignBottom="@id/contact_background"
Flavio Lerdafb63c432011-07-07 17:16:53 +010063 android:paddingLeft="5dip"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080064 >
Flavio Lerdafb63c432011-07-07 17:16:53 +010065 <ImageView
66 android:id="@+id/main_action"
67 android:layout_width="?attr/call_detail_action_icon_size"
68 android:layout_height="match_parent"
69 android:gravity="center_vertical"
70 android:scaleType="center"
Flavio Lerda9cafe472011-06-08 14:06:13 +010071 android:layout_alignParentRight="true"
72 android:layout_alignParentBottom="true"
Flavio Lerdafb63c432011-07-07 17:16:53 +010073 />
Flavio Lerda5a174ef2011-07-16 12:18:37 +010074 <RelativeLayout
75 android:layout_width="wrap_content"
76 android:layout_height="match_parent"
77 android:layout_alignParentLeft="true"
78 android:layout_toLeftOf="@id/main_action"
79 android:layout_alignParentBottom="true"
80 >
81 <include layout="@layout/call_log_phone_call_details" />
82 </RelativeLayout>
Flavio Lerda9cafe472011-06-08 14:06:13 +010083 </RelativeLayout>
Flavio Lerda5592b752011-07-12 18:47:36 +010084 <ListView
85 android:id="@android:id/list"
86 android:layout_width="match_parent"
87 android:layout_height="wrap_content"
88 android:layout_below="@id/contact_background"
89 android:background="?attr/call_log_primary_background_color"
90 />
Flavio Lerda9a208cc2011-07-12 21:05:47 +010091 <ListView
Flavio Lerda5592b752011-07-12 18:47:36 +010092 android:id="@+id/history"
Romain Guy6304c0b2010-01-08 15:06:49 -080093 android:layout_width="match_parent"
Flavio Lerda9cafe472011-06-08 14:06:13 +010094 android:layout_height="wrap_content"
95 android:layout_alignParentLeft="true"
Flavio Lerdafb63c432011-07-07 17:16:53 +010096 android:layout_below="@android:id/list"
Flavio Lerda371d5f92011-07-09 19:45:32 +010097 android:background="?attr/call_log_secondary_background_color"
Flavio Lerda9a208cc2011-07-12 21:05:47 +010098 />
Flavio Lerda9cafe472011-06-08 14:06:13 +010099</RelativeLayout>