ariane/app/src/main/res/layout/grid_cell_tab.xml

31 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/tab_cell"
android:layout_width="match_parent"
android:layout_height="150dp"
android:layout_margin="@dimen/button_margin"
android:background="@drawable/drawable_stroke_rounded_rect"
android:padding="@dimen/default_margin"
android:clickable="true"
android:focusable="true"
android:foreground="?android:attr/selectableItemBackgroundBorderless">
<androidx.appcompat.widget.AppCompatImageButton
android:id="@+id/remove_tab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:src="@drawable/vector_cancel" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tab_last_uri"
android:layout_centerInParent="true"
android:textAlignment="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:text="gemini://oppenlab.net" />
</RelativeLayout>