Skip to content

Commit

Permalink
ui: use a better google in-place translate icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
plateaukao committed Apr 25, 2023
1 parent 7b35ec8 commit 31517a9
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions app/src/main/res/drawable/ic_translate_google.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<vector android:height="24dp" android:tint="?attr/colorControlNormal"
android:viewportHeight="24" android:viewportWidth="24"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M5,17.5c0.83,0 1.5,-0.67 1.5,-1.5s-0.67,-1.5 -1.5,-1.5 -1.5,0.67 -1.5,1.5 0.67,1.5 1.5,1.5zM9,13c0.55,0 1,-0.45 1,-1s-0.45,-1 -1,-1 -1,0.45 -1,1 0.45,1 1,1zM9,9c0.55,0 1,-0.45 1,-1s-0.45,-1 -1,-1 -1,0.45 -1,1 0.45,1 1,1zM3,21h18v-2L3,19v2zM5,9.5c0.83,0 1.5,-0.67 1.5,-1.5S5.83,6.5 5,6.5 3.5,7.17 3.5,8 4.17,9.5 5,9.5zM5,13.5c0.83,0 1.5,-0.67 1.5,-1.5s-0.67,-1.5 -1.5,-1.5 -1.5,0.67 -1.5,1.5 0.67,1.5 1.5,1.5zM9,17c0.55,0 1,-0.45 1,-1s-0.45,-1 -1,-1 -1,0.45 -1,1 0.45,1 1,1zM17,16.5c0.28,0 0.5,-0.22 0.5,-0.5s-0.22,-0.5 -0.5,-0.5 -0.5,0.22 -0.5,0.5 0.22,0.5 0.5,0.5zM3,3v2h18L21,3L3,3zM17,8.5c0.28,0 0.5,-0.22 0.5,-0.5s-0.22,-0.5 -0.5,-0.5 -0.5,0.22 -0.5,0.5 0.22,0.5 0.5,0.5zM17,12.5c0.28,0 0.5,-0.22 0.5,-0.5s-0.22,-0.5 -0.5,-0.5 -0.5,0.22 -0.5,0.5 0.22,0.5 0.5,0.5zM13,9c0.55,0 1,-0.45 1,-1s-0.45,-1 -1,-1 -1,0.45 -1,1 0.45,1 1,1zM13,13c0.55,0 1,-0.45 1,-1s-0.45,-1 -1,-1 -1,0.45 -1,1 0.45,1 1,1zM13,17c0.55,0 1,-0.45 1,-1s-0.45,-1 -1,-1 -1,0.45 -1,1 0.45,1 1,1z"/>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:tint="?attr/colorControlNormal"
android:viewportWidth="512"
android:viewportHeight="512">
<path
android:fillColor="#000000"
android:pathData="M252.56,0Q256.31,0 260.06,0Q349.9,2.54 418.17,58.23Q425.95,64.57 433.14,71.5Q487.66,124.01 505.25,197.75Q511.31,223.16 512,252.31Q512,255.94 512,259.56Q510.03,341.74 462.47,406.96Q456.57,415.06 450.05,422.63Q404.34,475.7 337.94,498.44Q300.35,511.3 259.19,512Q255.94,512 252.69,512Q158.3,509.47 88.27,449.1Q80.63,442.51 73.69,435.44Q43.51,404.71 25.31,366.94Q1.43,317.37 0,260.69Q0,256.44 0,252.19Q2.55,160.4 60.26,91.37Q66.74,83.63 73.7,76.57Q114.84,34.83 169.56,15.06Q208.93,0.85 252.56,0ZM371.59,282.66Q389.97,301.66 409.34,319.66Q411.75,321.9 413.71,324.53Q416.89,328.81 415.06,333.93Q413.01,339.62 407.63,340.9Q404.99,341.52 402.39,340.75Q399.72,339.95 397.69,338.06Q374.9,316.87 353.29,294.54C353.02,294.27 352.58,294.27 352.32,294.55Q339.57,308.27 324.41,319.21C324.17,319.38 324.06,319.69 324.16,319.98L370.53,459.35C370.71,459.87 371.31,460.09 371.78,459.82Q410.49,437.37 438.31,403.31Q476,357.18 486.9,297.37Q488.68,287.6 489.55,277.56Q496.12,201.48 457.68,136.32Q452.55,127.62 446.77,119.58Q425.2,89.58 395.94,67.81Q344.1,29.25 278.98,22.67Q252.81,20.03 225.96,23.6C225.62,23.65 225.41,23.99 225.52,24.31L274.05,169.92C274.22,170.42 274.68,170.75 275.21,170.75L339.96,170.75C340.72,170.75 341.32,170.12 341.29,169.37Q341.06,164.2 341.5,159.63Q341.75,157.1 342.54,155.5Q343.54,153.5 345.17,152.03Q347.43,150.01 350.83,149.66Q357.28,149.01 360.54,154.07Q362.35,156.88 362.67,161.78Q362.92,165.68 362.64,169.92C362.61,170.37 362.97,170.75 363.42,170.75Q399.63,170.75 436.25,170.81Q443.81,170.82 446.67,176.67Q448.16,179.74 447.64,183.01Q447.08,186.55 444.47,188.99Q442.46,190.87 439.47,191.49Q436.98,192 433.75,192Q424.5,192 414.95,192C414.57,192 414.23,192.26 414.14,192.63Q412.22,200.48 409.04,208.12Q393.43,245.59 367.84,277.03C367.45,277.51 367.47,278.19 367.88,278.65Q370.18,281.2 371.59,282.66ZM233.65,267.71Q229.9,285.61 217.91,298.79Q211.09,306.29 202.47,311.35Q188.5,319.54 172.19,319.94Q149.01,320.5 130.44,305.56Q110.35,289.41 107.3,263.98Q106.08,253.83 107.92,244.08Q111.11,227.24 122.24,214.39Q128.81,206.8 137.41,201.45Q155.95,189.9 178.25,192.5Q194.19,194.36 208.43,204.44Q208.47,204.47 211.13,206.51Q214.16,208.85 216.75,209.5Q220.86,210.53 224.35,208.48Q227.44,206.65 228.88,202.96Q231.68,195.78 224.78,190.23Q199.31,169.73 167.45,170.88Q157.33,171.25 147.75,173.92Q123.32,180.71 106.5,200Q87.81,221.43 85.72,249.51Q84.97,259.68 86.5,269.45Q89.35,287.63 99.56,302.94Q114.4,325.19 138.78,335.01Q148,338.72 158.05,340.22Q186.33,344.43 211.17,330.91Q219.92,326.15 227.46,319.4Q253.4,296.15 255.81,260.09Q256.15,255.04 255.22,252.49Q253.77,248.48 249.78,246.55Q248.15,245.76 245.59,245.5Q243.09,245.25 241.25,245.25Q209,245.25 176.75,245.25Q172.74,245.25 169.75,245.64Q165.79,246.16 163.47,248.34Q160.43,251.19 160.27,255.45Q160.12,259.26 162.13,262.06Q164.28,265.06 168.3,266.03Q171.31,266.75 176.25,266.75Q204.25,266.75 232.87,266.75C233.38,266.75 233.75,267.21 233.65,267.71ZM309.56,233.31Q310.4,228.76 313.66,226.32Q316.75,224.01 320.89,224.42Q327.26,225.04 330.56,231.94Q334.97,241.14 343.66,251.23Q346.2,254.18 348.06,256.53Q350.2,259.23 352.42,261.86C352.59,262.06 352.9,262.06 353.06,261.86Q363.88,248.26 376.06,227.56Q385.1,212.21 392.14,193.08C392.32,192.59 391.96,192.06 391.43,192.06L282.52,192C282.02,192 281.66,192.49 281.82,192.97L316.54,297.38C316.71,297.88 317.33,298.06 317.74,297.73Q328.71,288.89 338.2,279.17C338.49,278.86 338.51,278.39 338.23,278.07Q326.79,265.15 317.01,250.56Q311.23,241.95 310.25,238.75Q309.2,235.31 309.56,233.31Z" />
</vector>

0 comments on commit 31517a9

Please sign in to comment.