diff --git a/res/layout/conf_callee_older_devices.xml b/res/layout/conf_callee_older_devices.xml index b88091a77..4b859a2e7 100644 --- a/res/layout/conf_callee_older_devices.xml +++ b/res/layout/conf_callee_older_devices.xml @@ -1,16 +1,16 @@ - + android:layout_width="fill_parent" android:layout_height="52sp"> - + android:text="@string/conf_simple_video_bt_txt" + android:background="@drawable/clavier_bg" /> @@ -80,10 +80,10 @@ android:layout_height="wrap_content" android:layout_width="fill_parent" android:layout_above="@id/incall_controls_layout"> diff --git a/res/values/conf_style.xml b/res/values/conf_style.xml index 08b1e2778..58d1109d8 100644 --- a/res/values/conf_style.xml +++ b/res/values/conf_style.xml @@ -10,14 +10,10 @@ diff --git a/res/values/strings.xml b/res/values/strings.xml index 78455871c..a9a79a735 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -60,8 +60,8 @@ Hang up Merge Transfer - Add video - No active call + video + Dialpad Conference diff --git a/src/org/linphone/IncallActivity.java b/src/org/linphone/IncallActivity.java index 0ce27783f..1ad15acef 100644 --- a/src/org/linphone/IncallActivity.java +++ b/src/org/linphone/IncallActivity.java @@ -111,7 +111,7 @@ public class IncallActivity extends AbstractCalleesActivity implements if (mMayDoVideo) { findViewById(R.id.conf_simple_video).setOnClickListener(this); } else { - findViewById(R.id.conf_simple_video).setVisibility(GONE); + findViewById(R.id.conf_simple_video).setVisibility(View.GONE); } super.onCreate(savedInstanceState); } @@ -162,13 +162,6 @@ public class IncallActivity extends AbstractCalleesActivity implements setCalleePicture(view, currentCall.getRemoteAddress()); view.setVisibility(VISIBLE); - if (Version.sdkStrictlyBelow(Version.API06_ECLAIR_201)) { - // Fix really big image on older devices - ViewGroup.LayoutParams layout = view.getLayoutParams(); - layout.height = 96; - layout.width = 96; - view.setLayoutParams(layout); - } } @@ -280,8 +273,6 @@ public class IncallActivity extends AbstractCalleesActivity implements if (!LinphoneManager.getInstance().addVideo()) { LinphoneActivity.instance().startVideoActivity(vCall, 0); } - } else { - Toast.makeText(this, R.string.conf_simple_no_current_call, Toast.LENGTH_SHORT).show(); } break; default: @@ -294,8 +285,6 @@ public class IncallActivity extends AbstractCalleesActivity implements LinphoneCall tCall = lc().getCurrentCall(); if (tCall != null) { prepareForTransferingExistingOrNewCall(tCall); - } else { - Toast.makeText(this, R.string.conf_simple_no_current_call, Toast.LENGTH_SHORT).show(); } }