Make vertical ratio for dialpad more visible.

Bug: 5164774
Change-Id: Ifc466da76e7358243597a2a198a982b585b88fae
diff --git a/res/layout/dialpad.xml b/res/layout/dialpad.xml
index 1f74c26..45f40f6 100644
--- a/res/layout/dialpad.xml
+++ b/res/layout/dialpad.xml
@@ -20,7 +20,7 @@
     android:id="@+id/dialpad"
     android:layout_width="match_parent"
     android:layout_height="0px"
-    android:layout_weight="0.650"
+    android:layout_weight="@integer/dialpad_layout_weight_dialpad"
     android:layout_gravity="center_horizontal"
     android:layout_marginTop="@dimen/dialpad_vertical_margin"
     android:paddingLeft="5dip"
diff --git a/res/layout/dialpad_additional_buttons.xml b/res/layout/dialpad_additional_buttons.xml
index 836187e..392f97a 100644
--- a/res/layout/dialpad_additional_buttons.xml
+++ b/res/layout/dialpad_additional_buttons.xml
@@ -19,7 +19,7 @@
     android:id="@+id/dialpadAdditionalButtons"
     android:layout_width="match_parent"
     android:layout_height="0px"
-    android:layout_weight="0.150"
+    android:layout_weight="@integer/dialpad_layout_weight_additional_buttons"
     android:layout_gravity="center_horizontal"
     android:background="@drawable/dialpad_background"
     android:orientation="horizontal">
diff --git a/res/layout/dialpad_fragment.xml b/res/layout/dialpad_fragment.xml
index 22e9a18..2785af0 100644
--- a/res/layout/dialpad_fragment.xml
+++ b/res/layout/dialpad_fragment.xml
@@ -28,7 +28,7 @@
         android:id="@+id/digits_container"
         android:layout_width="match_parent"
         android:layout_height="0px"
-        android:layout_weight="0.200"
+        android:layout_weight="@integer/dialpad_layout_weight_digits"
         android:layout_marginTop="@dimen/dialpad_vertical_margin"
         android:gravity="center"
         android:background="@drawable/dialpad_background" >
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 412c9e2..8d6b877 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -205,4 +205,10 @@
     <!--  Width of the lead margin on the left of a block quote inside a stream item -->
     <dimen name="stream_item_stripe_width">8dip</dimen>
 
+    <!-- Layout weight values for dialpad screen. These layouts will be used in one
+         LinearLayout (dialpad_fragment.xml), configuring dialpad screen's vertical
+         ratio. -->
+    <integer name="dialpad_layout_weight_digits">20</integer>
+    <integer name="dialpad_layout_weight_dialpad">65</integer>
+    <integer name="dialpad_layout_weight_additional_buttons">15</integer>
 </resources>
diff --git a/res/values/integers.xml b/res/values/integers.xml
index 1d3f9b9..89246f9 100644
--- a/res/values/integers.xml
+++ b/res/values/integers.xml
@@ -21,6 +21,6 @@
     <!-- Number of decoded photo bitmaps retained in an LRU cache -->
     <integer name="config_photo_cache_max_bitmaps">48</integer>
 
-    <!--  Determines the number of columns in a ContactTileRow -->
+    <!-- Determines the number of columns in a ContactTileRow -->
     <integer name="contact_tile_column_count">2</integer>
 </resources>