diff options
author | Nancy Chen <nancychen@google.com> | 2014-06-12 23:01:26 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-06-12 17:09:07 +0000 |
commit | 10efec6ca185639c901ebfe1482c13b2c337a76c (patch) | |
tree | 1b88f0a286e3b91161b91a45e83bbcf703c4450e /res | |
parent | 9898653a29143ca3a595821aaa85ca89bba155bf (diff) | |
parent | 9b46dd9bb12ddedb42c1aa5e5b6523601aa2635e (diff) | |
download | packages_apps_ContactsCommon-10efec6ca185639c901ebfe1482c13b2c337a76c.tar.gz packages_apps_ContactsCommon-10efec6ca185639c901ebfe1482c13b2c337a76c.tar.bz2 packages_apps_ContactsCommon-10efec6ca185639c901ebfe1482c13b2c337a76c.zip |
Merge "Add dialog for SIM card select option on dialer menus"
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/default_sim_checkbox.xml | 23 | ||||
-rw-r--r-- | res/values/strings.xml | 6 |
2 files changed, 29 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> diff --git a/res/values/strings.xml b/res/values/strings.xml index 095157f9..afbb4d65 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -123,6 +123,9 @@ scratch. </string> + <!-- Label for the check box to toggle default sim card setting [CHAR LIMIT=35]--> + <string name="set_default_sim">Always use this SIM for calls</string> + <!-- Title of the "Clearing frequently contacted" progress-dialog [CHAR LIMIT=35] --> <string name="clearFrequentsProgress_title">Clearing frequently contacted\u2026</string> @@ -699,6 +702,9 @@ a ren't members of any other group. [CHAR LIMIT=25] --> <!-- The menu item to clear frequents [CHAR LIMIT=30] --> <string name="menu_clear_frequents">Clear frequents</string> + <!-- Menu item to select SIM card --> + <string name="menu_select_sim">Select SIM card</string> + <!-- The menu item to open the list of accounts --> <string name="menu_accounts">Accounts</string> |