Make the contact picture exactly half the height as it is wide

Bug:5087954
Change-Id: Idb8a1bd61b4c8f95910d3c5c7255400d276af0d9
diff --git a/res/layout/quickcontact_activity.xml b/res/layout/quickcontact_activity.xml
index 7aa2aa4..2f5a357 100644
--- a/res/layout/quickcontact_activity.xml
+++ b/res/layout/quickcontact_activity.xml
@@ -15,6 +15,7 @@
 -->
 <view
     xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:ex="http://schemas.android.com/apk/res/com.android.contacts"
     class="com.android.contacts.quickcontact.FloatingChildLayout"
     android:id="@+id/floating_layout"
     android:layout_width="match_parent"
@@ -29,7 +30,14 @@
         android:paddingLeft="15dip"
         android:paddingRight="15dip"
         android:orientation="vertical">
-        <include layout="@layout/quickcontact_photo_container" />
+        <view
+            class="com.android.contacts.widget.ProportionalLayout"
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            ex:ratio="0.5"
+            ex:direction="widthToHeight">
+            <include layout="@layout/quickcontact_photo_container" />
+        </view>
         <View
             android:id="@+id/line_before_track"
             android:layout_width="match_parent"