autofill_row.xml

1.7 KB · raw

1<?xml version="1.0" encoding="utf-8"?>2<!-- Dropdown-menu presentation for one vault entry. The inline chip is built3     in code (InlineSuggestionUi); this is the fallback shown in the autofill4     drop-down. Amber title on the dark Peach surface. -->5<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"6    android:layout_width="match_parent"7    android:layout_height="wrap_content"8    android:orientation="horizontal"9    android:gravity="center_vertical"10    android:background="#161310"11    android:paddingStart="14dp"12    android:paddingEnd="14dp"13    android:paddingTop="11dp"14    android:paddingBottom="11dp">1516    <ImageView17        android:id="@+id/autofill_row_icon"18        android:layout_width="20dp"19        android:layout_height="20dp"20        android:layout_marginEnd="12dp"21        android:src="@drawable/ic_peach_mark"22        android:contentDescription="@string/autofill_service_label" />2324    <TextView25        android:id="@+id/autofill_row_title"26        android:layout_width="0dp"27        android:layout_height="wrap_content"28        android:layout_weight="1"29        android:singleLine="true"30        android:ellipsize="end"31        android:textColor="#E8956D"32        android:textSize="15sp"33        tools:ignore="HardcodedText"34        xmlns:tools="http://schemas.android.com/tools"35        android:text="Entry" />3637    <TextView38        android:id="@+id/autofill_row_subtitle"39        android:layout_width="wrap_content"40        android:layout_height="wrap_content"41        android:layout_marginStart="10dp"42        android:singleLine="true"43        android:ellipsize="end"44        android:textColor="#8A8178"45        android:textSize="12sp"46        android:fontFamily="monospace" />47</LinearLayout>