mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-16 07:10:29 +05:30
35 lines
1.4 KiB
XML
35 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout 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:layout_width="match_parent"
|
|
android:orientation="horizontal"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:paddingHorizontal="16dp"
|
|
android:gravity="center_vertical"
|
|
android:paddingVertical="8dp"
|
|
android:layout_height="wrap_content">
|
|
|
|
<com.github.libretube.ui.views.DrawableTextView
|
|
android:id="@+id/history_text"
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content"
|
|
android:textAlignment="viewStart"
|
|
android:drawablePadding="15dp"
|
|
android:layout_marginEnd="10dp"
|
|
app:drawableStartCompat="@drawable/ic_history"
|
|
tools:text="Suggestion item" />
|
|
|
|
<ImageView
|
|
android:id="@+id/delete_history"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:padding="5dp"
|
|
android:src="@drawable/ic_close"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:shapeAppearanceOverlay="@style/roundedImageViewRounded" />
|
|
</LinearLayout>
|