- android:layout_width="match_parent" >
-
- <ImageView
- android:id="@+id/back_arrow"
- android:src="@drawable/back"
- app:tint="?attr/colorControlNormal"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginEnd="14dp"
- android:contentDescription="@string/back"
- android:onClick="goBack" />
-
- <!-- `android:imeOptions="actionGo"` sets the keyboard to have a `go` key instead of a `new line` key.
- `android:inputType="textUri"` disables spell check in the `EditText`. -->
- <EditText
- android:id="@+id/url_edittext"
- android:layout_height="wrap_content"
- android:layout_width="match_parent"
- android:layout_toEndOf="@id/back_arrow"
- android:hint="@string/url"
- android:imeOptions="actionGo"
- android:inputType="textUri"
- android:selectAllOnFocus="true"
- tools:ignore="Autofill" />
-</RelativeLayout>
+ android:layout_width="match_parent"
+ android:hint="@string/url"
+ android:imeOptions="actionGo"
+ android:inputType="textUri"
+ android:selectAllOnFocus="true"
+ tools:ignore="Autofill" />