New SVG Icons + Fixed icons' size + Added ICONS NOTICE.

This commit is contained in:
acclorite 2024-07-16 15:08:01 +03:00
parent 61066c6949
commit 7f785c8f1b
27 changed files with 145 additions and 7 deletions

View file

@ -0,0 +1,4 @@
Almost all Icons are licensed under Apache License 2.0 and were taken from Material Design Icons.
https://www.apache.org/licenses/LICENSE-2.0.html
https://fonts.google.com/icons

View file

@ -57,7 +57,7 @@ class UpdatesNotificationServiceImpl @Inject constructor(
.setContentIntent(latestReleasePendingIntent) .setContentIntent(latestReleasePendingIntent)
.addAction( .addAction(
Notification.Action.Builder( Notification.Action.Builder(
Icon.createWithResource(application, R.drawable.app_icon_monochrome), Icon.createWithResource(application, R.drawable.notification_icon),
application.getString(R.string.updates_notification_action), application.getString(R.string.updates_notification_action),
downloadLatestVersionPendingIntent downloadLatestVersionPendingIntent
).build() ).build()

View file

@ -49,10 +49,10 @@ fun IsEmpty(
Icon( Icon(
painter = icon, painter = icon,
contentDescription = message, contentDescription = message,
modifier = Modifier.size(120.dp), modifier = Modifier.size(190.dp),
tint = MaterialTheme.colorScheme.primary tint = MaterialTheme.colorScheme.primary
) )
Spacer(modifier = Modifier.height(36.dp)) Spacer(modifier = Modifier.height(12.dp))
Text( Text(
text = message, text = message,
style = MaterialTheme.typography.bodyLarge, style = MaterialTheme.typography.bodyLarge,

View file

@ -48,10 +48,10 @@ fun IsError(
Icon( Icon(
painter = icon, painter = icon,
contentDescription = errorMessage, contentDescription = errorMessage,
modifier = Modifier.size(120.dp), modifier = Modifier.size(140.dp),
tint = MaterialTheme.colorScheme.error tint = MaterialTheme.colorScheme.error
) )
Spacer(modifier = Modifier.height(36.dp)) Spacer(modifier = Modifier.height(24.dp))
Text( Text(
text = errorMessage, text = errorMessage,
style = MaterialTheme.typography.bodyLarge, style = MaterialTheme.typography.bodyLarge,

View file

@ -109,10 +109,10 @@ fun StartDone(
} }
) { ) {
Icon( Icon(
painter = painterResource(id = R.drawable.checklist), painter = painterResource(id = R.drawable.start_done),
contentDescription = null, contentDescription = null,
tint = MaterialTheme.colorScheme.primary, tint = MaterialTheme.colorScheme.primary,
modifier = Modifier.size(150.dp) modifier = Modifier.size(190.dp)
) )
Spacer(modifier = Modifier.height(16.dp)) Spacer(modifier = Modifier.height(16.dp))
Text( Text(

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

View file

@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:autoMirrored="true"
android:height="24dp"
android:viewportHeight="960"
android:viewportWidth="960"
android:width="24dp">
<path
android:fillColor="#e8eaed"
android:pathData="m260,700 l300,-140 140,-300 -300,140 -140,300ZM480,520q-17,0 -28.5,-11.5T440,480q0,-17 11.5,-28.5T480,440q17,0 28.5,11.5T520,480q0,17 -11.5,28.5T480,520ZM480,880q-83,0 -156,-31.5T197,763q-54,-54 -85.5,-127T80,480q0,-83 31.5,-156T197,197q54,-54 127,-85.5T480,80q83,0 156,31.5T763,197q54,54 85.5,127T880,480q0,83 -31.5,156T763,763q-54,54 -127,85.5T480,880Z" />
</vector>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

View file

@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:autoMirrored="true"
android:height="24dp"
android:viewportHeight="960"
android:viewportWidth="960"
android:width="24dp">
<path
android:fillColor="#e8eaed"
android:pathData="m260,700 l300,-140 140,-300 -300,140 -140,300ZM480,520q-17,0 -28.5,-11.5T440,480q0,-17 11.5,-28.5T480,440q17,0 28.5,11.5T520,480q0,17 -11.5,28.5T480,520ZM480,880q-83,0 -156,-31.5T197,763q-54,-54 -85.5,-127T80,480q0,-83 31.5,-156T197,197q54,-54 127,-85.5T480,80q83,0 156,31.5T763,197q54,54 85.5,127T880,480q0,83 -31.5,156T763,763q-54,54 -127,85.5T480,880ZM480,800q134,0 227,-93t93,-227q0,-134 -93,-227t-227,-93q-134,0 -227,93t-93,227q0,134 93,227t227,93ZM480,480Z" />
</vector>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

View file

@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:autoMirrored="true"
android:height="128dp"
android:viewportHeight="960"
android:viewportWidth="960"
android:width="128dp">
<path
android:fillColor="#e8eaed"
android:pathData="M226,788q-21.75,0 -37.87,-16.13Q172,755.75 172,734v-508q0,-21.75 16.13,-37.88Q204.25,172 226,172h205q-13,-27.5 2.95,-53.75 15.94,-26.25 46,-26.25Q511,92 527,118.25q16,26.25 2,53.75h205q21.75,0 37.88,16.12Q788,204.25 788,226v508q0,21.75 -16.12,37.87Q755.75,788 734,788L226,788ZM226,766h508q12,0 22,-10t10,-22v-508q0,-12 -10,-22t-22,-10L226,194q-12,0 -22,10t-10,22v508q0,12 10,22t22,10ZM306,642h226v-22L306,620v22ZM306,491h348v-22L306,469v22ZM306,340h348v-22L306,318v22ZM479.79,178q12.79,0 22.5,-9t9.71,-22.5q0,-13.5 -9.71,-22.5t-22.5,-9Q467,115 458,124t-9,22.5q0,13.5 9,22.5t21.79,9ZM194,766v-572,572Z" />
</vector>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

View file

@ -0,0 +1,14 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:autoMirrored="true"
android:height="128dp"
android:viewportHeight="960"
android:viewportWidth="960"
android:width="128dp">
<path
android:fillColor="#e8eaed"
android:pathData="M479.99,839q-49.99,0 -84.49,-34.51Q361,769.98 361,720q0,-47 31,-80.5t77,-38.5v-110L255,491v-136h-98v-218h218v218h-98v114h406v-114q-46,-5 -77,-38.29 -31,-33.3 -31,-80.71 0,-49.98 34.51,-84.49Q644.03,117 694.01,117q49.99,0 84.49,34.51Q813,186.02 813,236q0,47 -31,80.5T705,355v136L491,491v110q46,5 77,38.29 31,33.3 31,80.71 0,49.98 -34.51,84.49Q529.97,839 479.99,839ZM693.87,333q40.13,0 68.63,-28.37 28.5,-28.37 28.5,-68.5 0,-40.13 -28.37,-68.63 -28.37,-28.5 -68.5,-28.5 -40.13,0 -68.63,28.37 -28.5,28.37 -28.5,68.5 0,40.13 28.37,68.63 28.37,28.5 68.5,28.5ZM179,333h174v-174L179,159v174ZM479.87,817q40.13,0 68.63,-28.37 28.5,-28.37 28.5,-68.5 0,-40.13 -28.37,-68.63 -28.37,-28.5 -68.5,-28.5 -40.13,0 -68.63,28.37 -28.5,28.37 -28.5,68.5 0,40.13 28.37,68.63 28.37,28.5 68.5,28.5ZM266,246ZM694,236ZM480,720Z"
tools:ignore="VectorPath" />
</vector>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

View file

@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:autoMirrored="true"
android:height="128dp"
android:viewportHeight="960"
android:viewportWidth="960"
android:width="128dp">
<path
android:fillColor="#e8eaed"
android:pathData="M278,566v22h-92q-21.75,0 -37.87,-16.13Q132,555.75 132,534v-348q0,-21.75 16.13,-37.88Q164.25,132 186,132h348q21.75,0 37.88,16.12Q588,164.25 588,186v92h-22v-92q0,-14 -9,-23t-23,-9L186,154q-14,0 -23,9t-9,23v348q0,14 9,23t23,9h92ZM426,828q-21.75,0 -37.87,-16.13Q372,795.75 372,774v-348q0,-21.75 16.13,-37.88Q404.25,372 426,372h348q21.75,0 37.88,16.12Q828,404.25 828,426v348q0,21.75 -16.12,37.87Q795.75,828 774,828L426,828ZM426,806h348q14,0 23,-9t9,-23v-348q0,-14 -9,-23t-23,-9L426,394q-14,0 -23,9t-9,23v348q0,14 9,23t23,9ZM600,600Z" />
</vector>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:autoMirrored="true"
android:height="128dp"
android:viewportHeight="960"
android:viewportWidth="960"
android:width="128dp">
<path
android:fillColor="#e8eaed"
android:pathData="M480,680q14,0 23.5,-9.5T513,647q0,-14 -9.5,-23.5T480,614q-14,0 -23.5,9.5T447,647q0,14 9.5,23.5T480,680ZM453,527h60v-253h-60v253ZM481,931L346,800L160,800v-186L26,480l134,-134v-186h186l135,-134 133,134h186v186l134,134 -134,134v186L614,800L481,931Z" />
</vector>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

View file

@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:autoMirrored="true"
android:height="24dp"
android:viewportHeight="960"
android:viewportWidth="960"
android:width="24dp">
<path
android:fillColor="#e8eaed"
android:pathData="m612,668 l56,-56 -148,-148v-184h-80v216l172,172ZM480,880q-83,0 -156,-31.5T197,763q-54,-54 -85.5,-127T80,480q0,-83 31.5,-156T197,197q54,-54 127,-85.5T480,80q83,0 156,31.5T763,197q54,54 85.5,127T880,480q0,83 -31.5,156T763,763q-54,54 -127,85.5T480,880Z" />
</vector>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

View file

@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:autoMirrored="true"
android:height="24dp"
android:viewportHeight="960"
android:viewportWidth="960"
android:width="24dp">
<path
android:fillColor="#e8eaed"
android:pathData="m612,668 l56,-56 -148,-148v-184h-80v216l172,172ZM480,880q-83,0 -156,-31.5T197,763q-54,-54 -85.5,-127T80,480q0,-83 31.5,-156T197,197q54,-54 127,-85.5T480,80q83,0 156,31.5T763,197q54,54 85.5,127T880,480q0,83 -31.5,156T763,763q-54,54 -127,85.5T480,880ZM480,480ZM480,800q133,0 226.5,-93.5T800,480q0,-133 -93.5,-226.5T480,160q-133,0 -226.5,93.5T160,480q0,133 93.5,226.5T480,800Z" />
</vector>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

View file

@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:autoMirrored="true"
android:height="24dp"
android:viewportHeight="960"
android:viewportWidth="960"
android:width="24dp">
<path
android:fillColor="#e8eaed"
android:pathData="M160,880q-33,0 -56.5,-23.5T80,800v-560h80v560h560v80L160,880ZM320,720q-33,0 -56.5,-23.5T240,640v-480q0,-33 23.5,-56.5T320,80h480q33,0 56.5,23.5T880,160v480q0,33 -23.5,56.5T800,720L320,720ZM520,440 L620,380 720,440v-280L520,160v280Z" />
</vector>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

View file

@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:autoMirrored="true"
android:height="24dp"
android:viewportHeight="960"
android:viewportWidth="960"
android:width="24dp">
<path
android:fillColor="#e8eaed"
android:pathData="M320,640h480v-480h-80v280l-100,-60 -100,60v-280L320,160v480ZM320,720q-33,0 -56.5,-23.5T240,640v-480q0,-33 23.5,-56.5T320,80h480q33,0 56.5,23.5T880,160v480q0,33 -23.5,56.5T800,720L320,720ZM160,880q-33,0 -56.5,-23.5T80,800v-560h80v560h560v80L160,880ZM520,160h200,-200ZM320,160h480,-480Z" />
</vector>

View file

@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:autoMirrored="true"
android:height="128dp"
android:viewportHeight="960"
android:viewportWidth="960"
android:width="128dp">
<path
android:fillColor="#e8eaed"
android:pathData="M184.69,780v-30.77h81.69v-234L84.62,240h395.07L297.15,515.23v234h82.47L379.62,780L184.69,780ZM194.62,353.69h174.3l54.23,-82.92h-282l53.47,82.92ZM613.55,780q-42.4,0 -70.28,-27.79 -27.89,-27.8 -27.89,-70.2 0,-41.63 27.83,-69.51 27.82,-27.88 70.25,-27.88 16.84,0 33.27,6.07 16.42,6.08 33.27,18.77L680,240h155.38v61.31L710.77,301.31v380.61q0,42.44 -27.79,70.26Q655.18,780 613.55,780Z" />
</vector>