mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-25 19:29:54 +01:00
Add support for scheduled message sends.
This commit is contained in:
9
app/src/main/res/drawable/ic_calendar_24.xml
Normal file
9
app/src/main/res/drawable/ic_calendar_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="M5.4,21.6C4.9,21.6 4.475,21.421 4.125,21.062C3.775,20.704 3.6,20.283 3.6,19.8V6.6C3.6,6.117 3.775,5.696 4.125,5.338C4.475,4.979 4.9,4.8 5.4,4.8H7.2V2.4H9V4.8H15V2.4H16.8V4.8H18.6C19.1,4.8 19.524,4.979 19.874,5.338C20.224,5.696 20.4,6.117 20.4,6.6V19.8C20.4,20.283 20.224,20.704 19.874,21.062C19.524,21.421 19.1,21.6 18.6,21.6H5.4ZM5.4,19.8H18.6V10.8H5.4V19.8ZM5.4,9H18.6V6.6H5.4V9ZM5.4,9V6.6V9ZM12,14.4C11.75,14.4 11.538,14.312 11.362,14.137C11.187,13.962 11.1,13.75 11.1,13.5C11.1,13.25 11.187,13.038 11.362,12.863C11.538,12.688 11.75,12.6 12,12.6C12.249,12.6 12.462,12.688 12.637,12.863C12.812,13.038 12.9,13.25 12.9,13.5C12.9,13.75 12.812,13.962 12.637,14.137C12.462,14.312 12.249,14.4 12,14.4ZM8.1,14.4C7.85,14.4 7.638,14.312 7.462,14.137C7.287,13.962 7.2,13.75 7.2,13.5C7.2,13.25 7.287,13.038 7.462,12.863C7.638,12.688 7.85,12.6 8.1,12.6C8.349,12.6 8.562,12.688 8.737,12.863C8.912,13.038 9,13.25 9,13.5C9,13.75 8.912,13.962 8.737,14.137C8.562,14.312 8.349,14.4 8.1,14.4ZM15.9,14.4C15.65,14.4 15.438,14.312 15.262,14.137C15.087,13.962 15,13.75 15,13.5C15,13.25 15.087,13.038 15.262,12.863C15.438,12.688 15.65,12.6 15.9,12.6C16.149,12.6 16.362,12.688 16.537,12.863C16.712,13.038 16.8,13.25 16.8,13.5C16.8,13.75 16.712,13.962 16.537,14.137C16.362,14.312 16.149,14.4 15.9,14.4ZM12,18C11.75,18 11.538,17.912 11.362,17.737C11.187,17.562 11.1,17.35 11.1,17.1C11.1,16.85 11.187,16.638 11.362,16.463C11.538,16.288 11.75,16.2 12,16.2C12.249,16.2 12.462,16.288 12.637,16.463C12.812,16.638 12.9,16.85 12.9,17.1C12.9,17.35 12.812,17.562 12.637,17.737C12.462,17.912 12.249,18 12,18ZM8.1,18C7.85,18 7.638,17.912 7.462,17.737C7.287,17.562 7.2,17.35 7.2,17.1C7.2,16.85 7.287,16.638 7.462,16.463C7.638,16.288 7.85,16.2 8.1,16.2C8.349,16.2 8.562,16.288 8.737,16.463C8.912,16.638 9,16.85 9,17.1C9,17.35 8.912,17.562 8.737,17.737C8.562,17.912 8.349,18 8.1,18ZM15.9,18C15.65,18 15.438,17.912 15.262,17.737C15.087,17.562 15,17.35 15,17.1C15,16.85 15.087,16.638 15.262,16.463C15.438,16.288 15.65,16.2 15.9,16.2C16.149,16.2 16.362,16.288 16.537,16.463C16.712,16.638 16.8,16.85 16.8,17.1C16.8,17.35 16.712,17.562 16.537,17.737C16.362,17.912 16.149,18 15.9,18Z"
|
||||
android:fillColor="#1B1B1D"/>
|
||||
</vector>
|
||||
9
app/src/main/res/drawable/ic_daytime_24.xml
Normal file
9
app/src/main/res/drawable/ic_daytime_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="22"
|
||||
android:viewportHeight="22">
|
||||
<path
|
||||
android:pathData="M12.174,1.203C12.174,0.734 11.783,0.344 11.314,0.344C10.856,0.344 10.465,0.734 10.465,1.203V3.254C10.465,3.713 10.856,4.104 11.314,4.104C11.783,4.104 12.174,3.713 12.174,3.254V1.203ZM16.139,4.924C15.816,5.256 15.816,5.793 16.139,6.125C16.471,6.447 17.018,6.457 17.35,6.125L18.805,4.67C19.137,4.338 19.137,3.781 18.805,3.459C18.482,3.127 17.935,3.127 17.613,3.459L16.139,4.924ZM5.279,6.125C5.611,6.447 6.158,6.447 6.48,6.125C6.813,5.813 6.813,5.246 6.49,4.924L5.035,3.459C4.723,3.137 4.166,3.127 3.834,3.459C3.512,3.781 3.512,4.338 3.824,4.66L5.279,6.125ZM11.314,15.93C14.029,15.93 16.285,13.674 16.285,10.949C16.285,8.215 14.029,5.959 11.314,5.959C8.59,5.959 6.334,8.215 6.334,10.949C6.334,13.674 8.59,15.93 11.314,15.93ZM11.314,14.436C9.4,14.436 7.818,12.854 7.818,10.949C7.818,9.035 9.4,7.453 11.314,7.453C13.219,7.453 14.801,9.035 14.801,10.949C14.801,12.854 13.219,14.436 11.314,14.436ZM21.031,11.799C21.5,11.799 21.891,11.408 21.891,10.949C21.891,10.49 21.5,10.1 21.031,10.1H18.99C18.531,10.1 18.141,10.49 18.141,10.949C18.141,11.408 18.531,11.799 18.99,11.799H21.031ZM1.598,10.1C1.139,10.1 0.748,10.49 0.748,10.949C0.748,11.408 1.139,11.799 1.598,11.799H3.639C4.107,11.799 4.498,11.408 4.498,10.949C4.498,10.49 4.107,10.1 3.639,10.1H1.598ZM17.34,15.783C17.018,15.451 16.471,15.451 16.139,15.783C15.816,16.105 15.816,16.652 16.139,16.984L17.613,18.449C17.935,18.771 18.482,18.762 18.805,18.44C19.137,18.107 19.137,17.56 18.805,17.238L17.34,15.783ZM3.824,17.229C3.502,17.551 3.502,18.098 3.814,18.43C4.137,18.752 4.693,18.762 5.025,18.44L6.48,16.984C6.813,16.662 6.813,16.115 6.49,15.783C6.168,15.461 5.611,15.461 5.279,15.783L3.824,17.229ZM12.174,18.645C12.174,18.176 11.783,17.785 11.314,17.785C10.856,17.785 10.465,18.176 10.465,18.645V20.695C10.465,21.154 10.856,21.545 11.314,21.545C11.783,21.545 12.174,21.154 12.174,20.695V18.645Z"
|
||||
android:fillColor="#000000"/>
|
||||
</vector>
|
||||
9
app/src/main/res/drawable/ic_expand_down_24.xml
Normal file
9
app/src/main/res/drawable/ic_expand_down_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,15L7,10H17L12,15Z"
|
||||
android:fillColor="@color/signal_colorOnSurface"/>
|
||||
</vector>
|
||||
9
app/src/main/res/drawable/ic_nighttime_26.xml
Normal file
9
app/src/main/res/drawable/ic_nighttime_26.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="26dp"
|
||||
android:height="16dp"
|
||||
android:viewportWidth="26"
|
||||
android:viewportHeight="16">
|
||||
<path
|
||||
android:pathData="M13.01,4.178C13.439,4.168 13.801,3.807 13.801,3.299V0.896C13.801,0.398 13.439,0.027 13.01,0.027C12.57,0.027 12.209,0.398 12.209,0.896V3.299C12.209,3.807 12.57,4.188 13.01,4.178ZM18.039,6.268C18.352,6.561 18.869,6.561 19.221,6.209L20.92,4.51C21.291,4.148 21.271,3.65 20.969,3.338C20.666,3.025 20.158,3.016 19.797,3.377L18.098,5.076C17.736,5.438 17.727,5.965 18.039,6.268ZM7.971,6.268C8.273,5.955 8.273,5.438 7.912,5.076L6.213,3.377C5.852,3.016 5.354,3.035 5.041,3.338C4.729,3.641 4.719,4.148 5.09,4.51L6.789,6.209C7.141,6.561 7.668,6.57 7.971,6.268ZM1.34,15.965H24.67C25.129,15.965 25.52,15.613 25.52,15.184C25.52,14.754 25.129,14.393 24.67,14.393H17.326C17.971,13.523 18.342,12.459 18.342,11.297C18.342,8.377 15.92,5.945 13.01,5.945C10.09,5.945 7.668,8.377 7.668,11.297C7.668,12.459 8.039,13.523 8.684,14.393H1.34C0.881,14.393 0.49,14.754 0.49,15.184C0.49,15.613 0.881,15.965 1.34,15.965ZM9.23,11.297C9.23,9.227 10.939,7.527 13.01,7.527C15.07,7.527 16.779,9.227 16.779,11.297C16.779,12.586 16.105,13.729 15.109,14.393H10.9C9.904,13.729 9.23,12.586 9.23,11.297ZM2.609,11.844H5.012C5.52,11.844 5.9,11.482 5.891,11.053C5.881,10.613 5.51,10.252 5.012,10.252H2.609C2.102,10.252 1.74,10.613 1.74,11.053C1.74,11.482 2.102,11.844 2.609,11.844ZM20.998,11.844H23.4C23.908,11.844 24.27,11.482 24.27,11.053C24.27,10.613 23.908,10.252 23.4,10.252H20.998C20.5,10.252 20.109,10.613 20.119,11.053C20.129,11.482 20.5,11.844 20.998,11.844Z"
|
||||
android:fillColor="#000000"/>
|
||||
</vector>
|
||||
13
app/src/main/res/drawable/ic_send_outline_24.xml
Normal file
13
app/src/main/res/drawable/ic_send_outline_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">
|
||||
<group>
|
||||
<clip-path
|
||||
android:pathData="M22.1,10.915L5.286,1.306C5.081,1.188 4.846,1.132 4.609,1.142C4.373,1.153 4.144,1.231 3.95,1.366C3.756,1.502 3.604,1.69 3.513,1.908C3.421,2.127 3.394,2.367 3.433,2.6L4.69,10.138L10,12L4.69,13.862L3.433,21.4C3.394,21.633 3.422,21.873 3.514,22.091C3.606,22.309 3.757,22.496 3.952,22.631C4.146,22.767 4.374,22.844 4.61,22.854C4.846,22.865 5.081,22.808 5.286,22.691L22.1,13.085C22.291,12.976 22.45,12.818 22.561,12.627C22.671,12.437 22.729,12.22 22.729,12C22.729,11.78 22.671,11.563 22.561,11.373C22.45,11.182 22.291,11.024 22.1,10.915Z"/>
|
||||
<path
|
||||
android:pathData="M22.1,10.915L22.845,9.613L22.844,9.613L22.1,10.915ZM5.286,1.306L4.541,2.608L4.542,2.608L5.286,1.306ZM3.433,2.6L4.913,2.353L4.912,2.349L3.433,2.6ZM4.69,10.138L3.211,10.385C3.301,10.925 3.677,11.373 4.194,11.554L4.69,10.138ZM10,12L10.496,13.415L14.533,12L10.496,10.585L10,12ZM4.69,13.862L4.194,12.447C3.677,12.628 3.301,13.076 3.211,13.615L4.69,13.862ZM3.433,21.4L4.913,21.647L4.913,21.647L3.433,21.4ZM5.286,22.691L6.03,23.993L6.03,23.993L5.286,22.691ZM22.1,13.085L22.844,14.387L22.845,14.387L22.1,13.085ZM22.844,9.613L6.03,0.004L4.542,2.608L21.356,12.217L22.844,9.613ZM6.031,0.004C5.579,-0.255 5.062,-0.38 4.542,-0.356L4.677,2.641C4.629,2.643 4.583,2.632 4.541,2.608L6.031,0.004ZM4.542,-0.356C4.021,-0.333 3.518,-0.162 3.091,0.136L4.809,2.596C4.77,2.623 4.724,2.639 4.677,2.641L4.542,-0.356ZM3.091,0.136C2.664,0.435 2.33,0.848 2.129,1.329L4.896,2.488C4.878,2.531 4.847,2.569 4.809,2.596L3.091,0.136ZM2.129,1.329C1.928,1.809 1.867,2.337 1.954,2.851L4.912,2.349C4.92,2.396 4.914,2.444 4.896,2.488L2.129,1.329ZM1.954,2.847L3.211,10.385L6.17,9.891L4.913,2.353L1.954,2.847ZM4.194,11.554L9.504,13.415L10.496,10.585L5.186,8.723L4.194,11.554ZM9.504,10.585L4.194,12.447L5.186,15.278L10.496,13.415L9.504,10.585ZM3.211,13.615L1.954,21.153L4.913,21.647L6.17,14.109L3.211,13.615ZM1.954,21.153C1.868,21.667 1.93,22.193 2.132,22.673L4.896,21.509C4.915,21.552 4.92,21.6 4.913,21.647L1.954,21.153ZM2.132,22.673C2.333,23.152 2.667,23.565 3.094,23.862L4.809,21.4C4.848,21.428 4.878,21.465 4.896,21.509L2.132,22.673ZM3.094,23.862C3.521,24.159 4.023,24.33 4.543,24.353L4.677,21.356C4.725,21.358 4.77,21.374 4.809,21.4L3.094,23.862ZM4.543,24.353C5.063,24.376 5.578,24.252 6.03,23.993L4.542,21.389C4.583,21.365 4.63,21.354 4.677,21.356L4.543,24.353ZM6.03,23.993L22.844,14.387L21.356,11.783L4.542,21.389L6.03,23.993ZM22.845,14.387C23.266,14.146 23.615,13.799 23.858,13.38L21.263,11.875C21.285,11.837 21.317,11.805 21.355,11.783L22.845,14.387ZM23.858,13.38C24.101,12.961 24.229,12.485 24.229,12H21.229C21.229,11.956 21.241,11.913 21.263,11.875L23.858,13.38ZM24.229,12C24.229,11.516 24.101,11.04 23.858,10.62L21.263,12.125C21.241,12.087 21.229,12.044 21.229,12H24.229ZM23.858,10.62C23.615,10.201 23.266,9.854 22.845,9.613L21.355,12.217C21.317,12.195 21.285,12.164 21.263,12.125L23.858,10.62Z"
|
||||
android:fillColor="#000000"/>
|
||||
</group>
|
||||
</vector>
|
||||
37
app/src/main/res/drawable/schedule_message_large.xml
Normal file
37
app/src/main/res/drawable/schedule_message_large.xml
Normal file
@@ -0,0 +1,37 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="134dp"
|
||||
android:height="112dp"
|
||||
android:viewportWidth="134"
|
||||
android:viewportHeight="112">
|
||||
<path
|
||||
android:pathData="M67,56m56,0a56,56 0,1 0,-112 0a56,56 0,1 0,112 0"
|
||||
android:fillColor="#FBFCFE"/>
|
||||
<path
|
||||
android:pathData="M67,56m56,0a56,56 0,1 0,-112 0a56,56 0,1 0,112 0"
|
||||
android:fillColor="#50679F"
|
||||
android:fillAlpha="0.11"/>
|
||||
<path
|
||||
android:pathData="M119,32C125.63,32 131,37.37 131,44V68C131,74.63 125.63,80 119,80H115V93.17C115,94.95 112.85,95.85 111.59,94.59L97,80H15C8.37,80 3,74.63 3,68V44C3,37.37 8.37,32 15,32H119Z"
|
||||
android:fillColor="#ffffff"
|
||||
android:fillType="evenOdd"/>
|
||||
<group>
|
||||
<clip-path
|
||||
android:pathData="M53,42h28v28h-28z"/>
|
||||
<group>
|
||||
<clip-path
|
||||
android:pathData="M53,42h28v28h-28z"/>
|
||||
<path
|
||||
android:pathData="M73.3,56.7V54.6H68.05V49H65.95V56.7H73.3ZM67,67.2C65.46,67.2 64.01,66.91 62.65,66.32C61.29,65.74 60.1,64.94 59.08,63.92C58.06,62.9 57.26,61.71 56.67,60.35C56.09,58.98 55.8,57.54 55.8,56C55.8,54.44 56.09,52.99 56.67,51.63C57.26,50.26 58.06,49.08 59.08,48.07C60.1,47.06 61.29,46.26 62.65,45.67C64.01,45.09 65.46,44.8 67,44.8C68.56,44.8 70.01,45.09 71.37,45.67C72.74,46.26 73.92,47.06 74.93,48.07C75.94,49.08 76.74,50.26 77.32,51.63C77.91,52.99 78.2,54.44 78.2,56C78.2,57.54 77.91,58.98 77.32,60.35C76.74,61.71 75.94,62.9 74.93,63.92C73.92,64.94 72.74,65.74 71.37,66.32C70.01,66.91 68.56,67.2 67,67.2ZM67,65.1C69.53,65.1 71.68,64.21 73.45,62.43C75.21,60.65 76.1,58.51 76.1,56C76.1,53.47 75.21,51.32 73.45,49.55C71.68,47.78 69.53,46.9 67,46.9C64.49,46.9 62.35,47.78 60.57,49.55C58.79,51.32 57.9,53.47 57.9,56C57.9,58.51 58.79,60.65 60.57,62.43C62.35,64.21 64.49,65.1 67,65.1Z"
|
||||
android:fillColor="#2C58C3"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M78.85,62.7L78.85,62.7L70.02,57.65C70.02,57.65 70.02,57.65 70.02,57.65C69.83,57.54 69.62,57.49 69.4,57.5C69.18,57.51 68.97,57.58 68.79,57.71C68.61,57.83 68.47,58.01 68.38,58.21C68.3,58.41 68.27,58.63 68.31,58.85C68.31,58.85 68.31,58.85 68.31,58.85L68.97,62.8L69.03,63.15L69.36,63.21L71.8,63.7L69.36,64.19L69.03,64.25L68.97,64.6L68.31,68.55C68.27,68.77 68.3,68.99 68.38,69.19C68.47,69.39 68.61,69.57 68.79,69.69C68.97,69.82 69.18,69.89 69.4,69.9C69.62,69.91 69.83,69.86 70.02,69.75L70.02,69.75L78.85,64.7L78.85,64.7C79.03,64.6 79.17,64.46 79.28,64.28C79.38,64.1 79.43,63.9 79.43,63.7C79.43,63.5 79.38,63.3 79.28,63.12C79.17,62.94 79.03,62.8 78.85,62.7Z"
|
||||
android:fillColor="#2C58C3"
|
||||
android:strokeColor="#ffffff"/>
|
||||
</group>
|
||||
</group>
|
||||
<path
|
||||
android:pathData="M134,44C134,35.72 127.28,29 119,29H15C6.72,29 0,35.72 0,44V68C0,76.28 6.72,83 15,83H95.76L109.46,96.71C112.61,99.86 118,97.63 118,93.17V83H119C127.28,83 134,76.28 134,68V44ZM119,80C125.63,80 131,74.63 131,68V44C131,37.37 125.63,32 119,32H15C8.37,32 3,37.37 3,44V68C3,74.63 8.37,80 15,80H97L111.59,94.59C112.85,95.85 115,94.95 115,93.17V80H119Z"
|
||||
android:fillColor="#D6D9DF"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
Reference in New Issue
Block a user