]> git.ktnx.net Git - mobile-ledger.git/commitdiff
fix alignment of date component inputs
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 1 Feb 2021 06:17:46 +0000 (08:17 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 1 Feb 2021 06:17:46 +0000 (08:17 +0200)
app/src/main/res/layout/pattern_details_header.xml

index 1e9e35f9e563cf28a1a2160272b0a31a819e7de1..17a648c09ca8d738fe32b750f8d77003a6196c3c 100644 (file)
         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