2016-06-04 17:28:05 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-04-15 11:47:29 +02:00
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-06-09 22:07:41 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2022-04-15 11:47:29 +02:00
|
|
|
style="@style/Widget.MaterialComponents.CardView"
|
|
|
|
android:id="@+id/obj_card"
|
2016-06-04 17:28:05 +02:00
|
|
|
android:layout_width="match_parent"
|
2016-06-05 01:40:35 +02:00
|
|
|
android:layout_height="wrap_content"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:layout_marginStart="16dp"
|
2018-06-09 22:07:41 +02:00
|
|
|
android:layout_marginTop="16dp"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:layout_marginEnd="16dp"
|
2022-04-15 11:47:29 +02:00
|
|
|
app:cardCornerRadius="4dp"
|
2022-04-25 17:14:14 +02:00
|
|
|
app:cardElevation="2dp"
|
2018-06-09 22:07:41 +02:00
|
|
|
app:cardUseCompatPadding="true"
|
2022-04-15 11:47:29 +02:00
|
|
|
app:contentPadding="16dp"
|
|
|
|
android:layout_gravity="center">
|
2016-06-04 17:28:05 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2018-06-09 22:07:41 +02:00
|
|
|
<TextView
|
2021-01-24 16:16:07 +01:00
|
|
|
android:id="@+id/title"
|
2018-06-09 22:07:41 +02:00
|
|
|
android:layout_width="wrap_content"
|
2016-06-04 17:28:05 +02:00
|
|
|
android:layout_height="wrap_content"
|
2018-06-09 22:07:41 +02:00
|
|
|
android:fontFamily="sans-serif-medium"
|
|
|
|
android:textSize="20sp"
|
|
|
|
tools:text="1. Title" />
|
|
|
|
|
|
|
|
<TextView
|
2021-01-24 16:16:07 +01:00
|
|
|
android:id="@+id/objective"
|
2018-06-09 22:07:41 +02:00
|
|
|
android:layout_width="wrap_content"
|
2016-06-15 21:47:26 +02:00
|
|
|
android:layout_height="wrap_content"
|
2018-06-09 22:07:41 +02:00
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
tools:text="Objective" />
|
2016-06-15 21:47:26 +02:00
|
|
|
|
2018-06-09 22:07:41 +02:00
|
|
|
<TextView
|
2021-01-24 16:16:07 +01:00
|
|
|
android:id="@+id/gate"
|
2018-06-09 22:07:41 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
tools:text="Gate" />
|
2016-06-27 18:48:48 +02:00
|
|
|
|
2016-06-04 17:28:05 +02:00
|
|
|
<LinearLayout
|
2021-01-24 16:16:07 +01:00
|
|
|
android:id="@+id/progress"
|
2016-06-04 17:28:05 +02:00
|
|
|
android:layout_width="match_parent"
|
2018-06-09 22:07:41 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
2021-01-24 16:16:07 +01:00
|
|
|
android:orientation="vertical">
|
2019-09-02 08:42:25 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2022-02-23 19:05:55 +01:00
|
|
|
<com.google.android.material.button.MaterialButton
|
2021-01-24 16:16:07 +01:00
|
|
|
android:id="@+id/verify"
|
2022-02-23 23:40:10 +01:00
|
|
|
style="@style/OkCancelButton.Text"
|
2018-06-09 22:07:41 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-02-23 19:05:55 +01:00
|
|
|
android:layout_gravity="end"
|
2018-06-09 22:07:41 +02:00
|
|
|
android:text="@string/objectives_button_verify" />
|
2016-06-04 17:28:05 +02:00
|
|
|
|
2022-02-23 19:05:55 +01:00
|
|
|
<com.google.android.material.button.MaterialButton
|
2021-01-24 16:16:07 +01:00
|
|
|
android:id="@+id/start"
|
2022-02-23 23:40:10 +01:00
|
|
|
style="@style/OkCancelButton.Text"
|
2018-06-09 22:07:41 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-02-23 19:05:55 +01:00
|
|
|
android:layout_gravity="end"
|
2018-06-09 22:07:41 +02:00
|
|
|
android:text="@string/objectives_button_start" />
|
2018-07-30 18:51:36 +02:00
|
|
|
|
2022-02-23 19:05:55 +01:00
|
|
|
<com.google.android.material.button.MaterialButton
|
2021-01-24 16:16:07 +01:00
|
|
|
android:id="@+id/unfinish"
|
2022-02-23 23:40:10 +01:00
|
|
|
style="@style/OkCancelButton.Text"
|
2018-07-30 18:51:36 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-02-23 19:05:55 +01:00
|
|
|
android:layout_gravity="end"
|
2019-11-29 12:38:07 +01:00
|
|
|
android:text="@string/objectives_button_unfinish" />
|
|
|
|
|
2022-02-23 19:05:55 +01:00
|
|
|
<com.google.android.material.button.MaterialButton
|
2021-01-24 16:16:07 +01:00
|
|
|
android:id="@+id/unstart"
|
2022-02-23 23:40:10 +01:00
|
|
|
style="@style/OkCancelButton.Text"
|
2019-11-29 12:38:07 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-02-23 19:05:55 +01:00
|
|
|
android:layout_gravity="end"
|
2019-11-29 12:38:07 +01:00
|
|
|
android:text="@string/objectives_button_unstart" />
|
2019-09-01 10:33:17 +02:00
|
|
|
|
2019-09-02 23:10:31 +02:00
|
|
|
<TextView
|
2022-12-21 15:45:31 +01:00
|
|
|
android:id="@+id/accomplished"
|
|
|
|
android:layout_width="wrap_content"
|
2019-09-02 23:10:31 +02:00
|
|
|
android:layout_height="wrap_content"
|
2022-12-21 15:45:31 +01:00
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
tools:text="Accomplished" />
|
2019-09-02 23:10:31 +02:00
|
|
|
|
2019-09-05 20:53:53 +02:00
|
|
|
<TextView
|
2022-12-21 15:45:31 +01:00
|
|
|
android:id="@+id/learned_label"
|
|
|
|
android:layout_width="wrap_content"
|
2019-09-05 20:53:53 +02:00
|
|
|
android:layout_height="wrap_content"
|
2022-12-21 15:45:31 +01:00
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
android:text="@string/what_i_ve_learned"
|
|
|
|
android:textStyle="bold" />
|
2019-09-05 20:53:53 +02:00
|
|
|
|
2019-09-02 23:10:31 +02:00
|
|
|
<LinearLayout
|
2022-12-21 15:45:31 +01:00
|
|
|
android:id="@+id/learned"
|
2021-01-24 16:16:07 +01:00
|
|
|
android:layout_width="match_parent"
|
2022-12-21 15:45:31 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
2019-09-02 23:10:31 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2016-06-04 17:28:05 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2022-04-15 11:47:29 +02:00
|
|
|
</com.google.android.material.card.MaterialCardView>
|