New dial action button at the bottom of the dialer.

There is a new row of 3 buttons (voicemail, dial, backspace).
Currently only the dial button has been implemented.

In the new UI design the dial button should be visible even
on devices with a hard SEND button, therefore I changed the
resource that controls the display to true.

In the dialer, on resume, set the state_enabled attribute properly.

Bug: 2104523
diff --git a/res/layout-land-finger/twelve_key_dialer.xml b/res/layout-land-finger/twelve_key_dialer.xml
index d797fc1..2978799 100644
--- a/res/layout-land-finger/twelve_key_dialer.xml
+++ b/res/layout-land-finger/twelve_key_dialer.xml
@@ -4,9 +4,9 @@
      Licensed under the Apache License, Version 2.0 (the "License");
      you may not use this file except in compliance with the License.
      You may obtain a copy of the License at
-  
+
           http://www.apache.org/licenses/LICENSE-2.0
-  
+
      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -59,20 +59,25 @@
 
     </LinearLayout>
 
-    <!-- Onscreen "Dial" button, used on some platforms -->
-    <Button android:id="@+id/dialButton"
-            android:text="@string/dial_button_label"
-            android:textAppearance="?android:attr/textAppearanceLarge"
-            android:layout_width="wrap_content"
-            android:layout_height="60dip"
-            android:gravity="center"
-            android:layout_gravity="center_horizontal"
-            android:layout_marginTop="20dip"
-            android:paddingLeft="100dip"
-            android:paddingRight="100dip"
-            android:enabled="false"
-            android:visibility="gone"
-            />
+    <!-- Horizontal row of buttons (Voicemail + DialButton + Backspace.) -->
+    <LinearLayout android:id="@+id/voicemailAndDialAndBackspace"
+        android:layout_width="wrap_content"
+        android:layout_height="fill_parent"
+        android:layout_gravity="center_horizontal"
+        android:layout_marginBottom="7dip"
+        android:orientation="horizontal">
+
+        <!-- Onscreen "Dial" button, used on all platforms by
+             default. Its usage can be disabled using resources (see
+             config.xml.) -->
+        <ImageButton android:id="@+id/dialButton"
+            android:layout_width="116dip"
+            android:layout_height="50dip"
+            android:layout_gravity="center_vertical"
+            android:state_enabled="false"
+            android:background="@drawable/btn_dial_action"
+            android:src="@drawable/ic_dial_action_call" />
+    </LinearLayout>
 
     <!-- "Dialpad chooser" UI, shown only when the user brings up the
          Dialer while a call is already in progress.