mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-28 20:54:38 +01:00
Centralize common icons into SignalIcons.
This commit is contained in:
committed by
Greyson Parrelli
parent
e6918b592e
commit
ce46c44b5d
@@ -23,6 +23,7 @@ import androidx.compose.ui.graphics.painter.Painter
|
||||
import androidx.compose.ui.graphics.vector.ImageVector
|
||||
import androidx.compose.ui.graphics.vector.rememberVectorPainter
|
||||
import androidx.compose.ui.res.painterResource
|
||||
import androidx.compose.ui.res.vectorResource
|
||||
import androidx.compose.ui.unit.dp
|
||||
import org.signal.core.ui.R
|
||||
|
||||
@@ -30,10 +31,28 @@ import org.signal.core.ui.R
|
||||
* Signal icon library with all available icons.
|
||||
*/
|
||||
enum class SignalIcons(private val icon: SignalIcon) : SignalIcon by icon {
|
||||
Keyboard(icon(R.drawable.ic_keyboard_24)),
|
||||
ArrowStart(icon(R.drawable.symbol_arrow_start_24)),
|
||||
At(icon(R.drawable.symbol_at_24)),
|
||||
Backup(icon(R.drawable.symbol_backup_24)),
|
||||
Camera(icon(R.drawable.symbol_camera_24)),
|
||||
CheckCircle(icon(R.drawable.symbol_check_circle_24)),
|
||||
Copy(icon(R.drawable.symbol_copy_android_24)),
|
||||
Edit(icon(R.drawable.symbol_edit_24)),
|
||||
ErrorCircle(icon(R.drawable.symbol_error_circle_fill_24)),
|
||||
Forward(icon(R.drawable.symbol_forward_24)),
|
||||
Info(icon(R.drawable.symbol_info_24)),
|
||||
Keyboard(icon(R.drawable.ic_keyboard_24)),
|
||||
Link(icon(R.drawable.symbol_link_24)),
|
||||
Lock(icon(R.drawable.symbol_lock_24)),
|
||||
MoreVertical(icon(R.drawable.symbol_more_vertical_24)),
|
||||
Phone(icon(R.drawable.symbol_phone_24)),
|
||||
QrCode(icon(R.drawable.symbol_qrcode_24))
|
||||
Plus(icon(R.drawable.symbol_plus_24)),
|
||||
QrCode(icon(R.drawable.symbol_qrcode_24)),
|
||||
Search(icon(R.drawable.symbol_search_24)),
|
||||
Settings(icon(R.drawable.symbol_settings_android_24)),
|
||||
Share(icon(R.drawable.symbol_share_android_24)),
|
||||
Trash(icon(R.drawable.symbol_trash_24)),
|
||||
X(icon(R.drawable.symbol_x_24))
|
||||
}
|
||||
|
||||
private fun icon(@DrawableRes id: Int) = SignalIcon.DrawableIcon(id)
|
||||
@@ -43,6 +62,9 @@ sealed interface SignalIcon {
|
||||
@get:Composable
|
||||
val painter: Painter
|
||||
|
||||
@get:Composable
|
||||
val imageVector: ImageVector
|
||||
|
||||
/**
|
||||
* Icon backed by an XML drawable resource.
|
||||
*/
|
||||
@@ -51,6 +73,10 @@ sealed interface SignalIcon {
|
||||
@get:Composable
|
||||
override val painter: Painter
|
||||
get() = painterResource(drawableId)
|
||||
|
||||
@get:Composable
|
||||
override val imageVector: ImageVector
|
||||
get() = ImageVector.vectorResource(drawableId)
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -61,6 +87,10 @@ sealed interface SignalIcon {
|
||||
@get:Composable
|
||||
override val painter: Painter
|
||||
get() = rememberVectorPainter(image)
|
||||
|
||||
@get:Composable
|
||||
override val imageVector: ImageVector
|
||||
get() = image
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
10
core/ui/src/main/res/drawable/symbol_arrow_start_24.xml
Normal file
10
core/ui/src/main/res/drawable/symbol_arrow_start_24.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:autoMirrored="true"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#000"
|
||||
android:pathData="M3.88 12c0 0.23 0.09 0.45 0.25 0.62l6.5 6.5c0.34 0.34 0.9 0.34 1.24 0 0.34-0.34 0.34-0.9 0-1.24l-5.13-5.13 1.76 0.13h11.25c0.48 0 0.88-0.4 0.88-0.88s-0.4-0.88-0.88-0.88H8.5l-1.76 0.13 5.13-5.13c0.34-0.34 0.34-0.9 0-1.24-0.34-0.34-0.9-0.34-1.24 0l-6.5 6.5C3.97 11.55 3.88 11.77 3.88 12Z"/>
|
||||
</vector>
|
||||
10
core/ui/src/main/res/drawable/symbol_at_24.xml
Normal file
10
core/ui/src/main/res/drawable/symbol_at_24.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M2.875,12a9.125,9.125 0,1 1,18.25 0c0,1.394 -0.293,2.319 -0.683,2.87 -0.366,0.517 -0.85,0.755 -1.442,0.755 -0.733,0 -1.625,-0.785 -1.625,-1.875L17.375,12a5.375,5.375 0,1 0,-1.302 3.508c0.593,1.1 1.706,1.867 2.927,1.867 1.158,0 2.174,-0.512 2.87,-1.494 0.673,-0.95 1.005,-2.275 1.005,-3.881 0,-6.006 -4.869,-10.875 -10.875,-10.875S1.125,5.994 1.125,12 5.994,22.875 12,22.875c1.98,0 3.838,-0.53 5.438,-1.455a0.875,0.875 0,0 0,-0.876 -1.515A9.08,9.08 0,0 1,12 21.125,9.125 9.125,0 0,1 2.875,12ZM15.625,12a3.625,3.625 0,1 0,-7.25 0,3.625 3.625,0 0,0 7.25,0Z"
|
||||
android:fillColor="#000"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
12
core/ui/src/main/res/drawable/symbol_backup_24.xml
Normal file
12
core/ui/src/main/res/drawable/symbol_backup_24.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M12 2.88c-5.04 0-9.13 4.08-9.13 9.12 0 2.34 0.88 4.47 2.33 6.09l0.48-0.48c0.41-0.4 1.11-0.21 1.26 0.35l0.76 2.96c0.14 0.56-0.37 1.06-0.92 0.92l-2.96-0.76c-0.57-0.15-0.76-0.85-0.35-1.26l0.5-0.5C2.2 17.4 1.11 14.83 1.11 12 1.13 6 6 1.12 12 1.12 18 1.13 22.88 6 22.88 12c0 6-4.87 10.88-10.88 10.88-0.48 0-0.88-0.4-0.88-0.88s0.4-0.88 0.88-0.88c5.04 0 9.13-4.08 9.13-9.12 0-5.04-4.09-9.13-9.13-9.13Z"/>
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M10.74 5.23c0.02-0.4 0.35-0.73 0.76-0.73 0.4 0 0.74 0.32 0.76 0.73l0.2 6.31 4.31 0.2c0.41 0.02 0.73 0.35 0.73 0.76 0 0.4-0.32 0.74-0.73 0.76l-5.2 0.24H11.5c-0.55 0-1-0.45-1-1v-0.06l0.24-7.2Z"/>
|
||||
</vector>
|
||||
13
core/ui/src/main/res/drawable/symbol_check_circle_24.xml
Normal file
13
core/ui/src/main/res/drawable/symbol_check_circle_24.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M16.742,8.714a0.875,0.875 0,0 0,-1.484 -0.928l-4.346,6.954 -2.229,-2.787a0.875,0.875 0,0 0,-1.366 1.094l3,3.75a0.875,0.875 0,0 0,1.425 -0.083l5,-8Z"
|
||||
android:fillColor="#000"/>
|
||||
<path
|
||||
android:pathData="M12,1.125C5.994,1.125 1.125,5.994 1.125,12S5.994,22.875 12,22.875 22.875,18.006 22.875,12 18.006,1.125 12,1.125ZM2.875,12a9.125,9.125 0,1 1,18.25 0,9.125 9.125,0 0,1 -18.25,0Z"
|
||||
android:fillColor="#000"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
10
core/ui/src/main/res/drawable/symbol_copy_android_24.xml
Normal file
10
core/ui/src/main/res/drawable/symbol_copy_android_24.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M11.714,1.125c-0.67,0 -1.225,0 -1.677,0.037 -0.471,0.038 -0.908,0.121 -1.32,0.33a3.375,3.375 0,0 0,-1.474 1.476c-0.21,0.411 -0.293,0.848 -0.331,1.319 -0.02,0.249 -0.03,0.529 -0.034,0.841a12.57,12.57 0,0 0,-0.841 0.034c-0.471,0.038 -0.908,0.121 -1.32,0.33a3.375,3.375 0,0 0,-1.474 1.476c-0.21,0.411 -0.293,0.848 -0.331,1.319 -0.037,0.452 -0.037,1.008 -0.037,1.677v8.072c0,0.67 0,1.224 0.037,1.677 0.038,0.471 0.121,0.908 0.33,1.32a3.38,3.38 0,0 0,1.476 1.474c0.411,0.21 0.848,0.293 1.319,0.331 0.452,0.037 1.008,0.037 1.677,0.037h4.572c0.67,0 1.225,0 1.677,-0.037 0.471,-0.038 0.908,-0.121 1.32,-0.33a3.374,3.374 0,0 0,1.474 -1.476c0.21,-0.411 0.293,-0.848 0.331,-1.319 0.02,-0.249 0.03,-0.529 0.034,-0.841 0.313,-0.005 0.592,-0.014 0.841,-0.034 0.471,-0.038 0.908,-0.121 1.32,-0.33a3.374,3.374 0,0 0,1.474 -1.476c0.21,-0.411 0.293,-0.848 0.331,-1.319 0.037,-0.452 0.037,-1.007 0.037,-1.677L21.125,5.964c0,-0.67 0,-1.225 -0.037,-1.677 -0.038,-0.471 -0.121,-0.908 -0.33,-1.32a3.374,3.374 0,0 0,-1.476 -1.474c-0.411,-0.21 -0.848,-0.293 -1.319,-0.331 -0.453,-0.037 -1.008,-0.037 -1.677,-0.037h-4.572ZM15.371,18.875h-3.657c-0.67,0 -1.225,0 -1.677,-0.037 -0.471,-0.038 -0.908,-0.121 -1.32,-0.33a3.374,3.374 0,0 1,-1.474 -1.476c-0.21,-0.411 -0.293,-0.848 -0.331,-1.319 -0.037,-0.452 -0.037,-1.008 -0.037,-1.677L6.875,6.879c-0.274,0.003 -0.5,0.011 -0.696,0.027 -0.363,0.03 -0.543,0.083 -0.667,0.146a1.625,1.625 0,0 0,-0.71 0.71c-0.063,0.124 -0.116,0.304 -0.146,0.667 -0.03,0.373 -0.031,0.857 -0.031,1.571v8c0,0.715 0,1.198 0.031,1.57 0.03,0.363 0.083,0.544 0.146,0.668 0.156,0.306 0.405,0.554 0.71,0.71 0.124,0.063 0.304,0.116 0.667,0.146 0.373,0.03 0.856,0.031 1.571,0.031h4.5c0.714,0 1.198,0 1.57,-0.031 0.364,-0.03 0.544,-0.083 0.668,-0.146 0.306,-0.156 0.554,-0.404 0.71,-0.71 0.063,-0.124 0.116,-0.305 0.146,-0.667 0.016,-0.196 0.024,-0.422 0.027,-0.696ZM9.512,3.052c0.124,-0.063 0.304,-0.116 0.667,-0.146 0.373,-0.03 0.857,-0.031 1.571,-0.031h4.5c0.715,0 1.198,0 1.57,0.031 0.363,0.03 0.544,0.083 0.668,0.146 0.306,0.156 0.554,0.405 0.71,0.71 0.063,0.124 0.116,0.304 0.146,0.667 0.03,0.373 0.031,0.856 0.031,1.571v8c0,0.714 0,1.198 -0.031,1.57 -0.03,0.364 -0.083,0.544 -0.146,0.668a1.625,1.625 0,0 1,-0.71 0.71c-0.124,0.063 -0.305,0.116 -0.667,0.146 -0.373,0.03 -0.857,0.031 -1.571,0.031h-4.5c-0.714,0 -1.198,0 -1.57,-0.031 -0.364,-0.03 -0.544,-0.083 -0.668,-0.146a1.625,1.625 0,0 1,-0.71 -0.71c-0.063,-0.124 -0.116,-0.304 -0.146,-0.667 -0.03,-0.373 -0.031,-0.857 -0.031,-1.571L8.625,6c0,-0.715 0,-1.198 0.031,-1.57 0.03,-0.364 0.083,-0.544 0.146,-0.668 0.156,-0.305 0.405,-0.554 0.71,-0.71Z"
|
||||
android:fillColor="#000"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
10
core/ui/src/main/res/drawable/symbol_edit_24.xml
Normal file
10
core/ui/src/main/res/drawable/symbol_edit_24.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M20.369,3.631a3.35,3.35 0,0 0,-4.738 0l-11.25,11.25c-0.09,0.09 -0.16,0.2 -0.203,0.32l-1.634,4.493c-0.4,1.097 0.664,2.161 1.762,1.762l4.493,-1.634a0.875,0.875 0,0 0,0.32 -0.203l11.25,-11.25a3.35,3.35 0,0 0,0 -4.738ZM16.869,4.869A1.6,1.6 0,1 1,19.13 7.13L18,8.263 15.737,6l1.132,-1.131ZM14.499,7.237 L5.756,15.981 4.463,19.537 8.018,18.244L16.762,9.5 14.5,7.237Z"
|
||||
android:fillColor="#000"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
@@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M1.5 12C1.5 6.2 6.2 1.5 12 1.5S22.5 6.2 22.5 12 17.8 22.5 12 22.5 1.5 17.8 1.5 12ZM12 6.5c-0.7 0-1.24 0.6-1.2 1.29l0.43 5.5C11.26 13.69 11.6 14 12 14s0.74-0.31 0.77-0.71l0.42-5.5C13.24 7.09 12.7 6.5 12 6.5Zm0 8.75c-0.69 0-1.25 0.56-1.25 1.25s0.56 1.25 1.25 1.25 1.25-0.56 1.25-1.25-0.56-1.25-1.25-1.25Z"/>
|
||||
</vector>
|
||||
11
core/ui/src/main/res/drawable/symbol_forward_24.xml
Normal file
11
core/ui/src/main/res/drawable/symbol_forward_24.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:autoMirrored="true">
|
||||
<path
|
||||
android:pathData="M13.42,2.22c-1.053,-0.912 -2.69,-0.164 -2.69,1.228v2.268c-4.932,0.672 -9.21,4.846 -9.21,10.009 0,1.936 0.546,3.748 1.492,5.286 0.412,0.669 1.148,0.615 1.535,0.443 0.382,-0.17 0.81,-0.59 0.81,-1.208 0,-1.37 0.403,-2.648 1.323,-3.594 0.801,-0.822 2.077,-1.477 4.05,-1.656v2.056c0,1.392 1.637,2.14 2.69,1.229l7.854,-6.803a1.625,1.625 0,0 0,0 -2.456L13.42,2.22ZM12.48,3.722 L20.02,10.25 12.48,16.779v-2.705a0.875,0.875 0,0 0,-0.89 -0.875c-2.817,0.048 -4.843,0.877 -6.163,2.232 -0.89,0.914 -1.409,2.016 -1.652,3.16a8.336,8.336 0,0 1,-0.504 -2.866c0,-4.397 3.91,-8.094 8.383,-8.34a0.875,0.875 0,0 0,0.827 -0.875L12.481,3.722Z"
|
||||
android:fillColor="#000"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
13
core/ui/src/main/res/drawable/symbol_info_24.xml
Normal file
13
core/ui/src/main/res/drawable/symbol_info_24.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#000"
|
||||
android:pathData="M13.125,16.125v-4.914c0,-0.093 0,-0.19 -0.007,-0.273a0.88,0.88 0,0 0,-0.088 -0.335,0.875 0.875,0 0,0 -0.383,-0.383 0.88,0.88 0,0 0,-0.335 -0.088c-0.083,-0.007 -0.18,-0.007 -0.273,-0.007L10.5,10.125a0.75,0.75 0,0 0,0 1.5h0.875v4.5L10.25,16.125a0.75,0.75 0,0 0,0 1.5h4a0.75,0.75 0,0 0,0 -1.5h-1.125ZM10.624,7.251a1.376,1.376 0,1 1,2.752 0,1.376 1.376,0 0,1 -2.752,0Z" />
|
||||
<path
|
||||
android:fillColor="#000"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M1.125,12C1.125,5.994 5.994,1.125 12,1.125S22.875,5.994 22.875,12 18.006,22.875 12,22.875 1.125,18.006 1.125,12ZM12,2.875a9.125,9.125 0,1 0,0 18.25,9.125 9.125,0 0,0 0,-18.25Z" />
|
||||
</vector>
|
||||
15
core/ui/src/main/res/drawable/symbol_link_24.xml
Normal file
15
core/ui/src/main/res/drawable/symbol_link_24.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M16.1 12.88c-0.35 0.34-0.35 0.9 0 1.24 0.34 0.34 0.89 0.34 1.23 0l3-3c1.03-1.03 1.55-2.38 1.55-3.73 0-2.9-2.36-5.26-5.27-5.26-1.35 0-2.7 0.51-3.73 1.54l-3 3C9.54 7 9.54 7.57 9.88 7.9c0.34 0.34 0.9 0.34 1.24 0l3-3c0.69-0.7 1.58-1.04 2.49-1.04 1.94 0 3.52 1.58 3.52 3.52 0 0.9-0.35 1.8-1.04 2.5l-3 3Z"/>
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M15.6 8.37c0.35 0.34 0.35 0.9 0 1.23l-6 6c-0.34 0.35-0.9 0.35-1.23 0-0.35-0.34-0.35-0.9 0-1.23l6-6c0.34-0.35 0.9-0.35 1.23 0Z"/>
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M7.9 9.88c0.35 0.34 0.35 0.9 0 1.24l-3 3C4.23 14.8 3.88 15.7 3.88 16.6c0 1.94 1.58 3.52 3.52 3.52 0.9 0 1.8-0.35 2.5-1.04l3-3c0.33-0.34 0.89-0.34 1.23 0 0.34 0.35 0.34 0.9 0 1.24l-3 3c-1.03 1.03-2.38 1.55-3.73 1.55-2.9 0-5.26-2.36-5.26-5.27 0-1.35 0.51-2.7 1.54-3.73l3-3c0.34-0.34 0.9-0.34 1.24 0Z"/>
|
||||
</vector>
|
||||
12
core/ui/src/main/res/drawable/symbol_lock_24.xml
Normal file
12
core/ui/src/main/res/drawable/symbol_lock_24.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M11.13 16.24c-0.46-0.28-0.76-0.79-0.76-1.36 0-0.9 0.73-1.63 1.63-1.63 0.9 0 1.63 0.73 1.63 1.63 0 0.57-0.3 1.08-0.76 1.36v1.51c0 0.48-0.39 0.88-0.87 0.88s-0.88-0.4-0.88-0.88v-1.5Z"/>
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M5.88 6.75v2.8c-0.6 0.32-1.08 0.81-1.39 1.42-0.2 0.4-0.29 0.85-0.33 1.32-0.04 0.45-0.04 1-0.04 1.67v4.08c0 0.67 0 1.22 0.04 1.67 0.04 0.47 0.12 0.91 0.33 1.32 0.33 0.64 0.84 1.15 1.48 1.48 0.4 0.2 0.85 0.29 1.32 0.33 0.45 0.04 1 0.04 1.67 0.04h6.08c0.67 0 1.22 0 1.67-0.04 0.47-0.04 0.91-0.12 1.32-0.33 0.64-0.33 1.15-0.84 1.48-1.48 0.2-0.4 0.29-0.85 0.33-1.32 0.04-0.45 0.04-1 0.04-1.67v-4.08c0-0.67 0-1.22-0.04-1.67-0.04-0.47-0.12-0.91-0.33-1.32-0.31-0.6-0.8-1.1-1.39-1.43V6.75c0-3.38-2.74-6.13-6.12-6.13S5.87 3.38 5.87 6.75Zm10.5 0v2.4c-0.39-0.03-0.83-0.03-1.34-0.03H8.96c-0.5 0-0.95 0-1.34 0.02V6.75c0-2.42 1.96-4.38 4.38-4.38s4.38 1.96 4.38 4.38Zm-9.62 4.3c0.13-0.06 0.3-0.11 0.67-0.14 0.37-0.03 0.86-0.04 1.57-0.04h6c0.71 0 1.2 0 1.57 0.04 0.36 0.03 0.54 0.08 0.67 0.14 0.3 0.16 0.55 0.4 0.7 0.71 0.07 0.13 0.12 0.3 0.15 0.67 0.03 0.37 0.04 0.86 0.04 1.57v4c0 0.71 0 1.2-0.04 1.57-0.03 0.36-0.08 0.54-0.14 0.67-0.16 0.3-0.4 0.55-0.71 0.7-0.13 0.07-0.3 0.12-0.67 0.15-0.37 0.03-0.86 0.04-1.57 0.04H9c-0.71 0-1.2 0-1.57-0.04-0.36-0.03-0.54-0.08-0.67-0.14-0.3-0.16-0.55-0.4-0.7-0.71-0.07-0.13-0.12-0.3-0.15-0.67C5.88 19.2 5.87 18.71 5.87 18v-4c0-0.71 0-1.2 0.04-1.57 0.03-0.36 0.08-0.54 0.14-0.67 0.16-0.3 0.4-0.55 0.71-0.7Z"/>
|
||||
</vector>
|
||||
@@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="12dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="12"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M6,6.75A1.625,1.625 0,1 0,6 3.5a1.625,1.625 0,0 0,0 3.25ZM7.625,12a1.625,1.625 0,1 1,-3.25 0,1.625 1.625,0 0,1 3.25,0ZM7.625,18.875a1.625,1.625 0,1 1,-3.25 0,1.625 1.625,0 0,1 3.25,0Z"
|
||||
android:fillColor="#000"/>
|
||||
</vector>
|
||||
9
core/ui/src/main/res/drawable/symbol_plus_24.xml
Normal file
9
core/ui/src/main/res/drawable/symbol_plus_24.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M12.875,4.5a0.875,0.875 0,0 0,-1.75 0v6.625H4.5a0.875,0.875 0,0 0,0 1.75h6.625V19.5a0.875,0.875 0,0 0,1.75 0v-6.625H19.5a0.875,0.875 0,0 0,0 -1.75h-6.625V4.5Z"
|
||||
android:fillColor="#000"/>
|
||||
</vector>
|
||||
10
core/ui/src/main/res/drawable/symbol_search_24.xml
Normal file
10
core/ui/src/main/res/drawable/symbol_search_24.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M10,2.125a7.875,7.875 0,1 0,4.716 14.182l4.989,4.989a1.125,1.125 0,0 0,1.59 -1.591l-4.988,-4.989A7.875,7.875 0,0 0,10 2.125ZM3.875,10a6.125,6.125 0,1 1,12.25 0,6.125 6.125,0 0,1 -12.25,0Z"
|
||||
android:fillColor="#000"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
14
core/ui/src/main/res/drawable/symbol_settings_android_24.xml
Normal file
14
core/ui/src/main/res/drawable/symbol_settings_android_24.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M12,7.625a4.375,4.375 0,1 0,0 8.75,4.375 4.375,0 0,0 0,-8.75ZM9.375,12a2.625,2.625 0,1 1,5.25 0,2.625 2.625,0 0,1 -5.25,0Z"
|
||||
android:fillColor="#000"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M11.074,1.125a2.375,2.375 0,0 0,-2.356 2.08l-0.144,1.15a8.367,8.367 0,0 0,-1.48 0.856L6.026,4.76a2.375,2.375 0,0 0,-2.98 1L2.12,7.364a2.375,2.375 0,0 0,0.624 3.081l0.925,0.701a8.467,8.467 0,0 0,0 1.708l-0.925,0.7a2.375,2.375 0,0 0,-0.624 3.082l0.926,1.603a2.375,2.375 0,0 0,2.98 1.001l1.07,-0.451c0.46,0.332 0.955,0.62 1.479,0.855l0.144,1.15a2.375,2.375 0,0 0,2.356 2.081h1.852a2.375,2.375 0,0 0,2.357 -2.08l0.143,-1.15a8.366,8.366 0,0 0,1.48 -0.856l1.07,0.451a2.375,2.375 0,0 0,2.98 -1l0.925,-1.604a2.375,2.375 0,0 0,-0.623 -3.081l-0.926,-0.701a8.49,8.49 0,0 0,0 -1.708l0.926,-0.7a2.375,2.375 0,0 0,0.623 -3.082l-0.926,-1.603a2.375,2.375 0,0 0,-2.98 -1.001l-1.07,0.451a8.366,8.366 0,0 0,-1.479 -0.855l-0.143,-1.15a2.375,2.375 0,0 0,-2.357 -2.081h-1.852ZM10.454,3.422a0.625,0.625 0,0 1,0.62 -0.547h1.852c0.315,0 0.581,0.235 0.62,0.547l0.207,1.657c0.04,0.324 0.257,0.598 0.563,0.712a6.63,6.63 0,0 1,1.902 1.1,0.875 0.875,0 0,0 0.897,0.131l1.54,-0.65a0.625,0.625 0,0 1,0.785 0.264l0.925,1.603a0.625,0.625 0,0 1,-0.163 0.811l-1.333,1.008a0.875,0.875 0,0 0,-0.335 0.842,6.678 6.678,0 0,1 0,2.2 0.875,0.875 0,0 0,0.335 0.841l1.332,1.009c0.252,0.19 0.322,0.538 0.165,0.81l-0.926,1.604a0.625,0.625 0,0 1,-0.785 0.264l-1.54,-0.65a0.875,0.875 0,0 0,-0.897 0.131,6.618 6.618,0 0,1 -1.902,1.1 0.875,0.875 0,0 0,-0.563 0.712l-0.207,1.657a0.625,0.625 0,0 1,-0.62 0.547h-1.852a0.625,0.625 0,0 1,-0.62 -0.547l-0.207,-1.657a0.875,0.875 0,0 0,-0.562 -0.712,6.62 6.62,0 0,1 -1.902,-1.1 0.875,0.875 0,0 0,-0.898 -0.131l-1.54,0.65a0.625,0.625 0,0 1,-0.784 -0.264l-0.926,-1.603a0.625,0.625 0,0 1,0.164 -0.811l1.332,-1.008a0.875,0.875 0,0 0,0.335 -0.842,6.677 6.677,0 0,1 0,-2.2 0.875,0.875 0,0 0,-0.335 -0.841L3.799,9.05a0.625,0.625 0,0 1,-0.164 -0.81l0.926,-1.604a0.625,0.625 0,0 1,0.784 -0.264l1.54,0.65c0.3,0.127 0.646,0.076 0.898,-0.131a6.617,6.617 0,0 1,1.902 -1.1,0.875 0.875,0 0,0 0.562,-0.712l0.207,-1.657Z"
|
||||
android:fillColor="#000"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
10
core/ui/src/main/res/drawable/symbol_share_android_24.xml
Normal file
10
core/ui/src/main/res/drawable/symbol_share_android_24.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M17.5,1.75a3.25,3.25 0,0 0,-3.145 4.072L7.763,9.667a3.25,3.25 0,1 0,0 4.666l6.592,3.845A3.254,3.254 0,0 0,17.5 22.25a3.25,3.25 0,1 0,-2.263 -5.583l-6.592,-3.845a3.255,3.255 0,0 0,0 -1.644l6.592,-3.845A3.25,3.25 0,1 0,17.5 1.75ZM15.75,5a1.75,1.75 0,1 1,3.5 0,1.75 1.75,0 0,1 -3.5,0ZM15.75,19a1.75,1.75 0,1 1,3.5 0,1.75 1.75,0 0,1 -3.5,0ZM5.5,10.25a1.75,1.75 0,1 0,0 3.5,1.75 1.75,0 0,0 0,-3.5Z"
|
||||
android:fillColor="#000"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
13
core/ui/src/main/res/drawable/symbol_trash_24.xml
Normal file
13
core/ui/src/main/res/drawable/symbol_trash_24.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M8,17.027a0.75,0.75 0,1 0,1.5 -0.054l-0.25,-7a0.75,0.75 0,1 0,-1.5 0.054l0.25,7ZM12,9.25a0.75,0.75 0,0 1,0.75 0.75v7a0.75,0.75 0,0 1,-1.5 0v-7a0.75,0.75 0,0 1,0.75 -0.75ZM16.25,10.027a0.75,0.75 0,1 0,-1.5 -0.054l-0.25,7a0.75,0.75 0,1 0,1.5 0.054l0.25,-7Z"
|
||||
android:fillColor="#000"/>
|
||||
<path
|
||||
android:pathData="M12,1.125c2.166,0 3.901,1.471 4.292,3.5L21,4.625a0.875,0.875 0,0 1,0 1.75h-0.676l-0.634,10.453c-0.054,0.895 -0.098,1.619 -0.18,2.204 -0.086,0.604 -0.22,1.132 -0.494,1.618a4.375,4.375 0,0 1,-1.895 1.784c-0.501,0.243 -1.036,0.346 -1.644,0.394 -0.59,0.047 -1.315,0.047 -2.212,0.047h-2.53c-0.897,0 -1.622,0 -2.212,-0.047 -0.608,-0.048 -1.143,-0.15 -1.644,-0.394a4.375,4.375 0,0 1,-1.895 -1.784c-0.274,-0.486 -0.408,-1.014 -0.493,-1.618 -0.083,-0.585 -0.127,-1.309 -0.181,-2.204L3.676,6.375L3,6.375a0.875,0.875 0,1 1,0 -1.75h4.708c0.39,-2.029 2.126,-3.5 4.292,-3.5ZM12,2.875c1.19,0 2.144,0.708 2.488,1.75L9.512,4.625c0.344,-1.042 1.298,-1.75 2.488,-1.75ZM5.43,6.375 L6.055,16.685c0.057,0.94 0.097,1.595 0.168,2.103 0.07,0.498 0.162,0.784 0.285,1.002 0.262,0.464 0.658,0.837 1.137,1.07 0.225,0.11 0.516,0.184 1.017,0.224 0.512,0.04 1.167,0.041 2.109,0.041h2.458c0.942,0 1.597,0 2.109,-0.041 0.501,-0.04 0.792,-0.115 1.017,-0.224a2.624,2.624 0,0 0,1.137 -1.07c0.123,-0.218 0.214,-0.504 0.285,-1.002 0.071,-0.508 0.111,-1.162 0.168,-2.102l0.625,-10.311L5.43,6.375Z"
|
||||
android:fillColor="#000"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
9
core/ui/src/main/res/drawable/symbol_x_24.xml
Normal file
9
core/ui/src/main/res/drawable/symbol_x_24.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M18.619,6.619A0.875,0.875 0,0 0,17.38 5.38L12,10.763 6.619,5.38A0.875,0.875 0,1 0,5.38 6.62L10.763,12 5.38,17.381a0.875,0.875 0,1 0,1.24 1.239L12,13.237l5.381,5.382a0.875,0.875 0,1 0,1.238 -1.238L13.237,12l5.382,-5.381Z"
|
||||
android:fillColor="#000"/>
|
||||
</vector>
|
||||
Reference in New Issue
Block a user