diff options
-rw-r--r-- | res/layout/dialpad.xml | 9 | ||||
-rw-r--r-- | res/layout/dialpad_key.xml | 3 | ||||
-rw-r--r-- | src/com/android/dialer/dialpad/DialpadFragment.java | 1 |
3 files changed, 9 insertions, 4 deletions
diff --git a/res/layout/dialpad.xml b/res/layout/dialpad.xml index ec850c971..bc910db91 100644 --- a/res/layout/dialpad.xml +++ b/res/layout/dialpad.xml @@ -36,7 +36,8 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/one" style="@style/DialtactsDialpadButtonStyle" - android:clickable="true" > + android:clickable="true" + android:focusable="true" > <LinearLayout android:layout_width="wrap_content" android:layout_height="match_parent" @@ -85,7 +86,8 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/star" style="@style/DialtactsDialpadButtonStyle" - android:clickable="true" > + android:clickable="true" + android:focusable="true" > <TextView android:id="@id/dialpad_key_number" android:layout_width="wrap_content" @@ -101,7 +103,8 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/pound" style="@style/DialtactsDialpadButtonStyle" - android:clickable="true" > + android:clickable="true" + android:focusable="true" > <TextView android:id="@id/dialpad_key_number" android:layout_width="wrap_content" diff --git a/res/layout/dialpad_key.xml b/res/layout/dialpad_key.xml index 074e0235f..e87fde056 100644 --- a/res/layout/dialpad_key.xml +++ b/res/layout/dialpad_key.xml @@ -18,7 +18,8 @@ <com.android.dialer.dialpad.DialpadKeyButton xmlns:android="http://schemas.android.com/apk/res/android" style="@style/DialtactsDialpadButtonStyle" - android:clickable="true" > + android:clickable="true" + android:focusable="true" > <LinearLayout android:layout_width="wrap_content" android:layout_height="match_parent" diff --git a/src/com/android/dialer/dialpad/DialpadFragment.java b/src/com/android/dialer/dialpad/DialpadFragment.java index bcf058b02..9ebf1121c 100644 --- a/src/com/android/dialer/dialpad/DialpadFragment.java +++ b/src/com/android/dialer/dialpad/DialpadFragment.java @@ -1704,6 +1704,7 @@ public class DialpadFragment extends Fragment activity.showSearchBar(); } else { activity.hideSearchBar(); + mDigits.requestFocus(); } } |