2015-11-25 16:08:24 +01:00
<?xml version="1.0" encoding="utf-8"?>
2020-02-22 00:43:50 +01:00
<androidx.cardview.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/cv_manga"
style="@style/Theme.Widget.CardView.Item"
android:padding="0dp">
2018-02-17 13:04:49 +01:00
2020-01-05 17:29:27 +01:00
<androidx.constraintlayout.widget.ConstraintLayout
2018-02-17 13:04:49 +01:00
android:id="@+id/linearLayout"
android:layout_width="match_parent"
android:layout_height="216dp"
android:background="?attr/selectable_list_drawable"
android:orientation="horizontal">
<ImageView
android:id="@+id/track_search_cover"
android:layout_width="135dp"
android:layout_height="match_parent"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
2020-02-22 00:43:50 +01:00
android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp"
2018-02-17 13:04:49 +01:00
android:contentDescription="@string/description_cover"
android:scaleType="centerCrop"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.0"
2020-02-22 00:43:50 +01:00
tools:src="@mipmap/ic_launcher" />
2020-02-05 04:24:16 +01:00
2018-02-17 13:04:49 +01:00
<TextView
android:id="@+id/track_search_title"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
2020-02-22 00:43:50 +01:00
android:layout_marginEnd="8dp"
2018-02-17 13:04:49 +01:00
android:maxLines="3"
android:textAppearance="@style/TextAppearance.Regular.Body1.Bold"
android:textSize="16sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/track_search_cover"
app:layout_constraintTop_toTopOf="parent"
2020-02-22 00:43:50 +01:00
tools:text="One Piece" />
2018-02-17 13:04:49 +01:00
<TextView
android:id="@+id/track_search_type"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:maxLines="1"
android:text="@string/track_type"
android:textAppearance="@style/TextAppearance.Regular.Body1.Bold"
android:textSize="12sp"
app:layout_constraintStart_toEndOf="@id/track_search_cover"
2020-02-22 00:43:50 +01:00
app:layout_constraintTop_toBottomOf="@id/track_search_title" />
2018-02-17 13:04:49 +01:00
<TextView
android:id="@+id/track_search_type_result"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:maxLines="1"
android:textAppearance="@style/TextAppearance.Regular.Body1.Secondary"
android:textSize="12sp"
app:layout_constraintStart_toEndOf="@id/track_search_type"
app:layout_constraintTop_toBottomOf="@id/track_search_title"
2020-02-22 00:43:50 +01:00
tools:text="Manga" />
2018-02-17 13:04:49 +01:00
<TextView
android:id="@+id/track_search_start"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:maxLines="1"
android:text="@string/track_start_date"
android:textAppearance="@style/TextAppearance.Regular.Body1.Bold"
android:textSize="12sp"
app:layout_constraintStart_toEndOf="@id/track_search_cover"
2020-02-22 00:43:50 +01:00
app:layout_constraintTop_toBottomOf="@id/track_search_type" />
2018-02-17 13:04:49 +01:00
<TextView
android:id="@+id/track_search_start_result"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:maxLines="1"
android:textAppearance="@style/TextAppearance.Regular.Body1.Secondary"
android:textSize="12sp"
app:layout_constraintStart_toEndOf="@id/track_search_start"
app:layout_constraintTop_toBottomOf="@id/track_search_type"
2020-02-22 00:43:50 +01:00
tools:text="2018-10-01" />
2018-02-17 13:04:49 +01:00
<TextView
android:id="@+id/track_search_status"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:maxLines="1"
android:text="@string/track_status"
android:textAppearance="@style/TextAppearance.Regular.Body1.Bold"
android:textSize="12sp"
app:layout_constraintStart_toEndOf="@id/track_search_cover"
2020-02-22 00:43:50 +01:00
app:layout_constraintTop_toBottomOf="@id/track_search_start" />
2018-02-17 13:04:49 +01:00
<TextView
android:id="@+id/track_search_status_result"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_marginStart="8dp"
android:maxLines="1"
android:textAppearance="@style/TextAppearance.Regular.Body1.Secondary"
android:textSize="12sp"
app:layout_constraintStart_toEndOf="@id/track_search_status"
app:layout_constraintTop_toBottomOf="@id/track_search_start"
2020-01-10 01:10:55 +01:00
tools:text="Ongoing" />
2018-02-17 13:04:49 +01:00
<TextView
android:id="@+id/track_search_summary"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
2020-02-22 00:43:50 +01:00
android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp"
2018-02-17 13:04:49 +01:00
android:ellipsize="end"
android:maxLines="7"
android:textAppearance="@style/TextAppearance.Regular.Body1.Secondary"
android:textSize="12sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toEndOf="@id/track_search_cover"
app:layout_constraintTop_toBottomOf="@+id/track_search_status"
app:layout_constraintVertical_bias="0.333"
2020-02-22 00:43:50 +01:00
tools:text="This is the summary of the manga that fits This is the summary of the manga that fits This is the summary of the manga that fits This is the summary of the manga that fits This is the summary of the manga that fits This is the summary of the manga that fits This is the summary of the manga that fits " />
2018-02-17 13:04:49 +01:00
2020-01-05 17:29:27 +01:00
<androidx.constraintlayout.widget.Guideline
2018-02-17 13:04:49 +01:00
android:id="@+id/guideline"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
2020-02-22 00:43:50 +01:00
app:layout_constraintGuide_begin="150dp" />
2018-02-17 13:04:49 +01:00
2020-01-05 17:29:27 +01:00
</androidx.constraintlayout.widget.ConstraintLayout>
2020-01-10 01:10:55 +01:00
2020-01-05 17:29:27 +01:00
</androidx.cardview.widget.CardView>