mirror of https://github.com/MISP/misp-bump
67 lines
2.0 KiB
XML
67 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<android.support.v7.widget.CardView
|
|
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"
|
|
android:layout_marginBottom="16dp"
|
|
app:cardBackgroundColor="@color/colorWhite"
|
|
app:cardElevation="1dp"
|
|
app:cardCornerRadius="0dp"
|
|
app:cardPreventCornerOverlap="true"
|
|
app:contentPadding="16dp">
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent" android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent" android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_weight="1.0"
|
|
android:id="@+id/title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="18sp"
|
|
android:textStyle="bold"
|
|
android:text="Title"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/state_pending"
|
|
android:layout_width="wrap_content" android:layout_height="wrap_content"
|
|
android:tint="@color/colorPrimary"
|
|
android:src="@drawable/icon_hour_glass"/>
|
|
|
|
<ProgressBar
|
|
android:id="@+id/state_in_progress"
|
|
android:layout_width="24dp" android:layout_height="24dp"/>
|
|
<ImageView
|
|
android:id="@+id/state_done"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:tint="#4CAF50"
|
|
android:src="@drawable/icon_round_check"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/state_error"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:tint="#f44336"
|
|
android:src="@drawable/icon_round_error"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/state_error_text"
|
|
android:text="This will be a meaningful error, somewhen in the future!"
|
|
android:layout_width="match_parent" android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:textColor="#f44336"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</android.support.v7.widget.CardView>
|