summaryrefslogtreecommitdiffstats
path: root/res/layout/dialpad_view.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/dialpad_view.xml')
-rw-r--r--res/layout/dialpad_view.xml39
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. -->