]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/pattern_details_header.xml
guard against ncurrent navigation controller destination being null
[mobile-ledger.git] / app / src / main / res / layout / pattern_details_header.xml
index 1e9e35f9e563cf28a1a2160272b0a31a819e7de1..245f7e0e606f05609d8d9cf9e91a780a39f1b8b5 100644 (file)
         android:id="@+id/pattern_details_year_source"
         android:layout_width="0dp"
         android:layout_height="wrap_content"
-        android:text="literal"
+        android:text="@string/pattern_details_source_literal"
         android:textAlignment="center"
         app:layout_constraintEnd_toStartOf="@id/pattern_details_month_source"
         app:layout_constraintStart_toStartOf="parent"
         android:id="@+id/pattern_details_date_year_layout"
         android:layout_width="0dp"
         android:layout_height="wrap_content"
-        app:layout_constraintEnd_toStartOf="@id/pattern_details_date_month_layout"
+        app:layout_constraintEnd_toEndOf="@id/pattern_details_year_source"
         app:layout_constraintStart_toStartOf="parent"
         app:layout_constraintTop_toBottomOf="@id/barrier_before_date_inputs"
         >
         android:id="@+id/pattern_details_date_month_layout"
         android:layout_width="0dp"
         android:layout_height="wrap_content"
-        app:layout_constraintEnd_toStartOf="@id/pattern_details_date_day_layout"
-        app:layout_constraintStart_toEndOf="@id/pattern_details_date_year_layout"
+        app:layout_constraintEnd_toEndOf="@id/pattern_details_month_source"
+        app:layout_constraintStart_toStartOf="@id/pattern_details_month_source"
         app:layout_constraintTop_toBottomOf="@id/barrier_before_date_inputs"
         >
         <com.google.android.material.textfield.TextInputEditText
         android:layout_height="wrap_content"
         app:layout_constraintBottom_toTopOf="@id/barrier_before_description"
         app:layout_constraintEnd_toEndOf="parent"
-        app:layout_constraintStart_toEndOf="@id/pattern_details_date_month_layout"
+        app:layout_constraintStart_toStartOf="@id/pattern_details_day_source"
         app:layout_constraintTop_toBottomOf="@id/barrier_before_date_inputs"
         >
         <com.google.android.material.textfield.TextInputEditText