summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorRichard MacGregor <rmacgregor@cyngn.com>2016-01-27 16:00:45 -0800
committerRichard MacGregor <rmacgregor@cyngn.com>2016-04-08 10:42:50 -0700
commit7f660d958a20ed0efe3f6fc05e81d36fedea7ef2 (patch)
tree4c2a63ee41e838cb737a345cf745391d9b52ba52 /res
parent969c8f4ef904a235e0760ed6c9628910a731ca77 (diff)
downloadandroid_packages_apps_PhoneCommon-7f660d958a20ed0efe3f6fc05e81d36fedea7ef2.tar.gz
android_packages_apps_PhoneCommon-7f660d958a20ed0efe3f6fc05e81d36fedea7ef2.tar.bz2
android_packages_apps_PhoneCommon-7f660d958a20ed0efe3f6fc05e81d36fedea7ef2.zip
Various CallMethodInfo tweaks
- Default SIM - List of SIMs - Emergency only Change-Id: I3ab6d9394505fd2b000ed80aebf56be38c7bfa42
Diffstat (limited to 'res')
-rw-r--r--res/drawable/ic_nosim.xml30
-rw-r--r--res/layout/call_method_spinner_dropdown_item.xml2
-rw-r--r--res/values/cm_colors.xml1
-rw-r--r--res/values/cm_strings.xml1
4 files changed, 33 insertions, 1 deletions
diff --git a/res/drawable/ic_nosim.xml b/res/drawable/ic_nosim.xml
new file mode 100644
index 0000000..e7e21b0
--- /dev/null
+++ b/res/drawable/ic_nosim.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The CyanogenMod 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.
+ -->
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="23dp"
+ android:height="18dp"
+ android:viewportWidth="23"
+ android:viewportHeight="18">
+
+ <group
+ android:translateX="-207.000000"
+ android:translateY="-866.000000">
+ <path
+ android:fillColor="#000000"
+ android:pathData="M222.7,866.3h-13.2c-1.2,0-2.2,1-2.2,2.1v12.8c0,1.2,1,2.1,2.2,2.1l17.6,0c1.2,0,2.2-0.9,2.2-2.1v-8.5L222.7,866.3z
+M220.8,877.6l-0.7,0.7l-2.8-2.8l-2.8,2.8l-0.7-0.7l2.8-2.8l-2.8-2.8l0.7-0.7l2.8,2.8l2.8-2.8l0.7,0.7l-2.8,2.8L220.8,877.6z" />
+ </group>
+</vector> \ No newline at end of file
diff --git a/res/layout/call_method_spinner_dropdown_item.xml b/res/layout/call_method_spinner_dropdown_item.xml
index 8506c3b..cbd6ca1 100644
--- a/res/layout/call_method_spinner_dropdown_item.xml
+++ b/res/layout/call_method_spinner_dropdown_item.xml
@@ -16,7 +16,7 @@
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
- android:layout_width="@dimen/call_method_spinner_dropdown_item_width"
+ android:layout_width="wrap_content"
android:layout_height="@dimen/dialpad_digits_height"
android:paddingStart="@dimen/call_method_spinner_item_default_padding"
android:paddingEnd="@dimen/call_method_spinner_item_default_padding">
diff --git a/res/values/cm_colors.xml b/res/values/cm_colors.xml
index 19f61d7..fb696e6 100644
--- a/res/values/cm_colors.xml
+++ b/res/values/cm_colors.xml
@@ -8,5 +8,6 @@
<!-- Color of sim icons -->
<color name="sim_icon_color">#f5a623</color>
+ <color name="emergency_call_icon_color">#42000000</color>
</resources> \ No newline at end of file
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index 2979616..cfe53c4 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -24,6 +24,7 @@
<!-- Call method spinner - Default No SIM -->
<string name="call_method_spinner_item_no_sim">No SIM card</string>
<string name="call_method_spinner_item_unknown_sim">SIM <xliff:g id="slot_number">%d</xliff:g></string>
+ <string name="call_method_spinner_item_emergency_call">Emergency calls only</string>
<string name="invalid_number_text">"%1$s could not make this call. Is the number correct?"</string>