mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-28 17:38:55 +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);
|
videoRendererHashMap.put(session, remoteRenderer);
|
||||||
videoTrack.addRenderer(remoteRenderer);
|
videoTrack.addRenderer(remoteRenderer);
|
||||||
videosGrid.addView(relativeLayout);
|
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) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,8 +21,10 @@
|
||||||
|
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:id="@+id/relative_layout"
|
android:id="@+id/relative_layout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="0dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="0dp"
|
||||||
|
android:layout_columnWeight="1"
|
||||||
|
android:layout_rowWeight="1"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<org.webrtc.SurfaceViewRenderer
|
<org.webrtc.SurfaceViewRenderer
|
||||||
|
|
Loading…
Reference in a new issue