Skip to content

Commit ab08d7b

Browse files
committed
Fix: Improve UI Contrast
1 parent 2b82bb9 commit ab08d7b

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

app/src/main/res/layout/activity_main.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
android:layout_height="match_parent"
2020
android:layout_gravity="start"
2121
android:fitsSystemWindows="true"
22+
2223
app:headerLayout="@layout/component_drawer_header"
2324
app:menu="@menu/activity_drawer_item" >
2425

app/src/main/res/layout/activity_splash.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,11 @@
221221
android:id="@+id/check_items_title"
222222
android:layout_width="185dp"
223223
android:layout_height="28dp"
224-
android:layout_marginTop="@dimen/activity_vertical_margin"
224+
android:layout_marginTop="12dp"
225225
android:text="Check Items"
226226
android:textAppearance="@style/TextAppearance.AppCompat.Large"
227227
app:layout_constraintEnd_toStartOf="@+id/check_items_padding"
228+
app:layout_constraintHorizontal_bias="0.322"
228229
app:layout_constraintStart_toStartOf="parent"
229230
app:layout_constraintTop_toBottomOf="@+id/splash_activity_toolbar" />
230231

app/src/main/res/layout/component_drawer_header.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
android:contentDescription="@string/nav_header_desc"
2525
android:paddingTop="@dimen/nav_header_vertical_spacing"
2626
android:paddingEnd="@dimen/activity_horizontal_margin"
27-
app:riv_border_color="@color/colorPrimaryDark"
27+
app:riv_border_color="@color/colorAccentLight"
2828
app:riv_border_width="2dp"
2929
app:riv_corner_radius="32dp"
3030
app:riv_mutate_background="true"
@@ -54,14 +54,17 @@
5454
android:layout_height="wrap_content"
5555
android:paddingTop="@dimen/nav_header_vertical_spacing"
5656
android:text="@string/nav_header_title"
57-
android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
57+
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
58+
android:textColor="@color/colorAccent" />
5859

5960
<TextView
6061

6162
android:id="@+id/main_drawer_userid"
6263
android:layout_width="wrap_content"
6364
android:layout_height="wrap_content"
64-
android:text="@string/nav_header_subtitle" />
65+
android:text="@string/nav_header_subtitle"
66+
android:textColor="@color/colorAccentLight"
67+
android:textStyle="italic" />
6568
</LinearLayout>
6669

6770
</androidx.constraintlayout.widget.ConstraintLayout>

app/src/main/res/layout/component_item_supporting.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
android:id="@+id/supporting_coverImg"
9191
android:layout_width="120dp"
9292
android:layout_height="wrap_content"
93+
android:layout_marginRight="8dp"
9394
android:layout_weight="1"
9495
android:maxWidth="80dp"
9596
app:srcCompat="@drawable/load_24dp" />

app/src/main/res/values/colors.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
<resources>
33
<color name="colorPrimary">#F9F089</color>
44
<color name="colorPrimaryDark">#E9E079</color>
5-
<color name="colorAccent">#0096FA</color>
5+
<color name="colorAccent">#D90096FA</color>
6+
<color name="colorAccentLight">#B30096FA</color>
67
<color name="white">#FFFFFF</color>
78
<color name="black">#000000</color>
89
<color name="colorSuccess">#DEFABB</color>

0 commit comments

Comments
 (0)