52 lines
1.9 KiB
XML
52 lines
1.9 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:clickable="true"
|
||
|
android:focusable="true"
|
||
|
android:foreground="?selectableItemBackground">
|
||
|
|
||
|
<androidx.appcompat.widget.LinearLayoutCompat
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_margin="10dp"
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/icon"
|
||
|
android:layout_width="40dp"
|
||
|
android:layout_height="40dp"
|
||
|
android:layout_gravity="center"
|
||
|
android:contentDescription="@string/instance_logo"
|
||
|
android:scaleType="center" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/text"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center_vertical"
|
||
|
android:layout_weight="1" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/hide"
|
||
|
android:layout_width="40dp"
|
||
|
android:layout_height="40dp"
|
||
|
android:layout_gravity="center"
|
||
|
android:contentDescription="@string/hide_timeline"
|
||
|
android:scaleType="center"
|
||
|
android:src="@drawable/ic_baseline_visibility_off_24"
|
||
|
tools:ignore="RtlHardcoded" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/handle"
|
||
|
android:layout_width="40dp"
|
||
|
android:layout_height="40dp"
|
||
|
android:layout_gravity="center"
|
||
|
android:contentDescription="@string/move_timeline"
|
||
|
android:scaleType="center"
|
||
|
android:src="@drawable/ic_baseline_drag_handle_24"
|
||
|
tools:ignore="RtlHardcoded" />
|
||
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||
|
|
||
|
</FrameLayout>
|