mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-21 20:45:29 +03:00
Update layout
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
65c4388a43
commit
48fd591ab0
2 changed files with 4 additions and 7 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -21,8 +21,10 @@
|
|||
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/relative_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_columnWeight="1"
|
||||
android:layout_rowWeight="1"
|
||||
android:orientation="vertical">
|
||||
|
||||
<org.webrtc.SurfaceViewRenderer
|
||||
|
|
Loading…
Reference in a new issue