114 lines
4.1 KiB
XML
114 lines
4.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<com.google.android.material.card.MaterialCardView
|
|
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"
|
|
style="@style/Widget.MaterialComponents.CardView"
|
|
android:id="@+id/obj_card"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
app:cardCornerRadius="4dp"
|
|
app:cardElevation="2dp"
|
|
app:cardUseCompatPadding="true"
|
|
app:contentPadding="16dp"
|
|
android:layout_gravity="center">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="sans-serif-medium"
|
|
android:textSize="20sp"
|
|
tools:text="1. Title" />
|
|
|
|
<TextView
|
|
android:id="@+id/objective"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
tools:text="Objective" />
|
|
|
|
<TextView
|
|
android:id="@+id/gate"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:textStyle="bold"
|
|
tools:text="Gate" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/progress"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:orientation="vertical">
|
|
|
|
</LinearLayout>
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/verify"
|
|
style="@style/OkCancelButton.Text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="end"
|
|
android:text="@string/objectives_button_verify" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/start"
|
|
style="@style/OkCancelButton.Text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="end"
|
|
android:text="@string/objectives_button_start" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/unfinish"
|
|
style="@style/OkCancelButton.Text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="end"
|
|
android:text="@string/objectives_button_unfinish" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/unstart"
|
|
style="@style/OkCancelButton.Text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="end"
|
|
android:text="@string/objectives_button_unstart" />
|
|
|
|
<TextView
|
|
android:id="@+id/accomplished"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
tools:text="Accomplished" />
|
|
|
|
<TextView
|
|
android:id="@+id/learned_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginBottom="4dp"
|
|
android:text="@string/what_i_ve_learned"
|
|
android:textStyle="bold" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/learned"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|