1<?xml version="1.0" encoding="utf-8"?><!--
2 * Copyright (C) 2017 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15-->
16<merge xmlns:android="http://schemas.android.com/apk/res/android"
17    xmlns:app="http://schemas.android.com/apk/res-auto">
18
19    <android.support.constraint.ConstraintLayout
20        android:id="@+id/navigation_item_layout"
21        android:layout_width="match_parent"
22        android:layout_height="wrap_content">
23
24        <Spinner
25            android:id="@+id/ccExpMonth"
26            android:layout_width="wrap_content"
27            android:layout_height="wrap_content"
28            android:layout_marginBottom="8dp"
29            android:contentDescription="@string/cc_exp_month_description"
30            app:layout_constraintBottom_toBottomOf="@+id/monthYearDelimiter"
31            app:layout_constraintEnd_toStartOf="@+id/monthYearDelimiter"
32            app:layout_constraintHorizontal_bias="0.5"
33            app:layout_constraintStart_toStartOf="parent"
34            app:layout_constraintTop_toTopOf="@+id/monthYearDelimiter" />
35
36        <TextView
37            android:id="@+id/monthYearDelimiter"
38            android:layout_width="wrap_content"
39            android:layout_height="wrap_content"
40            android:text="@string/slash"
41            app:layout_constraintBottom_toBottomOf="parent"
42            app:layout_constraintEnd_toStartOf="@+id/ccExpYear"
43            app:layout_constraintHorizontal_bias="0.5"
44            app:layout_constraintStart_toEndOf="@+id/ccExpMonth"
45            app:layout_constraintTop_toTopOf="parent" />
46
47        <Spinner
48            android:id="@+id/ccExpYear"
49            android:layout_width="wrap_content"
50            android:layout_height="wrap_content"
51            android:contentDescription="@string/cc_exp_year_description"
52            app:layout_constraintBottom_toBottomOf="@+id/monthYearDelimiter"
53            app:layout_constraintEnd_toEndOf="parent"
54            app:layout_constraintHorizontal_bias="0.5"
55            app:layout_constraintStart_toEndOf="@+id/monthYearDelimiter"
56            app:layout_constraintTop_toTopOf="@+id/monthYearDelimiter" />
57    </android.support.constraint.ConstraintLayout>
58</merge>