tachiyomi/app/src/main/res/layout/recents_footer_item.xml
2020-04-19 20:46:53 -04:00

35 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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/recent_item"
android:background="@drawable/list_item_selector"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.google.android.material.textview.MaterialTextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
android:layout_marginTop="6dp"
android:layout_marginBottom="12dp"
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
android:fontFamily="sans-serif-medium"
app:layout_constraintStart_toEndOf="@id/arrow"
app:layout_constraintTop_toTopOf="parent"
android:textColor="?colorAccent"
app:layout_constraintBottom_toBottomOf="parent"
tools:text="@string/view_all_updates" />
<ImageView
android:id="@+id/arrow"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_arrow_forward_white_24dp"
android:tint="?colorAccent"
android:layout_marginStart="12dp"
app:layout_constraintTop_toTopOf="@id/title"
app:layout_constraintBottom_toBottomOf="@id/title"
app:layout_constraintStart_toStartOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>