Set textColorSecondary to a different gray (left textColorPrimary at the same value) and using them consequently throughout the app to make a more pleasant view

This commit is contained in:
dankito 2020-09-12 23:17:34 +02:00
parent 07941380ec
commit a1bee0aaa0
5 changed files with 19 additions and 4 deletions

View File

@ -32,6 +32,7 @@
android:ellipsize="end"
android:textSize="@dimen/list_item_account_transaction_label_text_size"
android:textStyle="bold"
android:textColor="@color/textColorPrimary"
/>
<TextView
@ -43,6 +44,7 @@
android:lines="2"
android:ellipsize="end"
android:textSize="@dimen/list_item_account_transaction_usage_text_size"
android:textColor="@color/textColorSecondary"
/>
</LinearLayout>

View File

@ -44,6 +44,7 @@
style="@style/TextAppearance.AppCompat.Medium"
android:gravity="center_vertical"
android:textSize="@dimen/list_item_bank_info_bank_name_text_size"
android:textColor="@color/textColorPrimary"
/>
<TextView
@ -54,8 +55,9 @@
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_alignParentBottom="true"
style="@style/TextAppearance.AppCompat.Small"
android:gravity="center_vertical"
style="@style/TextAppearance.AppCompat.Small"
android:textColor="@color/textColorSecondary"
/>
<TextView
@ -68,8 +70,9 @@
android:layout_toEndOf="@id/txtvwBankCode"
android:layout_alignTop="@id/txtvwBankCode"
android:layout_alignBottom="@id/txtvwBankCode"
style="@style/TextAppearance.AppCompat.Small"
android:gravity="center_vertical"
style="@style/TextAppearance.AppCompat.Small"
android:textColor="@color/textColorSecondary"
/>
</RelativeLayout>

View File

@ -14,6 +14,7 @@
style="@style/TextAppearance.AppCompat.Medium"
android:gravity="center_vertical"
android:textSize="@dimen/list_item_bank_info_bank_name_text_size"
android:textColor="@color/textColorPrimary"
/>
<TextView
@ -21,8 +22,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/list_item_remittee_space_between_fields"
style="@style/TextAppearance.AppCompat.Small"
android:gravity="center_vertical"
style="@style/TextAppearance.AppCompat.Small"
android:textColor="@color/textColorSecondary"
/>
<TextView
@ -31,8 +33,9 @@
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/list_item_remittee_space_between_fields"
android:layout_marginBottom="@dimen/list_item_remittee_bank_code_margin_bottom"
style="@style/TextAppearance.AppCompat.Small"
android:gravity="center_vertical"
style="@style/TextAppearance.AppCompat.Small"
android:textColor="@color/textColorSecondary"
/>
</LinearLayout>

View File

@ -10,6 +10,10 @@
<color name="backgroundColor_Dark">#303030</color>
<color name="backgroundColor_Light">#FFFFFF</color>
<color name="textColorPrimary">#000000</color>
<!-- Use a bit different gray as secondary text color, the same gray also used on iOS -->
<color name="textColorSecondary">#8a8a8e</color>
<color name="drawerMenuItemPrimaryColor">@color/primaryTextColor_Dark</color>

View File

@ -7,6 +7,9 @@
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="android:textColorPrimary">@color/textColorPrimary</item>
<item name="android:textColorSecondary">@color/textColorSecondary</item>
<item name="fabTextColor">@color/fabTextColor</item>
<item name="fabLabelBackgroundColor">@color/fabLabelBackgroundColor</item>
<item name="fabShadowColor">@color/fabShadowColor</item>