|
|
|
@ -20,16 +20,34 @@
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/marginTop"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="3dp"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/ivState"
|
|
|
|
|
android:layout_width="24dp"
|
|
|
|
|
android:layout_height="24dp"
|
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
|
android:src="@drawable/baseline_cloud_off_24"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/tvName"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/vwColor"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/tvName" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/ivPrimary"
|
|
|
|
|
android:layout_width="24dp"
|
|
|
|
|
android:layout_height="24dp"
|
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
|
android:layout_marginTop="3dp"
|
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
|
android:src="@drawable/baseline_star_24"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/vwColor"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/tvName"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/ivState"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/tvName" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tvName"
|
|
|
|
@ -37,24 +55,25 @@
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
|
android:ellipsize="end"
|
|
|
|
|
android:maxLines="1"
|
|
|
|
|
android:ellipsize="middle"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:minHeight="24dp"
|
|
|
|
|
android:singleLine="true"
|
|
|
|
|
android:text="Name"
|
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/ivSync"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ivSync"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/ivPrimary"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/ivSync" />
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/ivPrimary"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/marginTop" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/ivSync"
|
|
|
|
|
android:layout_width="24dp"
|
|
|
|
|
android:layout_height="24dp"
|
|
|
|
|
android:layout_marginTop="3dp"
|
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
|
android:src="@drawable/baseline_sync_24"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/tvName"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/tvName" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tvUser"
|
|
|
|
@ -62,35 +81,27 @@
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
|
android:ellipsize="end"
|
|
|
|
|
android:maxLines="1"
|
|
|
|
|
android:text="user"
|
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ivSync"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/ivPrimary"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/ivSync" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/ivState"
|
|
|
|
|
android:layout_width="24dp"
|
|
|
|
|
android:layout_height="24dp"
|
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
|
android:src="@drawable/baseline_cloud_off_24"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/vwColor"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvUser" />
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/ivState"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvName" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tvHost"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
|
android:ellipsize="end"
|
|
|
|
|
android:maxLines="1"
|
|
|
|
|
android:text="host"
|
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/ivState"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/tvAccount"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/ivPrimary"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/ivState" />
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/ivState"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvUser" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tvAccount"
|
|
|
|
@ -101,10 +112,9 @@
|
|
|
|
|
android:text="account"
|
|
|
|
|
android:textAlignment="textEnd"
|
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/ivState"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/tvHost"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/ivState" />
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/tvHost" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tvLast"
|
|
|
|
@ -117,7 +127,7 @@
|
|
|
|
|
android:text="Last connected time"
|
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/ivState"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/ivState"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvHost" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
@ -134,14 +144,19 @@
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/vwColor"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvLast" />
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/marginBottom"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="3dp"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvError" />
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/vSeparator"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="1dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:layout_marginBottom="6dp"
|
|
|
|
|
android:background="?attr/colorSeparator"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvError" />
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/marginBottom" />
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
</FrameLayout>
|
|
|
|
|