Add UI for toggling Call Control

This commit is contained in:
moezbhatti
2019-05-29 17:25:12 -04:00
parent d0dda2b1a4
commit 3bc4b86fea
8 changed files with 51 additions and 4 deletions
@@ -54,6 +54,17 @@
android:layout_height="wrap_content"
android:orientation="vertical">
<com.moez.QKSMS.common.widget.PreferenceView
android:id="@+id/callControl"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="8dp"
android:paddingBottom="8dp"
app:layout_constraintTop_toBottomOf="@id/toolbar"
app:summary="@string/settings_call_control_summary"
app:title="@string/settings_call_control_title"
app:widget="@layout/settings_switch_widget" />
<com.moez.QKSMS.common.widget.PreferenceView
android:id="@+id/shouldIAnswer"
android:layout_width="match_parent"
@@ -222,6 +222,8 @@
<string name="settings_qkreply_tap_dismiss_summary">Tap outside of the popup to close it</string>
<string name="settings_blocking_title">Blocking</string>
<!-- Do not translate -->
<string name="settings_call_control_title">Call Control</string>
<string name="settings_call_control_summary">Automatically filter your calls and messages in one convenient place! Community IQ™ allows you to prevent unwanted messages from community known spammers</string>
<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>