<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<LinearLayout
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:focusable="true"
android:gravity="center_vertical"
android:orientation="horizontal">
<!-- TODO(crbug.com/40600572): Fix and remove lint ignore -->
<EditText
tools:ignore="Autofill,LabelFor"
android:id="@+id/cc_month_edit"
android:hint="@string/autofill_expiration_date_month_hint"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:width="50sp"
android:gravity="center_horizontal"
android:maxLength="2"
android:imeOptions="actionNext"
android:inputType="number"/>
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/autofill_expiration_date_separator"/>
<!-- TODO(crbug.com/40600572): Fix and remove lint ignore -->
<EditText
tools:ignore="Autofill,LabelFor"
android:id="@+id/cc_year_edit"
android:hint="@string/autofill_expiration_date_year_hint"
android:layout_width="wrap_content"
android:width="50sp"
android:gravity="center_horizontal"
android:layout_height="wrap_content"
android:imeOptions="actionDone"
android:maxLength="2"
android:inputType="number"/>
</LinearLayout>