Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f81b7813 authored by Mindy Pereira's avatar Mindy Pereira
Browse files

Use layout weights to get the dial field to fill available space.

Fixes bug:5414252 Menu keys on right side are overlaped with the numbers

Change-Id: I030d3f3e6f5f15e3f63fa1558e3bb8d09f37bb7a
parent dfae9d50
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@

    <!-- Text field and possibly soft menu button above the keypad where
         the digits are displayed. -->
    <RelativeLayout
    <LinearLayout
        android:id="@+id/digits_container"
        android:layout_width="match_parent"
        android:layout_height="0px"
@@ -35,7 +35,8 @@

        <com.android.contacts.dialpad.DigitsEditText
            android:id="@+id/digits"
            android:layout_width="match_parent"
            android:layout_width="0dip"
            android:layout_weight="1"
            android:layout_height="match_parent"
            android:layout_alignParentLeft="true"
            android:gravity="center"
@@ -54,7 +55,7 @@
            android:nextFocusLeft="@id/digits"
            android:background="?android:attr/selectableItemBackground"/>

    </RelativeLayout>
    </LinearLayout>

    <!-- Keypad section -->
    <include layout="@layout/dialpad" />