1<?xml version="1.0" encoding="utf-8"?><!-- 2 ~ Copyright (C) 2025 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<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" 17 xmlns:app="http://schemas.android.com/apk/res-auto" 18 android:layout_width="match_parent" 19 android:layout_height="wrap_content" 20 android:layoutDirection="ltr" 21 android:orientation="horizontal"> 22 23 <ImageButton 24 android:id="@+id/navigation_previous_day" 25 android:layout_width="wrap_content" 26 android:layout_height="wrap_content" 27 android:layout_alignParentStart="true" 28 android:background="@null" 29 android:contentDescription="@string/navigation_previous_day" 30 android:padding="@dimen/spacing_normal" 31 android:src="@drawable/arrow_left" 32 app:layout_constraintStart_toStartOf="parent" 33 app:layout_constraintTop_toTopOf="parent" /> 34 35 <ImageButton 36 android:id="@+id/navigation_next_day" 37 android:layout_width="wrap_content" 38 android:layout_height="wrap_content" 39 android:layout_alignParentEnd="true" 40 android:background="@null" 41 android:contentDescription="@string/navigation_next_day" 42 android:padding="@dimen/spacing_normal" 43 android:src="@drawable/arrow_right" 44 app:layout_constraintEnd_toEndOf="parent" 45 app:layout_constraintTop_toTopOf="parent" /> 46 47 <androidx.constraintlayout.widget.ConstraintLayout 48 android:layout_width="match_parent" 49 android:layout_height="wrap_content" 50 android:layout_centerInParent="true" 51 app:layout_constraintBottom_toBottomOf="parent" 52 app:layout_constraintEnd_toEndOf="@+id/navigation_next_day" 53 app:layout_constraintStart_toStartOf="@+id/navigation_previous_day" 54 app:layout_constraintTop_toTopOf="parent" 55 android:layoutDirection="locale" 56 android:orientation="horizontal"> 57 58 <Spinner 59 android:id="@+id/date_picker_spinner" 60 android:layout_width="wrap_content" 61 android:layout_height="match_parent" 62 android:layout_centerInParent="true" 63 android:spinnerMode="dropdown" 64 app:layout_constraintBottom_toBottomOf="parent" 65 app:layout_constraintEnd_toEndOf="parent" 66 app:layout_constraintStart_toStartOf="parent" 67 app:layout_constraintTop_toTopOf="parent" 68 android:contentDescription="@string/navigation_selected_day" 69 style="?attr/spinnerStyle" 70 android:textAlignment="center" /> 71 72 <TextView 73 android:id="@+id/disabled_spinner" 74 style="?attr/disabledSpinner" 75 android:importantForAccessibility="no" 76 android:layout_width="wrap_content" 77 android:layout_height="match_parent" 78 android:layout_centerInParent="true" 79 android:contentDescription="@string/navigation_selected_day" 80 android:visibility="gone" 81 app:layout_constraintBottom_toBottomOf="parent" 82 app:layout_constraintEnd_toEndOf="parent" 83 app:layout_constraintStart_toStartOf="parent" 84 app:layout_constraintTop_toTopOf="parent" 85 android:paddingStart="@dimen/spacing_large" 86 android:paddingEnd="40dp" 87 android:textAlignment="center" /> 88 </androidx.constraintlayout.widget.ConstraintLayout> 89 90 91</androidx.constraintlayout.widget.ConstraintLayout>