加上設備名稱label

This commit is contained in:
Barney
2022-08-05 14:43:07 +08:00
parent 7c567944db
commit 8afd65e63d
4 changed files with 41 additions and 0 deletions
@@ -29,6 +29,23 @@
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/bg_not_in_playing" />
<TextView
android:id="@+id/textDeviceName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginBottom="4dp"
android:drawableLeft="@drawable/ic_ip_cam_name"
android:drawablePadding="6dp"
android:ellipsize="end"
android:maxLines="1"
android:text="TextView"
android:textColor="@android:color/white"
android:textSize="16sp"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="@+id/videoView"
app:layout_constraintStart_toStartOf="parent" />
<ProgressBar
android:id="@+id/pbLoading"
style="?android:attr/progressBarStyle"