Skip to content

Commit

Permalink
Match system bars with UI colors
Browse files Browse the repository at this point in the history
  • Loading branch information
harshad1 committed Jul 13, 2024
1 parent 3a7f816 commit bce6cb2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ protected boolean onReceiveKeyPress(GsFragmentBase fragment, int keyCode, KeyEve

@Override
public Integer getNewNavigationBarColor() {
return _cu.parseHexColorString(_appSettings.getNavigationBarColor());
return null; // Set by style
}

@Override
Expand Down
10 changes: 5 additions & 5 deletions app/src/main/res/drawable/rounded_corner_background.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<inset xmlns:android="http://schemas.android.com/apk/res/android"
android:insetLeft="16dp"
android:insetRight="16dp"
android:insetBottom="10dp"
android:insetTop="10dp">
android:insetLeft="8dp"
android:insetRight="8dp"
android:insetBottom="8dp"
android:insetTop="8dp">
<shape>
<corners android:radius="16dp" />
<corners android:radius="@dimen/dialog_corner_radius"/>
<solid android:color="?attr/colorBackgroundFloating" />
</shape>
</inset>
2 changes: 1 addition & 1 deletion app/src/main/res/layout/widget_layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background_2">
android:background="@drawable/rounded_corner_background">

<RelativeLayout
android:layout_width="match_parent"
Expand Down

0 comments on commit bce6cb2

Please sign in to comment.