78 lines
2.9 KiB
XML
78 lines
2.9 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"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/objective_cardview"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginRight="16dp"
|
|
android:layout_marginTop="16dp"
|
|
app:cardBackgroundColor="@color/colorPrimary"
|
|
app:cardCornerRadius="2dp"
|
|
app:cardUseCompatPadding="true"
|
|
app:contentPadding="16dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/objective_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="sans-serif-medium"
|
|
android:textColor="#FFFFFF"
|
|
android:textSize="20sp"
|
|
tools:text="1. Title" />
|
|
|
|
<TextView
|
|
android:id="@+id/objective_objective"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:textColor="#FFFFFF"
|
|
tools:text="Objective" />
|
|
|
|
<TextView
|
|
android:id="@+id/objective_gate"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:textColor="#FFFFFF"
|
|
android:textStyle="bold"
|
|
tools:text="Gate" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/objective_progress"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:orientation="vertical" />
|
|
|
|
<Button
|
|
android:id="@+id/objective_verify"
|
|
style="@style/Widget.AppCompat.Button.Borderless.Colored"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/objectives_button_verify" />
|
|
|
|
<Button
|
|
android:id="@+id/objective_start"
|
|
style="@style/Widget.AppCompat.Button.Borderless.Colored"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/objectives_button_start" />
|
|
|
|
<Button
|
|
android:id="@+id/objective_back"
|
|
style="@style/Widget.AppCompat.Button.Borderless.Colored"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/objectives_button_back" />
|
|
</LinearLayout>
|
|
|
|
</android.support.v7.widget.CardView>
|