Skip to content

Commit 98961eb

Browse files
committed
Use dedicated tight-viewport drawable for IAP logo, match iOS 64dp size and 16dp gap
1 parent e66ff2f commit 98961eb

2 files changed

Lines changed: 97 additions & 3 deletions

File tree

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2+
android:width="60dp"
3+
android:height="60dp"
4+
android:viewportWidth="60"
5+
android:viewportHeight="60">
6+
<group
7+
android:scaleX="0.05172973"
8+
android:scaleY="0.05172973"
9+
android:translateX="1.55"
10+
android:translateY="5.69">
11+
<path
12+
android:pathData="m552.7,0c-169.1,0 -262.5,143.5 -262.5,283.5h524.9c0,-140.1 -105.3,-283.5 -262.5,-283.5z"
13+
android:fillColor="#cfcfcf" />
14+
<path
15+
android:pathData="m552.7,53.2c-137.4,0 -213.2,116.5 -213.2,230.3l213.2,24.2 213.2,-24.2c0,-113.8 -85.6,-230.3 -213.2,-230.3z"
16+
android:fillColor="#585e62" />
17+
<path
18+
android:pathData="m89.8,739.5a20,20 0,0 1,-2.2 -39.9,42.8 42.8,0 1,0 -42.2,-21.8 20,20 0,0 1,-35 19.3,82.8 82.8,0 1,1 81.8,42.3 21.8,21.8 0,0 1,-2.3 0.1z"
19+
android:fillColor="#585e62" />
20+
<path
21+
android:pathData="M172.8,474.6L178,477.2A49.4,49.4 72.1,0 1,199.5 543.7L178.9,584.1A49.4,49.4 72.1,0 1,112.4 605.6L107.2,602.9A49.4,49.4 72.1,0 1,85.7 536.4L106.3,496.1A49.4,49.4 72.1,0 1,172.8 474.6z"
22+
android:fillColor="#cfcfcf" />
23+
<path
24+
android:pathData="m181.6,393.9l55.9,28.6a0,0 0,0 1,0 0l-43.1,84.2a31.4,31.4 72.1,0 1,-42.3 13.7,31.4 31.4,72.1 0,1 -13.7,-42.3l43.1,-84.2a0,0 0,0 1,0 0z"
25+
android:fillColor="#585e62" />
26+
<path
27+
android:pathData="M222.6,387.5m-75.1,0a75.1,75.1 0,1 1,150.1 0a75.1,75.1 0,1 1,-150.1 0"
28+
android:fillColor="#cfcfcf" />
29+
<path
30+
android:pathData="m258.1,321.8a75.1,75.1 0,0 0,-91.2 14.6,75.1 75.1,0 0,1 51.6,126.1 75.1,75.1 0,0 0,39.7 -140.7z"
31+
android:fillColor="#b1b1b1" />
32+
<path
33+
android:pathData="m1018.3,739.5a22.1,22.1 0,0 1,-2.3 -0.1,82.8 82.8,0 1,1 81.8,-42.3 20,20 0,1 1,-35 -19.3,42.8 42.8,0 1,0 -42.2,21.8 20,20 0,0 1,-2.2 39.9z"
34+
android:fillColor="#585e62" />
35+
<path
36+
android:pathData="M1000.9,603L995.7,605.6A49.4,49.4 107.9,0 1,929.2 584.2L908.6,543.8A49.4,49.4 107.9,0 1,930.1 477.3L935.3,474.6A49.4,49.4 107.9,0 1,1001.8 496.1L1022.4,536.5A49.4,49.4 107.9,0 1,1000.9 603z"
37+
android:fillColor="#cfcfcf" />
38+
<path
39+
android:pathData="m955.9,520.4a31.4,31.4 107.9,0 1,-42.3 -13.7l-43.1,-84.2a0,0 0,0 1,-0 0l55.9,-28.6a0,0 0,0 1,-0 0l43.1,84.2a31.4,31.4 107.9,0 1,-13.7 42.3z"
40+
android:fillColor="#585e62" />
41+
<path
42+
android:pathData="M885.5,387.5m-75.1,0a75.1,75.1 0,1 1,150.1 0a75.1,75.1 0,1 1,-150.1 0"
43+
android:fillColor="#cfcfcf" />
44+
<path
45+
android:pathData="m850,321.8a75.1,75.1 0,0 1,91.2 14.6,75.1 75.1,0 0,0 -51.5,126.1 75.1,75.1 0,0 1,-39.7 -140.7z"
46+
android:fillColor="#b1b1b1" />
47+
<path
48+
android:pathData="m248.8,940.2c-36.7,0 -67,-39.8 -75.5,-99.2 -4.6,-31.8 -2.3,-65.2 6.5,-94 9.4,-31 25.5,-53.6 45.3,-63.7a51.7,51.7 0,0 1,23.7 -5.8h103.5v262.7z"
49+
android:fillColor="#585e62" />
50+
<path
51+
android:pathData="m351.4,940.2c-21.3,0 -38.8,-39.8 -43.8,-99.2 -2.6,-31.8 -1.3,-65.2 3.8,-94 5.4,-31 14.8,-53.6 26.3,-63.7 4.4,-3.9 9,-5.8 13.7,-5.8s9.3,2 13.8,5.8l49.7,43.8c17.4,15.3 23.4,64 20.2,102 -2.4,29.3 -10,52.2 -20.2,61.3l-49.7,43.8c-4.4,4 -9.1,6 -13.8,6z"
52+
android:fillColor="#585e62" />
53+
<path
54+
android:pathData="m360.6,699 l49.7,43.8c11.2,9.9 17.8,47.5 14.8,83.9 -2,24.3 -7.8,42 -14.8,48.1l-49.7,43.8c-18.6,16.4 -37.8,-19.4 -42.8,-80.1s6,-123.1 24.6,-139.5c6.2,-5.4 12.5,-5 18.2,-0z"
55+
android:fillColor="#35393b" />
56+
<path
57+
android:pathData="m850.7,940.2c36.7,0 67,-39.8 75.5,-99.2 4.6,-31.8 2.3,-65.2 -6.5,-94 -9.4,-31 -25.5,-53.6 -45.3,-63.7a51.7,51.7 0,0 0,-23.7 -5.8h-103.5v262.7z"
58+
android:fillColor="#585e62" />
59+
<path
60+
android:pathData="m748.1,940.2c21.3,0 38.8,-39.8 43.8,-99.2 2.6,-31.8 1.3,-65.2 -3.8,-94 -5.4,-31 -14.8,-53.6 -26.3,-63.7 -4.4,-3.9 -9,-5.8 -13.7,-5.8s-9.3,2 -13.8,5.8l-49.7,43.8c-17.4,15.3 -23.4,64 -20.2,102 2.4,29.3 10,52.2 20.2,61.3l49.7,43.8c4.4,4 9.1,6 13.8,6z"
61+
android:fillColor="#585e62" />
62+
<path
63+
android:pathData="m738.9,699 l-49.7,43.8c-11.2,9.9 -17.8,47.4 -14.8,83.9 2,24.3 7.8,42 14.8,48.1l49.7,43.8c18.6,16.4 37.8,-19.4 42.8,-80.1s-6,-123.1 -24.6,-139.5c-6.2,-5.4 -12.5,-5 -18.2,0z"
64+
android:fillColor="#35393b" />
65+
<path
66+
android:pathData="m848.6,451.4a83.6,83.6 0,0 1,-0.6 -45.6c14.7,-53.1 5.1,-111.8 5.1,-111.8 -185.1,-57.8 -300.1,-0.5 -300.1,-0.5s-114.8,-57.6 -300,-0.4c0,0 -9.9,58.6 4.7,111.8a83.7,83.7 0,0 1,-0.7 45.6c-5.1,17.6 -10.7,44.5 -10.8,78.8 -0.4,249 306,326.1 306,326.1s306.6,-76.2 307,-325.2c0,-34.3 -5.5,-61.2 -10.6,-78.8z"
67+
android:fillColor="#cfcfcf" />
68+
<path
69+
android:pathData="m552.3,808.9c-50.7,-15.9 -261.7,-93.3 -261.4,-279.5 0,-29.6 4.9,-52.4 9,-66.3a128.3,128.3 0,0 0,0.9 -70c-6.2,-22.6 -6.9,-47.1 -6.2,-65.3 40.5,-10.2 80.2,-15.4 118.4,-15.3 75.7,0.1 119.9,21 120.3,21.2l20.4,10.2 19.2,-10.3c0.1,0 44.4,-20.8 120,-20.6 38.2,0.1 77.9,5.3 118.4,15.7 0.7,18.1 -0.1,42.7 -6.4,65.3a128.3,128.3 0,0 0,0.7 70c4,13.9 8.8,36.7 8.8,66.3 -0.3,187.1 -211.3,263.1 -262.1,278.7z"
70+
android:fillColor="#49b04a" />
71+
<path
72+
android:pathData="m610.2,478.8a57.5,57.5 0,1 0,-70.2 55.9l-32.3,135.5 44.7,12.9 44.7,-12.7 -31.8,-135.6a57.5,57.5 0,0 0,44.9 -56z"
73+
android:fillColor="#35393b" />
74+
<path
75+
android:pathData="m454.9,131.1a60.6,60.6 0,0 0,-60.6 60.6h121.3a60.6,60.6 0,0 0,-60.6 -60.6z"
76+
android:fillColor="#49b04a" />
77+
<path
78+
android:pathData="m642.4,131.1a60.6,60.6 0,0 0,-60.6 60.6h121.3a60.6,60.6 0,0 0,-60.6 -60.6z"
79+
android:fillColor="#49b04a" />
80+
<path
81+
android:pathData="M483.2,229.4m-11.5,0a11.5,11.5 0,1 1,23 0a11.5,11.5 0,1 1,-23 0"
82+
android:fillColor="#49b04a" />
83+
<path
84+
android:pathData="M528.5,229.4m-11.5,0a11.5,11.5 0,1 1,23 0a11.5,11.5 0,1 1,-23 0"
85+
android:fillColor="#49b04a" />
86+
<path
87+
android:pathData="M573.8,229.4m-11.5,0a11.5,11.5 0,1 1,23 0a11.5,11.5 0,1 1,-23 0"
88+
android:fillColor="#49b04a" />
89+
<path
90+
android:pathData="M619.1,229.4m-11.5,0a11.5,11.5 0,1 1,23 0a11.5,11.5 0,1 1,-23 0"
91+
android:fillColor="#49b04a" />
92+
</group>
93+
</vector>

presentation/src/main/res/layout/view_license_check_content.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,17 @@
1515
android:orientation="horizontal">
1616

1717
<androidx.appcompat.widget.AppCompatImageView
18-
android:layout_width="100dp"
19-
android:layout_height="100dp"
18+
android:layout_width="64dp"
19+
android:layout_height="64dp"
2020
android:adjustViewBounds="true"
2121
android:contentDescription="@null"
2222
android:scaleType="fitCenter"
23-
app:srcCompat="@drawable/ic_launcher_foreground" />
23+
app:srcCompat="@drawable/ic_cryptomator_bot" />
2424

2525
<LinearLayout
2626
android:layout_width="0dp"
2727
android:layout_height="wrap_content"
28+
android:layout_marginStart="16dp"
2829
android:layout_weight="1"
2930
android:orientation="vertical">
3031

0 commit comments

Comments
 (0)