From 6507793e1804310a0bb84b76754f225215860e07 Mon Sep 17 00:00:00 2001
From: Alexandre Savard <alexandre.savard@savoirfairelinux.com>
Date: Tue, 18 Sep 2012 14:08:40 -0400
Subject: [PATCH] #15699: Fix call element layout

---
 res/layout/call_element.xml      | 38 ++++++++++++++++++++++++++++++--
 res/layout/call_element_list.xml |  2 +-
 2 files changed, 37 insertions(+), 3 deletions(-)

diff --git a/res/layout/call_element.xml b/res/layout/call_element.xml
index aae8e7041..31ce329e7 100644
--- a/res/layout/call_element.xml
+++ b/res/layout/call_element.xml
@@ -29,7 +29,7 @@ Corresponding Source for a non-source form of such a combination
 shall include the source code for the parts of OpenSSL used as well 
 as that of the covered work.
  -->
- 
+<!-- 
 <com.savoirfairelinux.sflphone.client.CallElementView xmlns:android="http://schemas.android.com/apk/res/android"
 	android:id="@+id/panel"
 	android:layout_width="match_parent"
@@ -117,4 +117,38 @@ as that of the covered work.
 			android:gravity="center"/>
 	</RelativeLayout>
 
-</com.savoirfairelinux.sflphone.client.CallElementView>
\ No newline at end of file
+</com.savoirfairelinux.sflphone.client.CallElementView>
+-->
+<com.savoirfairelinux.sflphone.client.CallElementView xmlns:android="http://schemas.android.com/apk/res/android"
+    android:id="@+id/panel"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:minHeight="70dp" >
+
+    <RelativeLayout
+        android:id="@+id/contactview"
+        android:layout_width="match_parent"
+        android:layout_height="match_parent"
+        android:background="@drawable/box_border">
+        <TextView
+            android:id="@+id/display_name"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_alignParentTop="true"
+            android:layout_toRightOf="@+id/photo"
+            android:paddingLeft="@dimen/padding_small"
+            android:paddingTop="@dimen/padding_small"
+            android:text="Contact Name"
+            android:textAppearance="?android:attr/textAppearanceMedium" />
+        <TextView
+            android:id="@+id/phones"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_below="@+id/display_name"
+            android:layout_toRightOf="@+id/photo"
+            android:paddingBottom="@dimen/padding_small"
+            android:paddingLeft="@dimen/padding_small"
+            android:text="Small Text"
+            android:textAppearance="?android:attr/textAppearanceSmall" />
+    </RelativeLayout>
+</com.savoirfairelinux.sflphone.client.CallElementView>
diff --git a/res/layout/call_element_list.xml b/res/layout/call_element_list.xml
index e167559ec..015f1b460 100644
--- a/res/layout/call_element_list.xml
+++ b/res/layout/call_element_list.xml
@@ -53,4 +53,4 @@ as that of the covered work.
 		android:gravity="center"
 		android:text="No data" />
 
-</LinearLayout>
\ No newline at end of file
+</LinearLayout>
-- 
GitLab