Skip to content

Commit

Permalink
Use new Google Lens icons
Browse files Browse the repository at this point in the history
TODO: Yellow clipping with Blue
  • Loading branch information
validcube committed Oct 12, 2023
1 parent ccaffa0 commit 9040888
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 15 deletions.
24 changes: 19 additions & 5 deletions lawnchair/res/drawable/ic_lens.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:height="24dp"
android:width="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path android:fillColor="#000" android:pathData="M6,2H18A4,4 0 0,1 22,6V12H20V6A2,2 0 0,0 18,4H6A2,2 0 0,0 4,6V18A2,2 0 0,0 6,20H12V22H6A4,4 0 0,1 2,18V6A4,4 0 0,1 6,2M12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8M18,16A2,2 0 0,1 20,18A2,2 0 0,1 18,20A2,2 0 0,1 16,18A2,2 0 0,1 18,16Z" />
android:width="192dp"
android:height="192dp"
android:viewportWidth="192"
android:viewportHeight="192">
<path
android:pathData="M144.07,144m-16,0a16,16 0,1 1,32 0a16,16 0,1 1,-32 0"
android:fillColor="#000"/>
<path
android:pathData="M96.07,104m-24,0a24,24 0,1 1,48 0a24,24 0,1 1,-48 0"
android:fillColor="#000"/>
<path
android:pathData="M24,135.2c0,18.11 14.69,32.8 32.8,32.8H96v-16l-40.1,-0.1c-8.8,0 -15.9,-8.19 -15.9,-17.9v-18H24V135.2z"
android:fillColor="#000"/>
<path
android:pathData="M168,72.8c0,-18.11 -14.69,-32.8 -32.8,-32.8H116l20,16c8.8,0 16,8.29 16,18v30h16V72.8z"
android:fillColor="#000"/>
<path
android:pathData="M112,24l-32,0L68,40H56.8C38.69,40 24,54.69 24,72.8V92h16V74c0,-9.71 7.2,-18 16,-18h80L112,24z"
android:fillColor="#000"/>
</vector>
4 changes: 2 additions & 2 deletions lawnchair/res/drawable/ic_lens_color_1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
android:viewportWidth="192"
android:viewportHeight="192">
<path
android:fillColor="#4285F4"
android:pathData="M96,104.15m-28,0a28,28 0,1 1,56 0a28,28 0,1 1,-56 0"/>
android:pathData="M96.07,104m-24,0a24,24 0,1 1,48 0a24,24 0,1 1,-48 0"
android:fillColor="#4285F4"/>
</vector>
4 changes: 2 additions & 2 deletions lawnchair/res/drawable/ic_lens_color_2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
android:viewportWidth="192"
android:viewportHeight="192">
<path
android:fillColor="#EA4335"
android:pathData="M160,72v40.15V136c0,1.69 -0.34,3.29 -0.82,4.82v0v0c-1.57,4.92 -5.43,8.78 -10.35,10.35h0v0c-1.53,0.49 -3.13,0.82 -4.82,0.82H66l16,16h50h12c4.42,0 8.63,-0.9 12.46,-2.51c3.83,-1.62 7.28,-3.96 10.17,-6.86c1.45,-1.45 2.76,-3.03 3.91,-4.74c2.3,-3.4 3.96,-7.28 4.81,-11.44c0.43,-2.08 0.65,-4.24 0.65,-6.45v-12V96.15V84l-6,-19l-10.82,2.18C159.66,68.71 160,70.31 160,72z"/>
android:pathData="M144.07,144m-16,0a16,16 0,1 1,32 0a16,16 0,1 1,-32 0"
android:fillColor="#34A853"/>
</vector>
4 changes: 2 additions & 2 deletions lawnchair/res/drawable/ic_lens_color_3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
android:viewportWidth="192"
android:viewportHeight="192">
<path
android:fillColor="#4285F4"
android:pathData="M32,72c0,-1.69 0.34,-3.29 0.82,-4.82c1.57,-4.92 5.43,-8.78 10.35,-10.35C44.71,56.34 46.31,56 48,56h96c1.69,0 3.29,0.34 4.82,0.82c0,0 0,0 0,0L149,45l-17,-5l-16,-16h-13.44H96h-6.56H76L60,40H48c-17.67,0 -32,14.33 -32,32v12v20l16,16V72z"/>
android:pathData="M112,24l-32,0L68,40H56.8C38.69,40 24,54.69 24,72.8V92h16V74c0,-9.71 7.2,-18 16,-18h80L112,24z"
android:fillColor="#4285F4"/>
</vector>
4 changes: 2 additions & 2 deletions lawnchair/res/drawable/ic_lens_color_4.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
android:viewportWidth="192"
android:viewportHeight="192">
<path
android:fillColor="#34A853"
android:pathData="M144,40h-12l16.83,16.83c1.23,0.39 2.39,0.93 3.47,1.59c2.16,1.32 3.97,3.13 5.29,5.29c0.66,1.08 1.2,2.24 1.59,3.47v0L176,84V72C176,54.33 161.67,40 144,40z"/>
android:pathData="M168,72.8c0,-18.11 -14.69,-32.8 -32.8,-32.8H116l20,16c8.8,0 16,8.29 16,18v30h16V72.8z"
android:fillColor="#FBBC05"/>
</vector>
4 changes: 2 additions & 2 deletions lawnchair/res/drawable/ic_lens_color_5.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
android:viewportWidth="192"
android:viewportHeight="192">
<path
android:fillColor="#FBBC04"
android:pathData="M48,168h39.89l-16,-16H48c-8.82,0 -16,-7.18 -16,-16v-23.89l-16,-16V136C16,153.67 30.33,168 48,168z"/>
android:pathData="M24,135.2c0,18.11 14.69,32.8 32.8,32.8H96v-16l-40.1,-0.1c-8.8,0 -15.9,-8.19 -15.9,-17.9v-18H24V135.2z"
android:fillColor="#EA4335"/>
</vector>

0 comments on commit 9040888

Please sign in to comment.