2015-11-25 10:08:24 -05:00
<?xml version="1.0" encoding="utf-8"?>
2021-06-28 11:33:26 -04:00
<com.google.android.material.card.MaterialCardView xmlns:android= "http://schemas.android.com/apk/res/android"
2020-02-21 18:43:50 -05:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
2021-06-28 11:33:26 -04:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="4dp"
android:checkable="true"
android:clickable="true"
android:focusable="true"
app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.MaterialCardView.Tracker">
2018-02-17 07:04:49 -05:00
2020-01-05 11:29:27 -05:00
<androidx.constraintlayout.widget.ConstraintLayout
2018-02-17 07:04:49 -05:00
android:layout_width="match_parent"
2021-06-28 11:33:26 -04:00
android:layout_height="wrap_content"
2021-07-03 09:44:12 -04:00
android:layout_marginBottom="12dp"
2018-02-17 07:04:49 -05:00
android:orientation="horizontal">
<ImageView
android:id="@+id/track_search_cover"
2021-07-03 09:44:12 -04:00
android:layout_width="68dp"
android:layout_height="95dp"
android:layout_marginStart="12dp"
android:layout_marginTop="12dp"
2018-02-17 07:04:49 -05:00
android:contentDescription="@string/description_cover"
android:scaleType="centerCrop"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
2020-02-21 18:43:50 -05:00
tools:src="@mipmap/ic_launcher" />
2020-02-04 22:24:16 -05:00
2018-02-17 07:04:49 -05:00
<TextView
android:id="@+id/track_search_title"
android:layout_width="0dp"
android:layout_height="wrap_content"
2021-07-03 09:44:12 -04:00
android:layout_marginStart="12dp"
2018-02-17 07:04:49 -05:00
android:layout_marginTop="8dp"
2021-06-28 11:33:26 -04:00
android:layout_marginEnd="36dp"
android:ellipsize="end"
android:maxLines="2"
android:textAppearance="?attr/textAppearanceHeadline6"
android:textSize="17sp"
2018-02-17 07:04:49 -05:00
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/track_search_cover"
app:layout_constraintTop_toTopOf="parent"
2021-06-28 11:33:26 -04:00
tools:text="@string/app_name" />
2018-02-17 07:04:49 -05:00
<TextView
android:id="@+id/track_search_type"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="1"
android:text="@string/track_type"
2021-06-28 11:33:26 -04:00
android:textAppearance="?attr/textAppearanceSubtitle2"
app:layout_constraintStart_toStartOf="@+id/track_search_title"
2020-02-21 18:43:50 -05:00
app:layout_constraintTop_toBottomOf="@id/track_search_title" />
2018-02-17 07:04:49 -05:00
<TextView
android:id="@+id/track_search_type_result"
2021-06-28 11:33:26 -04:00
android:layout_width="0dp"
2018-02-17 07:04:49 -05:00
android:layout_height="wrap_content"
2021-06-28 11:33:26 -04:00
android:layout_marginStart="4dp"
android:layout_marginEnd="12dp"
2018-02-17 07:04:49 -05:00
android:maxLines="1"
2021-06-28 11:33:26 -04:00
android:textAppearance="?attr/textAppearanceBody2"
android:textColor="?android:attr/textColorSecondary"
app:layout_constraintEnd_toEndOf="parent"
2018-02-17 07:04:49 -05:00
app:layout_constraintStart_toEndOf="@id/track_search_type"
app:layout_constraintTop_toBottomOf="@id/track_search_title"
2020-02-21 18:43:50 -05:00
tools:text="Manga" />
2018-02-17 07:04:49 -05:00
<TextView
android:id="@+id/track_search_start"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="1"
android:text="@string/track_start_date"
2021-06-28 11:33:26 -04:00
android:textAppearance="?attr/textAppearanceSubtitle2"
app:layout_constraintStart_toStartOf="@+id/track_search_type"
2020-02-21 18:43:50 -05:00
app:layout_constraintTop_toBottomOf="@id/track_search_type" />
2018-02-17 07:04:49 -05:00
<TextView
android:id="@+id/track_search_start_result"
2021-06-28 11:33:26 -04:00
android:layout_width="0dp"
2018-02-17 07:04:49 -05:00
android:layout_height="wrap_content"
2021-06-28 11:33:26 -04:00
android:layout_marginStart="4dp"
android:layout_marginEnd="12dp"
android:ellipsize="end"
2018-02-17 07:04:49 -05:00
android:maxLines="1"
2021-06-28 11:33:26 -04:00
android:textAppearance="?attr/textAppearanceBody2"
android:textColor="?android:attr/textColorSecondary"
app:layout_constraintEnd_toEndOf="parent"
2018-02-17 07:04:49 -05:00
app:layout_constraintStart_toEndOf="@id/track_search_start"
app:layout_constraintTop_toBottomOf="@id/track_search_type"
2020-02-21 18:43:50 -05:00
tools:text="2018-10-01" />
2018-02-17 07:04:49 -05:00
<TextView
android:id="@+id/track_search_status"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2021-06-28 11:33:26 -04:00
android:ellipsize="end"
2018-02-17 07:04:49 -05:00
android:maxLines="1"
android:text="@string/track_status"
2021-06-28 11:33:26 -04:00
android:textAppearance="?attr/textAppearanceSubtitle2"
app:layout_constraintStart_toStartOf="@+id/track_search_start"
2020-02-21 18:43:50 -05:00
app:layout_constraintTop_toBottomOf="@id/track_search_start" />
2018-02-17 07:04:49 -05:00
<TextView
android:id="@+id/track_search_status_result"
2021-06-28 11:33:26 -04:00
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:layout_marginEnd="12dp"
android:ellipsize="end"
2018-02-17 07:04:49 -05:00
android:maxLines="1"
2021-06-28 11:33:26 -04:00
android:textAppearance="?attr/textAppearanceBody2"
android:textColor="?android:attr/textColorSecondary"
app:layout_constraintEnd_toEndOf="parent"
2018-02-17 07:04:49 -05:00
app:layout_constraintStart_toEndOf="@id/track_search_status"
app:layout_constraintTop_toBottomOf="@id/track_search_start"
2020-01-09 19:10:55 -05:00
tools:text="Ongoing" />
2018-02-17 07:04:49 -05:00
<TextView
android:id="@+id/track_search_summary"
android:layout_width="0dp"
2021-07-03 09:44:12 -04:00
android:layout_height="wrap_content"
android:layout_marginStart="12dp"
2018-02-17 07:04:49 -05:00
android:layout_marginTop="8dp"
2021-06-28 11:33:26 -04:00
android:layout_marginEnd="12dp"
2021-07-03 09:44:12 -04:00
android:ellipsize="end"
android:maxLines="4"
2021-06-28 11:33:26 -04:00
android:textAppearance="?attr/textAppearanceCaption"
android:textColor="?android:attr/textColorSecondary"
2018-02-17 07:04:49 -05:00
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
2021-07-03 09:44:12 -04:00
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/barrier"
2021-06-28 11:33:26 -04:00
tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas condimentum et turpis ut sollicitudin. Donec tellus dolor, rhoncus a mattis eget, tempor quis augue. Fusce eleifend dignissim turpis a molestie. Praesent tincidunt, risus sed egestas fringilla, urna orci ultrices libero, id iaculis sem lorem placerat lacus." />
2018-02-17 07:04:49 -05:00
2021-07-03 09:44:12 -04:00
<androidx.constraintlayout.widget.Barrier
android:id="@+id/barrier"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:barrierDirection="bottom"
app:constraint_referenced_ids="track_search_start_result,track_search_title,track_search_type_result,track_search_status,track_search_cover,track_search_status_result,track_search_type,track_search_start" />
2020-01-05 11:29:27 -05:00
</androidx.constraintlayout.widget.ConstraintLayout>
2020-01-09 19:10:55 -05:00
2021-06-28 11:33:26 -04:00
</com.google.android.material.card.MaterialCardView>