Add named dimension for the long side of the self video

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
Daniel Calviño Sánchez 2022-09-15 20:58:55 +02:00
parent a605c5df9f
commit 85c644e5b3
2 changed files with 2 additions and 1 deletions

View file

@ -62,7 +62,7 @@
<org.webrtc.SurfaceViewRenderer
android:id="@+id/selfVideoRenderer"
android:layout_width="@dimen/call_self_video_short_side_length"
android:layout_height="150dp"
android:layout_height="@dimen/call_self_video_long_side_length"
android:layout_gravity="center"
android:layout_margin="16dp"
android:clickable="false"

View file

@ -63,6 +63,7 @@
<dimen name="dialog_padding">24dp</dimen>
<dimen name="dialog_padding_top_bottom">18dp</dimen>
<dimen name="call_self_video_long_side_length">150dp</dimen>
<dimen name="call_self_video_short_side_length">80dp</dimen>
<dimen name="call_grid_item_min_height">180dp</dimen>
<dimen name="call_controls_height">110dp</dimen>