Home | History | Annotate | Download | only in layout
      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
      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 <!-- This layout is supposed to match the content of the controls in call_detail.xml  -->
     18 <LinearLayout
     19     xmlns:android="http://schemas.android.com/apk/res/android"
     20     xmlns:ex="http://schemas.android.com/apk/res-auto"
     21     android:orientation="vertical"
     22     android:layout_width="match_parent"
     23     android:layout_height="wrap_content">
     24 
     25     <!-- Contact photo. -->
     26     <view
     27         class="com.android.contacts.common.widget.ProportionalLayout"
     28         android:layout_width="match_parent"
     29         android:layout_height="wrap_content"
     30         android:layout_alignParentStart="true"
     31         android:layout_below="@id/voicemail_status"
     32         ex:ratio="0.5"
     33         ex:direction="widthToHeight"
     34     >
     35         <!-- Proportional layout requires a view in it. -->
     36         <View
     37             android:layout_width="wrap_content"
     38             android:layout_height="wrap_content"
     39         />
     40     </view>
     41     <!-- Separator line -->
     42     <View
     43         android:layout_width="match_parent"
     44         android:layout_height="1dip"
     45     />
     46     <!-- Voicemail controls -->
     47     <!-- TODO: Make the height be based on a constant. -->
     48     <View
     49         android:id="@+id/header_voicemail_container"
     50         android:layout_width="match_parent"
     51         android:layout_height="140dip"
     52         android:layout_marginBottom="@dimen/call_detail_button_spacing"
     53     />
     54     <!-- Call and SMS -->
     55     <View
     56         android:id="@+id/header_call_and_sms_container"
     57         android:layout_width="match_parent"
     58         android:layout_height="@dimen/call_log_list_item_height"
     59     />
     60 
     61 </LinearLayout>
     62