Skip to content

Commit

Permalink
Settings: Update "App Theme" icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmud0808 committed Sep 12, 2023
1 parent e22ad71 commit 4a73366
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions app/src/main/res/drawable-v24/ic_app_theme.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M14.971,22.75H8.971C3.541,22.75 1.221,20.43 1.221,15V9C1.221,3.57 3.541,1.25 8.971,1.25H10.971C11.381,1.25 11.721,1.59 11.721,2C11.721,2.41 11.381,2.75 10.971,2.75H8.971C4.361,2.75 2.721,4.39 2.721,9V15C2.721,19.61 4.361,21.25 8.971,21.25H14.971C19.581,21.25 21.221,19.61 21.221,15V13C21.221,12.59 21.561,12.25 21.971,12.25C22.381,12.25 22.721,12.59 22.721,13V15C22.721,20.43 20.411,22.75 14.971,22.75Z"
android:fillColor="#292D32"/>
<path
android:pathData="M12.78,15.24C12.63,15.24 12.49,15.2 12.36,15.11C12.15,14.97 12.03,14.74 12.03,14.49C12.03,14.38 12.02,14.26 12,14.14C11.93,13.61 11.69,13.14 11.29,12.73C10.88,12.32 10.38,12.06 9.83,11.99C9.75,11.98 9.62,11.97 9.5,11.98C9.25,12 9,11.89 8.85,11.69C8.7,11.49 8.66,11.22 8.74,10.98C8.86,10.64 9.05,10.32 9.27,10.07L10.5,8.53C12.64,5.86 16.95,2.66 20.13,1.39C20.86,1.11 21.63,1.27 22.16,1.8C22.71,2.35 22.87,3.13 22.58,3.84C21.31,7.01 18.11,11.33 15.45,13.46L13.88,14.72C13.57,14.94 13.32,15.09 13.06,15.19C12.97,15.22 12.87,15.24 12.78,15.24ZM10.72,10.67C11.33,10.87 11.88,11.21 12.35,11.67C12.81,12.13 13.14,12.66 13.33,13.23L14.51,12.28C17,10.28 20,6.24 21.19,3.27C21.27,3.08 21.18,2.94 21.1,2.85C21.05,2.8 20.91,2.69 20.68,2.78C17.72,3.97 13.68,6.97 11.68,9.46L10.72,10.67Z"
android:fillColor="#292D32"/>
<path
android:pathData="M7.701,18.75C7.061,18.75 6.451,18.5 5.991,18.04C5.461,17.51 5.201,16.78 5.291,16.03L5.501,14.07C5.721,12.04 7.371,10.54 9.441,10.5C9.601,10.49 9.801,10.5 9.991,10.51C10.901,10.63 11.711,11.03 12.351,11.68C12.991,12.32 13.381,13.08 13.491,13.94C13.521,14.13 13.531,14.32 13.531,14.5C13.531,15.59 13.111,16.62 12.341,17.39C11.711,18.02 10.891,18.41 9.961,18.53L7.981,18.74C7.881,18.75 7.791,18.75 7.701,18.75ZM9.601,11.99C9.571,11.99 9.531,11.99 9.501,11.99C8.351,12.02 7.141,12.79 6.991,14.23L6.781,16.2C6.751,16.49 6.851,16.78 7.051,16.98C7.251,17.18 7.531,17.28 7.811,17.25L9.781,17.04C10.361,16.97 10.881,16.72 11.271,16.33C11.751,15.84 12.021,15.2 12.021,14.5C12.021,14.39 12.011,14.27 11.991,14.15C11.921,13.62 11.681,13.15 11.281,12.74C10.871,12.33 10.371,12.07 9.821,12C9.771,11.99 9.691,11.99 9.601,11.99Z"
android:fillColor="#292D32"/>
<path
android:pathData="M15.819,12.73C15.409,12.73 15.069,12.39 15.069,11.98C15.069,10.31 13.709,8.94 12.029,8.94C11.619,8.94 11.279,8.6 11.279,8.19C11.279,7.78 11.619,7.44 12.029,7.44C14.529,7.44 16.569,9.47 16.569,11.98C16.569,12.39 16.239,12.73 15.819,12.73Z"
android:fillColor="#292D32"/>
</vector>
2 changes: 1 addition & 1 deletion app/src/main/res/layout/view_settings_general.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
android:layout_centerVertical="true"
android:layout_marginStart="24dp"
android:contentDescription="@string/icon"
android:src="@drawable/ic_dynamic_color"
android:src="@drawable/ic_app_theme"
app:tint="?attr/colorPrimary" />

<LinearLayout
Expand Down

0 comments on commit 4a73366

Please sign in to comment.