android:layout_width="match_parent"
android:layout_height="wrap_content"
android:animateLayoutChanges="true"
- android:paddingHorizontal="@dimen/text_margin"
+ android:padding="@dimen/text_margin"
>
<TextView
android:id="@+id/pattern_account_label"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="end"
- android:paddingTop="@dimen/text_margin"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:clickable="false"
android:text="@string/template_details_account_row_label"
android:textAppearance="?attr/textAppearanceListItem"
app:drawableBottomCompat="@drawable/dashed_border_8dp"
+ app:drawableStartCompat="@drawable/ic_baseline_drag_handle_24"
+ app:layout_constraintBottom_toTopOf="@id/template_account_name_source_label"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
/>
<TextView
android:id="@+id/template_account_name_source_label"
>
<com.google.android.material.textfield.MaterialAutoCompleteTextView
android:id="@+id/template_details_account_name"
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
+ style="@style/MoLeMaterialAutoCompleteTextViewStyle"
+ android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/template_details_account_name_label"
android:selectAllOnFocus="true"
/>
</com.google.android.material.textfield.TextInputLayout>
+
<TextView
android:id="@+id/template_details_negate_amount_label"
android:layout_width="0dp"
app:layout_constraintTop_toTopOf="@id/template_details_negate_amount_label"
/>
+ <TextView
+ android:id="@+id/template_account_currency_source_label"
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_marginTop="@dimen/text_margin"
+ android:text="@string/account_currency_source_label"
+ android:textAppearance="?attr/textAppearanceListItem"
+ app:layout_constraintBottom_toTopOf="@+id/template_details_account_currency_source"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/negate_amount_switch"
+ />
+ <TextView
+ android:id="@+id/template_details_account_currency_source"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:textAppearance="?attr/textAppearanceListItemSecondary"
+ app:layout_constraintBottom_toTopOf="@+id/template_details_account_currency"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/template_account_currency_source_label"
+ />
+ <TextView
+ android:id="@+id/template_details_account_currency"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginVertical="@dimen/half_text_margin"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/template_details_account_currency_source"
+ />
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file