mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-04 02:51:09 +01:00
minor optimizations and fixed render view size 80dp
This commit is contained in:
parent
e70751d945
commit
8b86ffa6d5
@ -26,15 +26,16 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:fitsSystemWindows="true"
|
android:fitsSystemWindows="true"
|
||||||
|
android:background="#000000"
|
||||||
tools:context=".activities.CallActivity">
|
tools:context=".activities.CallActivity">
|
||||||
|
|
||||||
<com.google.android.flexbox.FlexboxLayout
|
<com.google.android.flexbox.FlexboxLayout
|
||||||
android:id="@+id/remote_renderers_layout"
|
android:id="@+id/remote_renderers_layout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
|
android:paddingStart="4dp"
|
||||||
|
android:paddingEnd="4dp"
|
||||||
android:animateLayoutChanges="true"
|
android:animateLayoutChanges="true"
|
||||||
android:background="#000000"
|
|
||||||
android:visibility="invisible"
|
|
||||||
app:flexWrap="wrap"
|
app:flexWrap="wrap"
|
||||||
app:alignItems="flex_end"
|
app:alignItems="flex_end"
|
||||||
app:alignContent="flex_end"/>
|
app:alignContent="flex_end"/>
|
||||||
|
@ -20,24 +20,25 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<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"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:id="@+id/relative_layout"
|
||||||
android:layout_height="match_parent"
|
android:layout_width="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical">
|
android:background="#000000"
|
||||||
|
android:padding="4dp">
|
||||||
|
|
||||||
<org.webrtc.SurfaceViewRenderer
|
<org.webrtc.SurfaceViewRenderer
|
||||||
android:id="@+id/surface_view"
|
android:id="@+id/surface_view"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="80dp"
|
||||||
android:layout_height="match_parent"/>
|
android:layout_height="80dp"/>
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/remote_video_off"
|
android:id="@+id/remote_video_off"
|
||||||
android:layout_width="16dp"
|
android:layout_width="16dp"
|
||||||
android:layout_height="16dp"
|
android:layout_height="16dp"
|
||||||
android:layout_above="@id/peer_nick_text_view"
|
android:layout_below="@+id/surface_view"
|
||||||
android:layout_marginStart="8dp"
|
|
||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="8dp"
|
||||||
|
android:layout_marginTop="4dp"
|
||||||
android:src="@drawable/ic_videocam_off_white_24px"
|
android:src="@drawable/ic_videocam_off_white_24px"
|
||||||
android:visibility="invisible"/>
|
android:visibility="invisible"/>
|
||||||
|
|
||||||
@ -45,7 +46,8 @@
|
|||||||
android:id="@+id/remote_audio_off"
|
android:id="@+id/remote_audio_off"
|
||||||
android:layout_width="16dp"
|
android:layout_width="16dp"
|
||||||
android:layout_height="16dp"
|
android:layout_height="16dp"
|
||||||
android:layout_above="@id/peer_nick_text_view"
|
android:layout_below="@+id/surface_view"
|
||||||
|
android:layout_marginTop="4dp"
|
||||||
android:layout_toEndOf="@id/remote_video_off"
|
android:layout_toEndOf="@id/remote_video_off"
|
||||||
android:src="@drawable/ic_mic_off_white_24px"
|
android:src="@drawable/ic_mic_off_white_24px"
|
||||||
android:visibility="invisible"/>
|
android:visibility="invisible"/>
|
||||||
@ -54,11 +56,9 @@
|
|||||||
android:id="@+id/peer_nick_text_view"
|
android:id="@+id/peer_nick_text_view"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentBottom="true"
|
android:layout_below="@id/remote_audio_off"
|
||||||
android:layout_alignParentStart="true"
|
android:ellipsize="end"
|
||||||
android:layout_marginTop="4dp"
|
android:textColor="@color/nc_white_color_complete"
|
||||||
android:layout_marginStart="8dp"
|
tools:text="Test"/>
|
||||||
android:layout_marginBottom="8dp"
|
|
||||||
android:textColor="@color/nc_white_color_complete"/>
|
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
Loading…
Reference in New Issue
Block a user