From db02aec51845b81c93a4a2c19197493ab63ce443 Mon Sep 17 00:00:00 2001 From: Guillaume Beraudo Date: Wed, 23 Nov 2011 12:37:17 +0100 Subject: [PATCH] Chronometer, abstract callee activity. --- AndroidManifest.xml | 3 +- res/layout/conf_callee.xml | 8 +- res/layout/conf_callee_older_devices.xml | 12 +- res/layout/conf_details_participant.xml | 47 --- res/layout/incall_layout.xml | 4 + res/values/strings.xml | 6 +- src/org/linphone/AbstractCalleesActivity.java | 225 +++++++++++++ .../linphone/ConferenceDetailsActivity.java | 161 ++------- src/org/linphone/IncallActivity.java | 310 +++++++----------- src/org/linphone/LinphoneActivity.java | 17 +- src/org/linphone/ui/IncallTimer.java | 4 +- 11 files changed, 394 insertions(+), 403 deletions(-) delete mode 100644 res/layout/conf_details_participant.xml create mode 100644 src/org/linphone/AbstractCalleesActivity.java diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 967ce5274..d79e0e751 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -80,7 +80,8 @@ + android:theme="@android:style/Theme.NoTitleBar" + android:screenOrientation="portrait"> diff --git a/res/layout/conf_callee.xml b/res/layout/conf_callee.xml index faff7916f..f26818d07 100644 --- a/res/layout/conf_callee.xml +++ b/res/layout/conf_callee.xml @@ -1,6 +1,6 @@ - + + + + diff --git a/res/layout/conf_callee_older_devices.xml b/res/layout/conf_callee_older_devices.xml index 86eb82a86..b88091a77 100644 --- a/res/layout/conf_callee_older_devices.xml +++ b/res/layout/conf_callee_older_devices.xml @@ -1,6 +1,7 @@ + android:layout_width="fill_parent" android:layout_height="48px" + android:background="@drawable/conf_callee_bg"> + android:layout_toRightOf="@id/picture" android:layout_toLeftOf="@id/callee_statuses" + android:layout_width="fill_parent" android:layout_height="48px"> - + + + + diff --git a/res/layout/conf_details_participant.xml b/res/layout/conf_details_participant.xml deleted file mode 100644 index 4badff5f6..000000000 --- a/res/layout/conf_details_participant.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/layout/incall_layout.xml b/res/layout/incall_layout.xml index bd2b2d76b..0f5e54146 100644 --- a/res/layout/incall_layout.xml +++ b/res/layout/incall_layout.xml @@ -52,6 +52,9 @@ +