summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorEvan Charlton <evanc@google.com>2014-11-08 08:36:56 -0800
committerEvan Charlton <evanc@google.com>2014-11-10 10:52:47 -0800
commit972e8730b305c921e094690ae09abf2c44b0dc12 (patch)
treecc53b91271ad42dde695103394eb7046faee98f2 /res
parent3accf8639193a0fe7553e774940af6cef02c850b (diff)
downloadandroid_packages_apps_PhoneCommon-972e8730b305c921e094690ae09abf2c44b0dc12.tar.gz
android_packages_apps_PhoneCommon-972e8730b305c921e094690ae09abf2c44b0dc12.tar.bz2
android_packages_apps_PhoneCommon-972e8730b305c921e094690ae09abf2c44b0dc12.zip
Show ILD rate information if present
If Dialer populates ILD (international / long distance) rate information, populate a field above the dialed digits. Bug: 13334252 Change-Id: Ia366148ef1318a2dacc4971d51a3bd34ec3c39de
Diffstat (limited to 'res')
-rw-r--r--res/layout/dialpad_view.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/res/layout/dialpad_view.xml b/res/layout/dialpad_view.xml
index a6ff7aa..8ac4cf2 100644
--- a/res/layout/dialpad_view.xml
+++ b/res/layout/dialpad_view.xml
@@ -24,6 +24,39 @@
android:background="@color/background_dialpad"
android:clickable="true" >
+ <!-- Text field where call rate is displayed for ILD calls. -->
+ <RelativeLayout
+ android:id="@+id/rate_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingTop="8dp"
+ android:visibility="gone">
+
+ <TextView android:id="@+id/ild_country"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentStart="true"
+ android:layout_alignParentTop="true"
+ android:layout_marginStart="@dimen/dialpad_digits_padding" />
+
+ <TextView android:id="@+id/ild_rate"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textStyle="bold"
+ android:layout_marginStart="4dp"
+ android:layout_toEndOf="@id/ild_country" />
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ android:background="#e3e3e3"
+ android:layout_marginTop="8dp"
+ android:layout_below="@id/ild_country"
+ android:layout_alignParentStart="true"
+ android:layout_alignParentEnd="true" />
+
+ </RelativeLayout>
+
<!-- Text field and possibly soft menu button above the keypad where
the digits are displayed. -->
<LinearLayout