Refresh layout for dialpad
- update some assets for new holo UI
- Use system's TableLayout
-- ButtonGridLayout is hard to control from xml
-- Tried to use new system GridLayout, but it looks
TableLayout was suitable for this purpose
- remove background drawables
- remove codes dynamically setting background for digit field
Change-Id: I75853eca37ffa3a554a407b181dedc9b92bcf9e7
diff --git a/res/layout/dialpad_fragment.xml b/res/layout/dialpad_fragment.xml
index 7601dfe..b91c27a 100644
--- a/res/layout/dialpad_fragment.xml
+++ b/res/layout/dialpad_fragment.xml
@@ -25,12 +25,16 @@
<!-- Text field above the keypad where the digits are displayed.
It's type is set to NULL (to disable the IME keyboard) in the
java code.
+
+ Background drawable can be controlled programatically.
-->
<EditText android:id="@+id/digits"
android:layout_width="match_parent"
android:layout_height="@dimen/dialpad_digits_height"
+ android:layout_marginTop="10dip"
android:gravity="center"
- android:textAppearance="@style/DialtactsDigitsTextAppearance" />
+ android:textAppearance="@style/DialtactsDigitsTextAppearance"
+ android:textColor="?android:attr/textColorPrimaryInverse" />
<!-- Keypad section -->
<include layout="@layout/dialpad" />