You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.5 KiB
44 lines
1.5 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.cardview.widget.CardView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/card"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:layout_margin="4dp"
|
|
app:cardCornerRadius="4dp"
|
|
app:cardElevation="4dp"
|
|
android:foreground="?android:selectableItemBackground">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/uriText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="16sp"
|
|
android:textColor="@color/text"
|
|
android:layout_margin="8dp"
|
|
android:fontFamily="@font/preformatted"
|
|
android:typeface="monospace" />
|
|
|
|
<TextView
|
|
android:id="@+id/titleText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="14sp"
|
|
android:textColor="@color/text"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:layout_marginTop="0dp"
|
|
android:layout_marginBottom="8dp"
|
|
android:textAppearance="?attr/textAppearanceListItem" />
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|