set pipGroupCallOverlay to gone when not needed

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2021-11-16 16:14:59 +01:00
parent 9499b8117b
commit 41ff61be5f
No known key found for this signature in database
GPG key ID: C793F8B59F43CE7B
2 changed files with 3 additions and 4 deletions

View file

@ -530,7 +530,6 @@ public class CallActivity extends CallBaseActivity {
}
});
// TODO maybe not necessary if it doesnt disappear
binding.conversationRelativeLayout.setOnTouchListener(new View.OnTouchListener() {
public boolean onTouch(View v, MotionEvent me) {
int action = me.getActionMasked();
@ -2471,7 +2470,7 @@ public class CallActivity extends CallBaseActivity {
binding.pipCallConversationNameTextView.setText(conversationName);
binding.pipGroupCallOverlay.setVisibility(View.VISIBLE);
} else {
binding.pipGroupCallOverlay.setVisibility(View.INVISIBLE);
binding.pipGroupCallOverlay.setVisibility(View.GONE);
}
binding.selfVideoRenderer.release();
@ -2489,7 +2488,7 @@ public class CallActivity extends CallBaseActivity {
binding.callInfosLinearLayout.setVisibility(View.VISIBLE);
binding.selfVideoViewWrapper.setVisibility(View.VISIBLE);
binding.pipGroupCallOverlay.setVisibility(View.INVISIBLE);
binding.pipGroupCallOverlay.setVisibility(View.GONE);
}
@Override

View file

@ -202,7 +202,7 @@
android:orientation="vertical"
android:background="@color/black"
android:gravity="center"
android:visibility="invisible">
android:visibility="gone">
<TextView
android:id="@+id/pipCallConversationNameTextView"