mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-26 23:25:20 +03:00
set pipGroupCallOverlay to gone when not needed
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
9499b8117b
commit
41ff61be5f
2 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue