summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorRohit Yengisetty <rohit@cyngn.com>2016-01-12 22:37:33 -0800
committerRohit Yengisetty <rohit@cyngn.com>2016-01-12 22:37:33 -0800
commitcf866936d5b061ed31b5dab35b6624e1c05b22bd (patch)
treef50be12d07e55a21619c396ea22598d069663c02 /res/layout
parentbbf7e8276d72c2e524c13cf659c64e473385265e (diff)
downloadandroid_packages_apps_ContactsCommon-cf866936d5b061ed31b5dab35b6624e1c05b22bd.tar.gz
android_packages_apps_ContactsCommon-cf866936d5b061ed31b5dab35b6624e1c05b22bd.tar.bz2
android_packages_apps_ContactsCommon-cf866936d5b061ed31b5dab35b6624e1c05b22bd.zip
Add block contact dialog and supporting helper classes
Change-Id: I7f2697a843d4f615fe1ae9e8525baaefcbe9428b
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/block_contact_dialog_view.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/res/layout/block_contact_dialog_view.xml b/res/layout/block_contact_dialog_view.xml
new file mode 100644
index 00000000..f4deeb91
--- /dev/null
+++ b/res/layout/block_contact_dialog_view.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingStart="@dimen/block_contact_dialog_padding"
+ android:paddingEnd="@dimen/block_contact_dialog_padding"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/description"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="@dimen/block_contact_dialog_primary_text_size"
+ android:textColor="@color/block_contact_dialog_primary_text_color"
+ android:layout_marginTop="8dp"
+ android:text="@string/block_dialog_description"/>
+
+ <CheckBox
+ android:id="@+id/spamCheckbox"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="@dimen/block_contact_dialog_secondary_text_size"
+ android:textColor="@color/block_contact_dialog_secondary_text_color"
+ android:checked="true"
+ android:layout_marginTop="24dp"/>
+</LinearLayout> \ No newline at end of file