summaryrefslogtreecommitdiff
path: root/res/layout/block_report_spam_dialog.xml
diff options
context:
space:
mode:
authorQi Wang <wangqi@google.com>2016-04-04 12:32:06 -0700
committerQi Wang <wangqi@google.com>2016-04-06 16:54:42 -0700
commit4f78f85ab36dd157bb47799f383ceb90240f91f9 (patch)
tree1025bb1e6bcb2f6d0acd37b474ed8f134cd0392f /res/layout/block_report_spam_dialog.xml
parentb978ee86f18461bf94c0de2247fd2dbded0c4ad0 (diff)
Add dialogs for spam report and block.
Screenshots: 1. block/report spam https://screenshot.googleplex.com/5e772Kikikw 2. block https://screenshot.googleplex.com/AEpYSYoL2E8 3. unblock(is spam and report not a spam) https://screenshot.googleplex.com/AEZfhCXj4h8 4. unblock(not spam) https://screenshot.googleplex.com/r7YkHuCMT1p 5. report not spam https://screenshot.googleplex.com/jkcpm0pdKoj Change-Id: I78fbbacece44632614026c03909289995bef5b14 Fix: 27295785
Diffstat (limited to 'res/layout/block_report_spam_dialog.xml')
-rw-r--r--res/layout/block_report_spam_dialog.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/res/layout/block_report_spam_dialog.xml b/res/layout/block_report_spam_dialog.xml
new file mode 100644
index 000000000..a731decfc
--- /dev/null
+++ b/res/layout/block_report_spam_dialog.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2008 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="25dp">
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/block_report_number_alert_details"
+ android:layout_marginBottom="10dp"
+ android:textColor="@color/call_log_primary_color"
+ android:textSize="@dimen/blocked_number_settings_description_text_size"/>
+
+ <CheckBox
+ android:id="@+id/report_number_as_spam_action"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/checkbox_report_as_spam_action"
+ android:textSize="@dimen/blocked_number_settings_description_text_size"/>
+</LinearLayout> \ No newline at end of file