|
@@ -3,7 +3,6 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:background="#000000"
|
|
|
- xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
>
|
|
|
|
|
|
<RelativeLayout
|
|
@@ -17,84 +16,122 @@
|
|
|
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"
|
|
|
+ android:text="@string/loading"
|
|
|
android:textColor="@color/white"
|
|
|
android:textSize="13sp"
|
|
|
- android:textStyle="bold"
|
|
|
- android:text="@string/loading"
|
|
|
- />
|
|
|
+ android:textStyle="bold" />
|
|
|
</RelativeLayout>
|
|
|
|
|
|
<RelativeLayout
|
|
|
android:id="@+id/layout_info"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:visibility="gone"
|
|
|
- >
|
|
|
- <RelativeLayout
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="30dp"
|
|
|
- >
|
|
|
- <com.makeramen.roundedimageview.RoundedImageView
|
|
|
- android:id="@+id/iconIv"
|
|
|
- android:layout_width="30dp"
|
|
|
- android:layout_height="30dp"
|
|
|
- android:layout_marginStart="10dp"
|
|
|
- app:riv_oval="true"
|
|
|
- app:riv_corner_radius="15dp"
|
|
|
- android:scaleType="centerCrop"
|
|
|
- android:src="@drawable/default_avatar"
|
|
|
- />
|
|
|
+ android:layout_marginTop="25dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/nameTv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_toEndOf="@+id/iconIv"
|
|
|
- android:layout_alignTop="@+id/iconIv"
|
|
|
- android:layout_marginStart="5dp"
|
|
|
+ android:textAlignment="center"
|
|
|
android:textColor="@color/white"
|
|
|
- android:textSize="13sp"
|
|
|
- android:textStyle="bold"
|
|
|
- />
|
|
|
+ android:textSize="20sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/hintTv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_toEndOf="@+id/iconIv"
|
|
|
- android:layout_alignBottom="@+id/iconIv"
|
|
|
- android:layout_marginStart="5dp"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="11sp"
|
|
|
- android:textStyle="bold"
|
|
|
- />
|
|
|
- </RelativeLayout>
|
|
|
+ android:layout_marginTop="1dp"
|
|
|
+ android:textAlignment="center"
|
|
|
+ android:textColor="#74777D"
|
|
|
+ android:textSize="17sp" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/layout_accept"
|
|
|
+ <RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_alignParentBottom="true"
|
|
|
- android:layout_marginBottom="20dp"
|
|
|
- android:gravity="center"
|
|
|
- >
|
|
|
- <ImageButton
|
|
|
- android:id="@+id/cancelBtn"
|
|
|
- android:layout_width="50dp"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:background="@drawable/hangup"/>
|
|
|
- <ImageButton
|
|
|
- android:id="@+id/answerBtn"
|
|
|
- android:layout_width="50dp"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:layout_marginStart="30dp"
|
|
|
- android:background="@drawable/answer"
|
|
|
- />
|
|
|
- </LinearLayout>
|
|
|
+ android:layout_marginBottom="8dp">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/layout_accept"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ 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_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>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <ImageButton
|
|
|
+ android:id="@+id/cancelBtn2"
|
|
|
+ android:layout_width="52dp"
|
|
|
+ android:layout_height="52dp"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:background="@drawable/hangup" />
|
|
|
+
|
|
|
+ <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>
|
|
|
</RelativeLayout>
|
|
|
</RelativeLayout>
|