forked from upstream-mirrors/quik
#979 - Delayed sending
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2017 Moez Bhatti <moez.bhatti@gmail.com>
|
||||
~
|
||||
~ This file is part of QKSMS.
|
||||
~
|
||||
~ QKSMS is free software: you can redistribute it and/or modify
|
||||
~ it under the terms of the GNU General Public License as published by
|
||||
~ the Free Software Foundation, either version 3 of the License, or
|
||||
~ (at your option) any later version.
|
||||
~
|
||||
~ QKSMS is distributed in the hope that it will be useful,
|
||||
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
~ GNU General Public License for more details.
|
||||
~
|
||||
~ You should have received a copy of the GNU General Public License
|
||||
~ along with QKSMS. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<rotate xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:fromDegrees="270"
|
||||
android:toDegrees="270">
|
||||
|
||||
<shape
|
||||
android:innerRadius="16dp"
|
||||
android:shape="ring"
|
||||
android:thickness="2dp"
|
||||
android:useLevel="true">
|
||||
|
||||
<gradient
|
||||
android:angle="0"
|
||||
android:endColor="@color/white"
|
||||
android:startColor="@color/white"
|
||||
android:type="sweep"
|
||||
android:useLevel="false" />
|
||||
|
||||
</shape>
|
||||
|
||||
</rotate>
|
||||
@@ -75,6 +75,35 @@
|
||||
tools:backgroundTint="@color/white"
|
||||
tools:text="Hey! How's it going?" />
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/cancel"
|
||||
style="?android:attr/progressBarStyleHorizontal"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:background="@drawable/circle"
|
||||
android:elevation="4dp"
|
||||
android:foreground="@drawable/ripple"
|
||||
android:indeterminate="false"
|
||||
android:progressDrawable="@drawable/circular_progress_bar"
|
||||
app:layout_constraintBottom_toBottomOf="@id/body"
|
||||
app:layout_constraintEnd_toStartOf="@id/body"
|
||||
tools:progress="45"
|
||||
tools:progressTint="@color/tools_theme" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/cancelIcon"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:elevation="4dp"
|
||||
android:padding="6dp"
|
||||
android:src="@drawable/ic_stop_black_24dp"
|
||||
app:layout_constraintBottom_toBottomOf="@id/cancel"
|
||||
app:layout_constraintEnd_toEndOf="@id/cancel"
|
||||
app:layout_constraintStart_toStartOf="@id/cancel"
|
||||
app:layout_constraintTop_toTopOf="@id/cancel"
|
||||
tools:tint="@color/tools_theme" />
|
||||
|
||||
<common.widget.QkTextView
|
||||
android:id="@+id/status"
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
@@ -159,6 +159,14 @@
|
||||
app:icon="@drawable/ic_block_black_24dp"
|
||||
app:title="@string/settings_blocking_title" />
|
||||
|
||||
<common.widget.PreferenceView
|
||||
android:id="@+id/delayed"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:icon="@drawable/ic_av_timer_black_24dp"
|
||||
tools:summary="No delay"
|
||||
app:title="@string/settings_delayed_title" />
|
||||
|
||||
<common.widget.PreferenceView
|
||||
android:id="@+id/delivery"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -106,23 +106,24 @@
|
||||
<string name="settings_black_title">Pure black night mode</string>
|
||||
<string name="settings_night_start_title">Start time</string>
|
||||
<string name="settings_night_end_title">End time</string>
|
||||
<string name="settings_text_size_title">Font size</string>
|
||||
<string name="settings_system_font_title">Use system font</string>
|
||||
<string name="settings_auto_emoji_title">Automatic emoji</string>
|
||||
<string name="settings_notifications_title">Notifications</string>
|
||||
<string name="settings_notification_previews_title">Notification previews</string>
|
||||
<string name="settings_vibration_title">Vibration</string>
|
||||
<string name="settings_ringtone_title">Sound</string>
|
||||
<string name="settings_blocking_title">Blocking</string>
|
||||
<!-- Do not translate -->
|
||||
<string name="settings_should_i_answer_title">Should I Answer?</string>
|
||||
<string name="settings_should_i_answer_summary">Automatically filter messages from unsolicited numbers by using the \"Should I Answer\" app</string>
|
||||
<string name="settings_delivery_title">Delivery confirmations</string>
|
||||
<string name="settings_delivery_summary">Confirm that messages were sent successfully</string>
|
||||
<string name="settings_qkreply_title">QK Reply</string>
|
||||
<string name="settings_qkreply_summary">Popup for new messages</string>
|
||||
<string name="settings_qkreply_tap_dismiss_title">Tap to dismiss</string>
|
||||
<string name="settings_qkreply_tap_dismiss_summary">Tap outside of the popup to close it</string>
|
||||
<string name="settings_text_size_title">Font size</string>
|
||||
<string name="settings_system_font_title">Use system font</string>
|
||||
<string name="settings_blocking_title">Blocking</string>
|
||||
<!-- Do not translate -->
|
||||
<string name="settings_should_i_answer_title">Should I Answer?</string>
|
||||
<string name="settings_should_i_answer_summary">Automatically filter messages from unsolicited numbers by using the \"Should I Answer\" app</string>
|
||||
<string name="settings_delayed_title">Delayed sending</string>
|
||||
<string name="settings_delivery_title">Delivery confirmations</string>
|
||||
<string name="settings_delivery_summary">Confirm that messages were sent successfully</string>
|
||||
<string name="settings_unicode_title">Strip accents</string>
|
||||
<string name="settings_unicode_summary">Remove accents from characters in outgoing SMS messages</string>
|
||||
<string name="settings_mms_size_title">Max MMS attachment size</string>
|
||||
@@ -131,6 +132,8 @@
|
||||
<string name="settings_about_title">About QKSMS</string>
|
||||
<string name="settings_version">Version %s</string>
|
||||
|
||||
<string name="settings_delay_duration_hint">Enter duration (seconds)</string>
|
||||
|
||||
<string name="blocked_title">Blocking</string>
|
||||
<string name="blocked_empty">Your blocked conversations will appear here</string>
|
||||
<string name="blocked_unblock_dialog_title">Unblock</string>
|
||||
@@ -194,9 +197,10 @@
|
||||
|
||||
<string name="button_cancel">Cancel</string>
|
||||
<string name="button_delete">Delete</string>
|
||||
<string name="button_more">More</string>
|
||||
<string name="button_set">Set</string>
|
||||
<string name="button_unblock">Unblock</string>
|
||||
<string name="button_undo">Undo</string>
|
||||
<string name="button_more">More</string>
|
||||
|
||||
<string name="toast_copied">Copied</string>
|
||||
<string name="toast_archived">Archived conversation</string>
|
||||
@@ -214,7 +218,7 @@
|
||||
<item>Always on</item>
|
||||
<item>Automatic</item>
|
||||
</string-array>
|
||||
|
||||
|
||||
<string-array name="notification_preview_options">
|
||||
<item>Show name and message</item>
|
||||
<item>Show name</item>
|
||||
@@ -228,6 +232,13 @@
|
||||
<item>Larger</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="delayed_sending_labels">
|
||||
<item>No delay</item>
|
||||
<item>Short</item>
|
||||
<item>Medium</item>
|
||||
<item>Long</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="mms_sizes">
|
||||
<item>100KB</item>
|
||||
<item>200KB</item>
|
||||
|
||||
Reference in New Issue
Block a user