|
@@ -6,9 +6,10 @@
|
|
|
>
|
|
|
|
|
|
<RelativeLayout
|
|
|
- android:id="@+id/layout_video"
|
|
|
+ android:id="@+id/layout_videoing"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
+ android:visibility="gone"
|
|
|
>
|
|
|
</RelativeLayout>
|
|
|
|
|
@@ -16,7 +17,8 @@
|
|
|
android:id="@+id/layout_loading"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:gravity="center">
|
|
|
+ android:gravity="center"
|
|
|
+ >
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
@@ -29,15 +31,28 @@
|
|
|
<RelativeLayout
|
|
|
android:id="@+id/layout_info"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:visibility="gone"
|
|
|
+ >
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/timeTv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:background="@drawable/bg_time"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:textAlignment="center"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="17sp"
|
|
|
+ android:paddingStart="10dp"
|
|
|
+ android:paddingEnd="10dp"
|
|
|
+ />
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/layout_name"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="25dp"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
+ android:gravity="center">
|
|
|
<TextView
|
|
|
android:id="@+id/nameTv"
|
|
|
android:layout_width="match_parent"
|
|
@@ -46,92 +61,108 @@
|
|
|
android:textColor="@color/white"
|
|
|
android:textSize="20sp"
|
|
|
android:textStyle="bold" />
|
|
|
-
|
|
|
<TextView
|
|
|
android:id="@+id/hintTv"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/nameTv"
|
|
|
android:layout_marginTop="1dp"
|
|
|
android:textAlignment="center"
|
|
|
android:textColor="#74777D"
|
|
|
android:textSize="17sp" />
|
|
|
- </LinearLayout>
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
<RelativeLayout
|
|
|
+ android:id="@+id/layout_bottom_in"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_alignParentBottom="true"
|
|
|
- android:layout_marginBottom="8dp">
|
|
|
-
|
|
|
+ android:gravity="center"
|
|
|
+ >
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/layout_accept"
|
|
|
- android:layout_width="match_parent"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:gravity="center"
|
|
|
- android:visibility="gone">
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <ImageButton
|
|
|
- android:id="@+id/cancelBtn"
|
|
|
- android:layout_width="52dp"
|
|
|
- android:layout_height="52dp"
|
|
|
- android:background="@drawable/hangup" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="@string/btn_refuse"
|
|
|
- android:textAlignment="center"
|
|
|
- android:textColor="#FFFFFF"
|
|
|
- android:textSize="15sp" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_marginStart="25dp"
|
|
|
+ android:orientation="vertical">
|
|
|
+ <ImageButton
|
|
|
+ android:id="@+id/cancelInBtn"
|
|
|
+ android:layout_width="52dp"
|
|
|
+ android:layout_height="52dp"
|
|
|
+ android:background="@drawable/hangup" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="30dp"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <ImageButton
|
|
|
- android:id="@+id/answerBtn"
|
|
|
- android:layout_width="52dp"
|
|
|
- android:layout_height="52dp"
|
|
|
- android:background="@drawable/answer" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="@string/btn_answer"
|
|
|
- android:textAlignment="center"
|
|
|
- android:textColor="#FFFFFF"
|
|
|
- android:textSize="15sp" />
|
|
|
- </LinearLayout>
|
|
|
+ android:text="@string/btn_refuse"
|
|
|
+ android:textAlignment="center"
|
|
|
+ android:textColor="#FFFFFF"
|
|
|
+ android:textSize="15sp" />
|
|
|
</LinearLayout>
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
-
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_marginEnd="25dp"
|
|
|
+ android:orientation="vertical">
|
|
|
<ImageButton
|
|
|
- android:id="@+id/cancelBtn2"
|
|
|
+ android:id="@+id/answerInBtn"
|
|
|
android:layout_width="52dp"
|
|
|
android:layout_height="52dp"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:background="@drawable/hangup" />
|
|
|
+ android:background="@drawable/answer" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/btn_answer"
|
|
|
+ android:textAlignment="center"
|
|
|
+ android:textColor="#FFFFFF"
|
|
|
+ android:textSize="15sp" />
|
|
|
+ </LinearLayout>
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
- <ImageButton
|
|
|
- android:id="@+id/cameraBtn"
|
|
|
- android:layout_width="45dp"
|
|
|
- android:layout_height="45dp"
|
|
|
- android:layout_alignParentEnd="true"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:layout_marginEnd="10dp"
|
|
|
- android:background="@drawable/hangup" />
|
|
|
- </RelativeLayout>
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/layout_bottom_out"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:layout_marginBottom="5dp"
|
|
|
+ >
|
|
|
+ <ImageButton
|
|
|
+ android:id="@+id/cancelOutBtn"
|
|
|
+ android:layout_width="52dp"
|
|
|
+ android:layout_height="52dp"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:background="@drawable/hangup" />
|
|
|
+ <ImageButton
|
|
|
+ android:id="@+id/voiceOutBtn"
|
|
|
+ android:layout_width="45dp"
|
|
|
+ android:layout_height="45dp"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_marginEnd="10dp"
|
|
|
+ android:background="@drawable/ic_voice" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/layout_bottom_ing"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:layout_marginBottom="5dp"
|
|
|
+ >
|
|
|
+ <ImageButton
|
|
|
+ android:id="@+id/cancelIngBtn"
|
|
|
+ android:layout_width="52dp"
|
|
|
+ android:layout_height="52dp"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:background="@drawable/hangup" />
|
|
|
+ <ImageButton
|
|
|
+ android:id="@+id/voiceIngBtn"
|
|
|
+ android:layout_width="45dp"
|
|
|
+ android:layout_height="45dp"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_marginEnd="10dp"
|
|
|
+ android:background="@drawable/ic_voice" />
|
|
|
</RelativeLayout>
|
|
|
</RelativeLayout>
|
|
|
+
|
|
|
</RelativeLayout>
|