1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <ImageView
- android:id="@+id/avatar_image"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:scaleType="centerCrop"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintDimensionRatio="1:1"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <ImageView
- android:id="@+id/loading_image"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:scaleType="center"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <TextView
- android:id="@+id/avchat_state_text"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/avchat_no_pick_up"
- android:textAlignment="center"
- android:textColor="@color/white"
- android:textSize="12sp"
- android:visibility="invisible"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <com.netease.nimlib.sdk.avchat.model.AVChatVideoRender
- android:id="@+id/surface"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:visibility="invisible"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintDimensionRatio="1:1"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <android.support.constraint.ConstraintLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:background="@color/color_gray_alpha40"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent">
- <TextView
- android:id="@+id/nick_name_text"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="3dip"
- android:ellipsize="end"
- android:maxLines="1"
- android:text="@string/online"
- android:textAlignment="center"
- android:textColor="@color/white"
- android:textSize="12sp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <ProgressBar
- android:id="@+id/avchat_volume"
- style="?android:attr/progressBarStyleHorizontal"
- android:layout_width="0dp"
- android:layout_height="16dp"
- android:max="600"
- android:progress="0"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent" />
- </android.support.constraint.ConstraintLayout>
- </android.support.constraint.ConstraintLayout>
|