mirror of https://github.com/MISP/misp-bump
80 lines
2.4 KiB
XML
80 lines
2.4 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">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:textSize="18sp"
|
|
android:textStyle="bold"
|
|
android:text="Title"/>
|
|
|
|
<TextView
|
|
android:visibility="gone"
|
|
android:id="@+id/state_error_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="32dp"
|
|
android:textColor="#FFCC0000"
|
|
android:text="ERRROOOORRR"
|
|
android:layout_below="@id/title"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/state_pending"
|
|
android:layout_centerVertical="true"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:tint="@color/colorPrimary"
|
|
android:src="@drawable/icon_hour_glass"/>
|
|
|
|
<ImageView
|
|
android:visibility="gone"
|
|
android:id="@+id/state_in_progress"
|
|
android:layout_centerVertical="true"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:tint="@color/colorPrimary"
|
|
android:src="@drawable/icon_cloud_upload"/>
|
|
|
|
<ImageView
|
|
android:visibility="gone"
|
|
android:id="@+id/state_done"
|
|
android:layout_centerVertical="true"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:tint="@color/colorPrimary"
|
|
android:src="@drawable/icon_round_check"/>
|
|
|
|
<ImageView
|
|
android:visibility="gone"
|
|
android:id="@+id/state_error"
|
|
android:layout_centerVertical="true"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:tint="@color/colorPrimary"
|
|
android:src="@drawable/icon_round_error"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
</android.support.v7.widget.CardView>
|