diff --git a/res/drawable-xhdpi/linphone_logo.png b/res/drawable-xhdpi/linphone_logo.png
index f7a9f7545..5331e7766 100644
Binary files a/res/drawable-xhdpi/linphone_logo.png and b/res/drawable-xhdpi/linphone_logo.png differ
diff --git a/res/drawable-xhdpi/logo_secure_phone.png b/res/drawable-xhdpi/logo_secure_phone.png
deleted file mode 100644
index 5331e7766..000000000
Binary files a/res/drawable-xhdpi/logo_secure_phone.png and /dev/null differ
diff --git a/res/drawable/contact_add_disabled.xml b/res/drawable/contact_add_disabled.xml
index 339f89829..59156764c 100644
--- a/res/drawable/contact_add_disabled.xml
+++ b/res/drawable/contact_add_disabled.xml
@@ -1,5 +1,5 @@
diff --git a/res/drawable/status_level.xml b/res/drawable/status_level.xml
index 2852a9c03..0aafe1562 100644
--- a/res/drawable/status_level.xml
+++ b/res/drawable/status_level.xml
@@ -1,6 +1,6 @@
-
+
diff --git a/res/layout-land/assistant_linphone_login.xml b/res/layout-land/assistant_linphone_login.xml
deleted file mode 100644
index da2143e02..000000000
--- a/res/layout-land/assistant_linphone_login.xml
+++ /dev/null
@@ -1,133 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/res/layout-land/call.xml b/res/layout-land/call.xml
deleted file mode 100644
index 561a27ade..000000000
--- a/res/layout-land/call.xml
+++ /dev/null
@@ -1,463 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/res/layout-land/call_incoming.xml b/res/layout-land/call_incoming.xml
deleted file mode 100644
index 43392d1eb..000000000
--- a/res/layout-land/call_incoming.xml
+++ /dev/null
@@ -1,193 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/res/layout-land/call_outgoing.xml b/res/layout-land/call_outgoing.xml
deleted file mode 100644
index 88b3e9560..000000000
--- a/res/layout-land/call_outgoing.xml
+++ /dev/null
@@ -1,149 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/res/layout-land/chatlist_cell.xml b/res/layout-land/chatlist_cell.xml
deleted file mode 100644
index 550482130..000000000
--- a/res/layout-land/chatlist_cell.xml
+++ /dev/null
@@ -1,127 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/res/layout-land/main.xml b/res/layout-land/main.xml
deleted file mode 100644
index cfa44cfe0..000000000
--- a/res/layout-land/main.xml
+++ /dev/null
@@ -1,274 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/res/layout-land/video.xml b/res/layout-land/video.xml
deleted file mode 100644
index 207405d19..000000000
--- a/res/layout-land/video.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/res/layout/about.xml b/res/layout/about.xml
index 1a30ad136..7915e6c8a 100644
--- a/res/layout/about.xml
+++ b/res/layout/about.xml
@@ -1,6 +1,6 @@
@@ -25,7 +25,6 @@
diff --git a/res/layout/chat.xml b/res/layout/chat.xml
index fcbe278f9..18864e546 100644
--- a/res/layout/chat.xml
+++ b/res/layout/chat.xml
@@ -31,10 +31,10 @@
android:id="@+id/start_call"
android:src="@drawable/call_alt_start"
android:contentDescription="@string/content_description_call"
- android:layout_toLeftOf="@id/edit"
android:layout_width="60dp"
android:layout_height="match_parent"
- android:padding="15dp"/>
+ android:padding="15dp"
+ android:layout_toLeftOf="@+id/edit"/>
+ android:gravity="center" android:layout_toRightOf="@+id/back"
+ android:layout_toEndOf="@+id/back"/>
-
-
-
-
-
-
-
+ android:layout_above="@+id/footer" android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"/>
-=======
android:layout_height="50dp"
- android:layout_gravity="top"
- android:background="@color/colorF">
->>>>>>> linphone-android/master
+ android:layout_gravity="top">
-=======
- android:padding="12dp"/>
->>>>>>> linphone-android/master
@@ -68,11 +58,7 @@
>>>>>> linphone-android/master
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="match_parent"
diff --git a/res/layout/conference_paused_row.xml b/res/layout/conference_paused_row.xml
index 3404787d6..d1633cf09 100644
--- a/res/layout/conference_paused_row.xml
+++ b/res/layout/conference_paused_row.xml
@@ -29,7 +29,7 @@
-
@@ -37,7 +36,6 @@
android:contentDescription="@string/content_description_delete"
android:padding="12dp"
android:src="@drawable/delete"
- android:background="@drawable/toolbar_button"
android:gravity="center"
android:layout_width="70dp"
android:layout_height="match_parent"
diff --git a/res/layout/launch_screen.xml b/res/layout/launch_screen.xml
index b39461f75..ac5d917c3 100644
--- a/res/layout/launch_screen.xml
+++ b/res/layout/launch_screen.xml
@@ -13,7 +13,7 @@
android:orientation="vertical">
diff --git a/res/layout/main.xml b/res/layout/main.xml
index 6623ce00c..ca82c7439 100644
--- a/res/layout/main.xml
+++ b/res/layout/main.xml
@@ -94,7 +94,7 @@
android:src="@drawable/footer_history"/>
-
diff --git a/src/org/linphone/CallActivity.java b/src/org/linphone/CallActivity.java
index d554379df..72517886d 100644
--- a/src/org/linphone/CallActivity.java
+++ b/src/org/linphone/CallActivity.java
@@ -337,7 +337,7 @@ public class CallActivity extends Activity implements OnClickListener {
pause.setOnClickListener(this);
enabledPauseButton(false);
- mActiveCallHeader = (RelativeLayout) findViewById(R.id.active_call);
+ //mActiveCallHeader = (RelativeLayout) findViewById(R.id.active_call);
mNoCurrentCall = (LinearLayout) findViewById(R.id.no_current_call);
mCallPaused = (LinearLayout) findViewById(R.id.remote_pause);
@@ -1464,7 +1464,7 @@ public class CallActivity extends Activity implements OnClickListener {
TextView contactName = (TextView) callView.findViewById(R.id.contact_name);
- contactName.setText(LinphoneUtils.getAddressDisplayName(lAddress));
+ contactName.setText(LinphoneUtils.getAddressDisplayName(call.getRemoteAddress()));
displayCallStatusIconAndReturnCallPaused(callView, call);
registerCallDurationTimer(callView, call);
}
diff --git a/src/org/linphone/ChatFragment.java b/src/org/linphone/ChatFragment.java
index 5869fe642..e36f659a1 100644
--- a/src/org/linphone/ChatFragment.java
+++ b/src/org/linphone/ChatFragment.java
@@ -1063,7 +1063,7 @@ public class ChatFragment extends Fragment implements OnClickListener, LinphoneC
view = mInflater.inflate(R.layout.search_contact_cell, parent, false);
}
- TextView name = (TextView) view.findViewById(R.id.Contact_name);
+ TextView name = (TextView) view.findViewById(R.id.contact_name);
name.setText(LinphoneUtils.getAddressDisplayName(f.getAddress()));
final TextView address = (TextView) view.findViewById(R.id.contact_address);
diff --git a/src/org/linphone/ContactDetailsFragment.java b/src/org/linphone/ContactDetailsFragment.java
index dee574f48..121b2e0e0 100644
--- a/src/org/linphone/ContactDetailsFragment.java
+++ b/src/org/linphone/ContactDetailsFragment.java
@@ -137,16 +137,16 @@ public class ContactDetailsFragment extends Fragment implements OnClickListener
if (!displayChatAddressOnly) {
v.findViewById(R.id.contact_call).setOnClickListener(dialListener);
- v.findViewById(R.id.contact_call).setTag(displayednumberOrAddress);
+ v.findViewById(R.id.contact_call).setTag(contact.getLinphoneAddress());
} else {
v.findViewById(R.id.contact_call).setVisibility(View.GONE);
}
v.findViewById(R.id.contact_chat).setOnClickListener(chatListener);
- v.findViewById(R.id.chat).setTag(contact.getLinphoneAddress());
+ v.findViewById(R.id.contact_chat).setTag(contact.getLinphoneAddress());
if (getResources().getBoolean(R.bool.disable_chat)) {
- v.findViewById(R.id.chat).setVisibility(View.GONE);
+ v.findViewById(R.id.contact_chat).setVisibility(View.GONE);
}
controls.addView(v);
@@ -164,13 +164,13 @@ public class ContactDetailsFragment extends Fragment implements OnClickListener
tv.setSelected(true);
if (!displayChatAddressOnly) {
- v.findViewById(R.id.call).setOnClickListener(dialListener);
- v.findViewById(R.id.call).setTag(displayednumberOrAddress);
+ v.findViewById(R.id.contact_call).setOnClickListener(dialListener);
+ v.findViewById(R.id.contact_call).setTag(displayednumberOrAddress);
} else {
- v.findViewById(R.id.call).setVisibility(View.GONE);
+ v.findViewById(R.id.contact_call).setVisibility(View.GONE);
}
- v.findViewById(R.id.chat).setOnClickListener(chatListener);
+ v.findViewById(R.id.contact_chat).setOnClickListener(chatListener);
LinphoneProxyConfig lpc = LinphoneManager.getLc().getDefaultProxyConfig();
if (lpc != null) {
displayednumberOrAddress = lpc.normalizePhoneNumber(displayednumberOrAddress);
@@ -182,14 +182,10 @@ public class ContactDetailsFragment extends Fragment implements OnClickListener
if (!numberOrAddress.contains("@")) {
tag = numberOrAddress + "@" + lpc.getDomain();
}
- v.findViewById(R.id.chat).setTag(tag);
+ v.findViewById(R.id.contact_chat).setTag(tag);
} else {
- v.findViewById(R.id.chat).setTag(numberOrAddress);
+ v.findViewById(R.id.contact_chat).setTag(numberOrAddress);
}
- v.findViewById(R.id.contact_chat).setTag(tag);
- } else {
- v.findViewById(R.id.contact_chat).setTag(numberOrAddress);
- }
final String finalNumberOrAddress = numberOrAddress;
/*ImageView friend = (ImageView) v.findViewById(R.id.addFriend);
diff --git a/src/org/linphone/HistoryDetailFragment.java b/src/org/linphone/HistoryDetailFragment.java
index 0ac9d7a17..1fff7ebe7 100644
--- a/src/org/linphone/HistoryDetailFragment.java
+++ b/src/org/linphone/HistoryDetailFragment.java
@@ -98,7 +98,7 @@ public class HistoryDetailFragment extends Fragment implements OnClickListener {
} else {
contactAddress.setText(sipUri);
}
-
+
time.setText(callTime == null ? "" : callTime);
Long longDate = Long.parseLong(callDate);
date.setText(LinphoneUtils.timestampToHumanDate(getActivity(),longDate,getString(R.string.history_detail_date_format),false));
diff --git a/src/org/linphone/LinphoneManager.java b/src/org/linphone/LinphoneManager.java
index ec086c1c3..16534228f 100644
--- a/src/org/linphone/LinphoneManager.java
+++ b/src/org/linphone/LinphoneManager.java
@@ -652,7 +652,7 @@ public class LinphoneManager implements LinphoneCoreListener, LinphoneChatMessag
mLc.setRootCA(mLinphoneRootCaFile);
mLc.setPlayFile(mPauseSoundFile);
mLc.setChatDatabasePath(mChatDatabaseFile);
- mLc.setCallLogsDatabasePath(mCallLogDatabaseFile);
+ //mLc.setCallLogsDatabasePath(mCallLogDatabaseFile);
//mLc.setCallErrorTone(Reason.NotFound, mErrorToneFile);
int availableCores = Runtime.getRuntime().availableProcessors();
diff --git a/src/org/linphone/LinphoneService.java b/src/org/linphone/LinphoneService.java
index daf2d5ef9..26ac4fac8 100644
--- a/src/org/linphone/LinphoneService.java
+++ b/src/org/linphone/LinphoneService.java
@@ -156,7 +156,7 @@ public final class LinphoneService extends Service {
} catch (Exception e) {
}
- mNotif = Compatibility.createNotification(this, mNotificationTitle, "", R.drawable.status_level, R.drawable.logo_secure_phone, bm, mNotifContentIntent, true,notifcationsPriority);
+ mNotif = Compatibility.createNotification(this, mNotificationTitle, "", R.drawable.status_level, R.drawable.linphone_logo, bm, mNotifContentIntent, true,notifcationsPriority);
LinphoneManager.createAndStart(LinphoneService.this);