mirror of https://github.com/MISP/misp-bump
54 lines
2.1 KiB
XML
54 lines
2.1 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:padding="16dp"
|
|
android:foreground="?attr/selectableItemBackgroundBorderless"
|
|
android:animateLayoutChanges="true">
|
|
|
|
<ImageView
|
|
android:id="@+id/progressIcon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_error_outline"
|
|
android:tint="@color/black"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"/>
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progressBar"
|
|
android:visibility="gone"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"/>
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="2dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:textAppearance="@style/AppTheme.TextAppearance.ListTitle"
|
|
app:layout_constraintEnd_toStartOf="@+id/progressIcon"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:text="Add Organisation"/>
|
|
|
|
<TextView
|
|
android:id="@+id/error"
|
|
android:visibility="gone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:textAppearance="@style/AppTheme.TextAppearance.ListSubtitle"
|
|
android:textColor="@color/status_red"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/title"
|
|
tools:text="Organisation B added successfully"/>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|