|
@@ -0,0 +1,171 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_callmain"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/invite_lyt"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="#00000000"
|
|
|
+ android:layout_marginTop="27dp">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/icon"
|
|
|
+ android:background="@drawable/default_avatar"
|
|
|
+ android:layout_marginTop="40dp"
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="20dp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/name"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_toRightOf="@+id/icon"
|
|
|
+ android:layout_alignTop="@+id/icon"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="32sp"
|
|
|
+ android:textStyle="bold"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/desc"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_toRightOf="@+id/icon"
|
|
|
+ android:layout_alignBottom="@+id/icon"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="14sp"
|
|
|
+ android:text="@string/invite"/>
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/accepte_lyt"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="#00000000"
|
|
|
+ android:layout_marginTop="27dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/name2"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:layout_marginTop="40dp"
|
|
|
+ android:textSize="32sp"
|
|
|
+ android:textStyle="bold"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/time"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_below="@+id/name2"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="14sp"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_network"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_below="@+id/time"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="14sp"/>
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/lyt_wait_answer"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="90dp"
|
|
|
+ android:visibility="gone"
|
|
|
+ android:layout_alignParentBottom="true">
|
|
|
+
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_callcancel"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1">
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/cancel"
|
|
|
+ android:layout_width="68dp"
|
|
|
+ android:layout_height="68dp"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:onClick="onTerm"
|
|
|
+ android:src="@drawable/hangup"/>
|
|
|
+ </RelativeLayout>
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_callanswer"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1">
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/answer"
|
|
|
+ android:layout_width="68dp"
|
|
|
+ android:layout_height="68dp"
|
|
|
+ android:onClick="onVideoAnswer"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:src="@drawable/answer"/>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/lyt_calling"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="90dp"
|
|
|
+ android:layout_alignParentBottom="true">
|
|
|
+
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_callhangup"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1">
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/hung_up"
|
|
|
+ android:layout_width="68dp"
|
|
|
+ android:layout_height="68dp"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:onClick="onTerm"
|
|
|
+ android:src="@drawable/hangup"/>
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_callcamera"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="68dp"
|
|
|
+ android:layout_toRightOf="@+id/hung_up">
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/camera"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:onClick="onSwitchCamera"
|
|
|
+ android:src="@drawable/camera"/>
|
|
|
+ </RelativeLayout>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|