android:layout_height="wrap_content"
android:layout_margin="8dp"
android:visibility="visible"
- app:cardCornerRadius="4dp"
+ app:cardBackgroundColor="?table_row_light_bg"
app:cardUseCompatPadding="false"
+ app:cardCornerRadius="0dp"
>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:minHeight="36dp"
- android:orientation="horizontal"
android:padding="8dp"
>
<TextView
android:id="@+id/transaction_row_description"
- style="@style/account_summary_account_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="---."
+ android:textColor="?textColor"
android:textAppearance="@android:style/TextAppearance.Material.Medium"
+ android:textStyle="bold"
tools:ignore="HardcodedText"
/>
<TextView
android:id="@+id/transaction_comment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
+ android:layout_marginStart="0dp"
+ android:layout_marginTop="0dp"
android:text="Comment text"
- android:textStyle="italic"
+ android:textAppearance="@android:style/TextAppearance.Material.Small"
+ android:textColor="?commentColor"
tools:ignore="HardcodedText"
/>
</LinearLayout>
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
- android:layout_weight="5"
android:orientation="vertical"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
android:layout_height="wrap_content"
android:text="another acc name"
android:textAlignment="viewStart"
- android:textAppearance="@android:style/TextAppearance.Material.Small"
- android:textColor="@android:color/secondary_text_light"
+ android:textAppearance="@android:style/TextAppearance.Material.Medium"
+ android:textColor="?textColor"
android:textStyle="normal"
- tools:ignore="HardcodedText" />
+ tools:ignore="HardcodedText"
+ />
<TextView
android:id="@+id/transaction_list_acc_row_acc_comment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:alpha="0.75"
- android:paddingStart="8dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginTop="-4dp"
android:text="account comment"
android:textAlignment="viewStart"
android:textAppearance="@android:style/TextAppearance.Material.Small"
- android:textColor="@android:color/secondary_text_light"
- android:textStyle="italic"
- tools:ignore="HardcodedText,RtlSymmetry" />
+ android:textColor="?commentColor"
+ tools:ignore="HardcodedText,RtlSymmetry"
+ />
</LinearLayout>
<TextView
android:minWidth="60dp"
android:text="---,--"
android:textAlignment="viewEnd"
+ android:textColor="?textColor"
tools:ignore="HardcodedText" />
</LinearLayout>
<?xml version="1.0" encoding="utf-8"?>
<!--
- ~ Copyright © 2019 Damyan Ivanov.
+ ~ Copyright © 2020 Damyan Ivanov.
~ This file is part of MoLe.
~ MoLe is free software: you can distribute it and/or modify it
~ under the term of the GNU General Public License as published by
<attr name="table_row_dark_bg" format="reference|color"/>
<attr name="table_row_light_bg" format="reference|color"/>
<attr name="textColor" format="reference|color"/>
+ <attr name="commentColor" format="reference|color" />
<attr name="colorPrimaryTransparent" format="reference|color" />
</resources>
\ No newline at end of file
<!--
- ~ Copyright © 2019 Damyan Ivanov.
+ ~ Copyright © 2020 Damyan Ivanov.
~ This file is part of MoLe.
~ MoLe is free software: you can distribute it and/or modify it
~ under the term of the GNU General Public License as published by
<item name="table_row_light_bg">#28ddcbff</item>
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
- <item name="textColor">#707070</item>
+ <item name="textColor">#686868</item>
+ <item name="commentColor">#909090</item>
<item name="colorOnSecondary">@android:color/white</item>
- <item name="textInputStyle">@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense</item>
+ <item name="textInputStyle">
+ @style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense
+ </item>
<item name="colorError">#FFE1E2</item>
<item name="colorOnError">#CD1609</item>
<item name="floatingActionButtonStyle">@style/myFabStyle</item>