forked from GitHub-Mirror/riotX-android
95 lines
4.0 KiB
XML
95 lines
4.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?android:attr/colorBackground"
|
|
android:minHeight="50dp">
|
|
|
|
|
|
<ImageView
|
|
android:id="@+id/troubleshootStatusIcon"
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:layout_margin="16dp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:srcCompat="@drawable/unit_test_ko" />
|
|
|
|
<TextView
|
|
android:id="@+id/troubleshootTestTitle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginRight="16dp"
|
|
android:paddingTop="4dp"
|
|
android:paddingBottom="4dp"
|
|
android:textSize="14sp"
|
|
android:textStyle="bold"
|
|
app:layout_constraintBottom_toTopOf="@+id/troubleshootTestDescription"
|
|
app:layout_constraintEnd_toStartOf="@+id/troubleshootStatusIcon"
|
|
app:layout_constraintHorizontal_bias="0.5"
|
|
app:layout_constraintHorizontal_chainStyle="spread"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintVertical_chainStyle="packed"
|
|
tools:text="@string/settings_troubleshoot_test_device_settings_title" />
|
|
|
|
<TextView
|
|
android:id="@+id/troubleshootTestDescription"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginRight="16dp"
|
|
android:paddingTop="4dp"
|
|
android:paddingBottom="4dp"
|
|
android:textColor="?riotx_text_secondary"
|
|
android:visibility="gone"
|
|
app:layout_constraintBottom_toTopOf="@id/troubleshootTestButton"
|
|
app:layout_constraintEnd_toStartOf="@+id/troubleshootStatusIcon"
|
|
app:layout_constraintHorizontal_bias="0"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/troubleshootTestTitle"
|
|
tools:text="@string/settings_troubleshoot_test_device_settings_failed"
|
|
tools:visibility="visible" />
|
|
|
|
<Button
|
|
android:id="@+id/troubleshootTestButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginRight="16dp"
|
|
android:layout_marginBottom="16dp"
|
|
android:background="?attr/colorAccent"
|
|
android:padding="8dp"
|
|
android:textColor="@android:color/white"
|
|
android:visibility="gone"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toStartOf="@+id/troubleshootProgressBar"
|
|
app:layout_constraintHorizontal_bias="1.0"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/troubleshootTestDescription"
|
|
tools:text="@string/settings_troubleshoot_test_device_settings_quickfix"
|
|
tools:visibility="visible" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/troubleshootProgressBar"
|
|
style="?android:attr/progressBarStyle"
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:layout_margin="16dp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="@+id/troubleshootTestTitle"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|