From 48fd591ab09bca52bb8426b3c1ab936943e31780 Mon Sep 17 00:00:00 2001 From: Mario Danic Date: Thu, 23 Nov 2017 22:35:34 +0100 Subject: [PATCH] Update layout Signed-off-by: Mario Danic --- .../java/com/nextcloud/talk/activities/CallActivity.java | 5 ----- app/src/main/res/layout/surface_renderer.xml | 6 ++++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/app/src/main/java/com/nextcloud/talk/activities/CallActivity.java b/app/src/main/java/com/nextcloud/talk/activities/CallActivity.java index 7444864e7..f2a3852de 100644 --- a/app/src/main/java/com/nextcloud/talk/activities/CallActivity.java +++ b/app/src/main/java/com/nextcloud/talk/activities/CallActivity.java @@ -634,11 +634,6 @@ public class CallActivity extends AppCompatActivity { videoRendererHashMap.put(session, remoteRenderer); videoTrack.addRenderer(remoteRenderer); videosGrid.addView(relativeLayout); - - GridLayout.LayoutParams param = new GridLayout.LayoutParams(GridLayout.spec( - GridLayout.UNDEFINED,GridLayout.FILL,1f), - GridLayout.spec(GridLayout.UNDEFINED,GridLayout.FILL,1f)); - relativeLayout.setLayoutParams(param); } catch (Exception e) { e.printStackTrace(); } diff --git a/app/src/main/res/layout/surface_renderer.xml b/app/src/main/res/layout/surface_renderer.xml index a3569fa63..5ff51c243 100644 --- a/app/src/main/res/layout/surface_renderer.xml +++ b/app/src/main/res/layout/surface_renderer.xml @@ -21,8 +21,10 @@