Skip to content

Commit

Permalink
ui: new icons for settings
Browse files Browse the repository at this point in the history
  • Loading branch information
hussainmohd-a committed Oct 27, 2024
1 parent dd7c04f commit 096eeb4
Show file tree
Hide file tree
Showing 6 changed files with 80 additions and 4 deletions.
39 changes: 39 additions & 0 deletions app/src/main/res/drawable/ic_dns_rules_as_firewall.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:alpha="0.5"
android:viewportWidth="48"
android:viewportHeight="48">
<path
android:pathData="m0,0h48v48h-48z"
android:fillColor="?attr/svgFillColor"
android:fillAlpha="0.01"/>
<path
android:pathData="m6,4v40"
android:strokeLineJoin="round"
android:strokeWidth="4"
android:fillColor="?attr/svgFillColor"
android:strokeColor="?attr/svgStrokeColor"
android:strokeLineCap="round"/>
<path
android:pathData="m42,4v40"
android:strokeLineJoin="round"
android:strokeWidth="4"
android:fillColor="?attr/svgFillColor"
android:strokeColor="?attr/svgStrokeColor"
android:strokeLineCap="round"/>
<path
android:pathData="m18,26 l-4,4 4,4"
android:strokeLineJoin="round"
android:strokeWidth="4"
android:fillColor="?attr/svgFillColor"
android:strokeColor="?attr/svgStrokeColor"
android:strokeLineCap="round"/>
<path
android:pathData="m15,30h13c3.314,0 6,-2.686 6,-6s-2.686,-6 -6,-6c-1.315,0 -14,0 -14,0"
android:strokeLineJoin="round"
android:strokeWidth="4"
android:fillColor="?attr/svgFillColor"
android:strokeColor="?attr/svgStrokeColor"
android:strokeLineCap="round"/>
</vector>
10 changes: 10 additions & 0 deletions app/src/main/res/drawable/ic_experimental.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:alpha="0.5"
android:viewportWidth="1200"
android:viewportHeight="1200">
<path
android:fillColor="?attr/svgStrokeColor"
android:pathData="m338.6,0 l-59.2,278.7 -278.1,66.3 279.8,58.9 66.5,277.1 59.1,-278.8 278.1,-66.2 -279.8,-59zM1072.8,12.7 L854.3,230.3 973.5,349.1 1192,131.4zM774.8,309.5 L0,1081.3 119.2,1200 894,428.2 774.8,309.5zM1015,447.7 L983.4,596.6 834.8,632.1 984.3,663.6 1019.8,811.6 1051.4,662.7 1200,627.2 1050.5,595.8zM771.2,718.3 L736.4,882.5 572.6,921.5 737.4,956.2 776.5,1119.4 811.4,955.2 975.2,916.2 810.4,881.5z"/>
</vector>
9 changes: 9 additions & 0 deletions app/src/main/res/drawable/ic_rethink_plus.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="16dp"
android:height="16dp"
android:viewportWidth="16"
android:viewportHeight="16">
<path
android:pathData="m3.5,2c-0.189,0 -0.363,0.107 -0.447,0.276l-2,4c-0.088,0.176 -0.065,0.386 0.059,0.539l6.5,8c0.095,0.117 0.237,0.185 0.388,0.185 0.151,0 0.293,-0.068 0.388,-0.185l6.5,-8c0.124,-0.152 0.147,-0.363 0.059,-0.539l-2,-4c-0.085,-0.169 -0.258,-0.276 -0.447,-0.276zM2.309,6 L3.809,3h2.051l-0.75,3zM2.55,7h2.582l1.614,5.164zM6.18,7h3.64l-1.82,5.823zM10.868,7h2.582l-4.196,5.164zM13.691,6h-2.801l-0.75,-3h2.051zM9.86,6h-3.719l0.75,-3h2.219z"
android:fillColor="?attr/accentGood"/>
</vector>
10 changes: 10 additions & 0 deletions app/src/main/res/drawable/ic_single_threaded.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:alpha="0.5"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="?attr/svgStrokeColor"
android:pathData="m8,20v1.932a0.5,0.5 0,0 1,-0.82 0.385l-4.12,-3.433a0.5,0.5 0,0 1,0.322 -0.884h14.618a2,2 0,0 0,2 -2v-8h2v8a4,4 0,0 1,-4 4zM16,4v-1.932a0.5,0.5 0,0 1,0.82 -0.385l4.12,3.433a0.5,0.5 0,0 1,-0.321 0.884h-14.619a2,2 0,0 0,-2 2v8h-2v-8a4,4 0,0 1,4 -4zM11,8h2v8h-2v-6h-2v-1z"/>
</vector>
10 changes: 10 additions & 0 deletions app/src/main/res/drawable/ic_undelegated_domain.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:alpha="0.5"
android:viewportWidth="1024"
android:viewportHeight="1068.5">
<path
android:fillColor="?attr/svgStrokeColor"
android:pathData="M121.1,21.3h781.9c66.8,0.1 121,54.2 121.1,121.1v781.9c-0.1,66.8 -54.2,121 -121.1,121.1L121.1,1045.3C54.2,1045.3 0.1,991.1 0,924.3L0,142.4C0.1,75.6 54.2,21.4 121.1,21.3h0zM902.9,977.1c29.1,-0 52.8,-23.6 52.8,-52.8L955.7,142.4c-0,-29.1 -23.6,-52.8 -52.8,-52.8L121.1,89.6c-29.1,0 -52.8,23.6 -52.8,52.8v781.9c0,29.1 23.6,52.8 52.8,52.8h0zM173.9,238.4h676.3v416L763.2,654.4v86.9L633.1,741.3v86.9L390.9,828.2L390.9,741.3L260.8,741.3v-86.9h-86.9zM781.9,306.7L242.1,306.7v279.4h86.9v86.9h130.2v86.9h105.6v-86.9h130.2v-86.9h86.9zM372.3,403.2h-68.3L304,272.6h68.3zM546.1,403.2h-68.3L477.9,272.6h68.3zM720,403.2L651.7,403.2L651.7,272.6h68.3z"/>
</vector>
6 changes: 2 additions & 4 deletions app/src/main/res/layout/fragment_dns_configure.xml
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@
android:layout_marginEnd="5dp"
android:layout_marginBottom="5dp"
android:padding="10dp"
android:src="@drawable/bs_dns_home_screen" />
android:src="@drawable/ic_dns_rules_as_firewall" />

<LinearLayout
android:layout_width="wrap_content"
Expand Down Expand Up @@ -793,11 +793,9 @@
android:id="@+id/dc_prevent_dns_leaks_img"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginStart="5dp"
android:layout_marginTop="5dp"
android:layout_marginEnd="5dp"
android:layout_marginBottom="5dp"
android:padding="10dp"
android:src="@drawable/ic_prevent_dns_leaks" />

Expand Down Expand Up @@ -856,7 +854,7 @@
android:layout_marginEnd="5dp"
android:layout_marginBottom="5dp"
android:padding="10dp"
android:src="@drawable/ic_prevent_dns_leaks" />
android:src="@drawable/ic_undelegated_domain" />

<LinearLayout
android:layout_width="wrap_content"
Expand Down

0 comments on commit 096eeb4

Please sign in to comment.