summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorNancy Chen <nancychen@google.com>2014-06-10 16:27:37 -0700
committerNancy Chen <nancychen@google.com>2014-06-11 16:44:17 -0700
commit9b46dd9bb12ddedb42c1aa5e5b6523601aa2635e (patch)
tree92c26be809fd78b71136d2764332d7220d37b72a /res/layout
parentd365a18bff25442df7ae030625ed6c1fc2480f79 (diff)
downloadandroid_packages_apps_ContactsCommon-9b46dd9bb12ddedb42c1aa5e5b6523601aa2635e.tar.gz
android_packages_apps_ContactsCommon-9b46dd9bb12ddedb42c1aa5e5b6523601aa2635e.tar.bz2
android_packages_apps_ContactsCommon-9b46dd9bb12ddedb42c1aa5e5b6523601aa2635e.zip
Add dialog for SIM card select option on dialer menus
Create new dialog that will be brought up when "Select SIM card" option is chosen in the main dialer activity menu or the dialpad fragment menu Bug: 15473965 Change-Id: Iff4943cebe98af0f7627795116802ba1a536c548
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/default_sim_checkbox.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/res/layout/default_sim_checkbox.xml b/res/layout/default_sim_checkbox.xml
new file mode 100644
index 00000000..a0c4a9a0
--- /dev/null
+++ b/res/layout/default_sim_checkbox.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/default_sim_checkbox_layout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="8dip"
+ android:orientation="vertical">
+ <!-- Dummy to enable right-justification of checkbox -->
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+ <CheckBox
+ android:id="@+id/default_sim_checkbox_view"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingStart="20dip"
+ android:layout_marginLeft="20dip"
+ android:layout_marginBottom="20dip"
+ android:gravity="center"
+ android:textSize="14sp"
+ android:textAlignment="viewStart"
+ android:text="@string/set_default_sim"/>
+</LinearLayout>