diff options
| author | Evan Charlton <evanc@google.com> | 2014-11-18 13:20:04 -0800 |
|---|---|---|
| committer | Evan Charlton <evanc@google.com> | 2014-11-18 16:02:28 -0800 |
| commit | 0830cf646293665e2e28ae1159b7c1ac2a286396 (patch) | |
| tree | 02bb014858afc15c6173db34c5879cf825e58925 /res/layout | |
| parent | b8544c3f16eec4084a763771537a87e31392faea (diff) | |
| download | packages_apps_PhoneCommon-0830cf646293665e2e28ae1159b7c1ac2a286396.tar.gz packages_apps_PhoneCommon-0830cf646293665e2e28ae1159b7c1ac2a286396.tar.bz2 packages_apps_PhoneCommon-0830cf646293665e2e28ae1159b7c1ac2a286396.zip | |
Update ILD rate to match redlines
Tweak international / long-distance rate display information to match
UX redlines.
Bug: 13334252
Change-Id: I4772aa8a1369bbe7cff561552ff6cf5804a9095a
Diffstat (limited to 'res/layout')
| -rw-r--r-- | res/layout/dialpad_view.xml | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/res/layout/dialpad_view.xml b/res/layout/dialpad_view.xml index 8ac4cf2..12b1a68 100644 --- a/res/layout/dialpad_view.xml +++ b/res/layout/dialpad_view.xml @@ -25,37 +25,40 @@ android:clickable="true" > <!-- Text field where call rate is displayed for ILD calls. --> - <RelativeLayout + <LinearLayout android:id="@+id/rate_container" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingTop="8dp" + android:orientation="vertical" android:visibility="gone"> - <TextView android:id="@+id/ild_country" + <LinearLayout + android:id="@+id/ild_container" 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" /> + android:orientation="horizontal" + android:layout_gravity="center_horizontal" + android:layout_marginTop="@dimen/ild_margin_height" + android:layout_marginBottom="@dimen/ild_margin_height"> - <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" /> + <TextView android:id="@+id/ild_country" + android:layout_width="wrap_content" + android:layout_height="wrap_content" /> + + <TextView android:id="@+id/ild_rate" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginStart="4dp" + android:textStyle="bold" /> + + </LinearLayout> <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" /> + android:background="#e3e3e3" /> - </RelativeLayout> + </LinearLayout> <!-- Text field and possibly soft menu button above the keypad where the digits are displayed. --> |
