diff --git a/res/layout-land/chatlist_cell.xml b/res/layout-land/chatlist_cell.xml
deleted file mode 100644
index 01d24c2bc..000000000
--- a/res/layout-land/chatlist_cell.xml
+++ /dev/null
@@ -1,113 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/res/layout-sw533dp-land/chatlist_cell.xml b/res/layout-sw533dp-land/chatlist_cell.xml
deleted file mode 100644
index 2cc25b94a..000000000
--- a/res/layout-sw533dp-land/chatlist_cell.xml
+++ /dev/null
@@ -1,111 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/res/layout-sw533dp/chatlist_cell.xml b/res/layout-sw533dp/chatlist_cell.xml
deleted file mode 100644
index 53b300bdc..000000000
--- a/res/layout-sw533dp/chatlist_cell.xml
+++ /dev/null
@@ -1,112 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/res/layout/chat.xml b/res/layout/chat.xml
index eefe0ceae..6c97e62a6 100644
--- a/res/layout/chat.xml
+++ b/res/layout/chat.xml
@@ -63,6 +63,17 @@
android:layout_weight="0.2"
android:padding="15dp"/>
+
+
-
-
0) {
mBackToCallButton.setVisibility(View.VISIBLE);
- } else {
- mBackToCallButton.setVisibility(View.GONE);
- if (mChatRoom.hasCapability(ChatRoomCapabilities.OneToOne.toInt())) {
- mCallButton.setVisibility(View.VISIBLE);
- mGroupInfosButton.setVisibility(View.GONE);
- mParticipantsLabel.setVisibility(View.GONE);
-
- if (mParticipants.size() == 0) {
- // Contact not found
- String displayName = LinphoneUtils.getAddressDisplayName(mRemoteParticipantAddress);
- mRoomLabel.setText(displayName);
- } else {
- mRoomLabel.setText(mParticipants.get(0).getFullName());
- }
- } else {
- mCallButton.setVisibility(View.GONE);
- mGroupInfosButton.setVisibility(View.VISIBLE);
- mRoomLabel.setText(mChatRoom.getSubject());
- mParticipantsLabel.setVisibility(View.VISIBLE);
- }
+ mCallButton.setVisibility(View.GONE);
}
if (mChatRoom.hasBeenLeft()) {