diff options
author | Yorke Lee <yorkelee@google.com> | 2014-04-30 17:00:00 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-04-30 17:00:00 -0700 |
commit | 5a60cf4d91cbe439a0372f4f2374e6a7f7936a41 (patch) | |
tree | e27ff6bce4285b19962ff5b07547948615761737 /src | |
parent | 1ecd74439787126dcc87178fe0179057bed5b35d (diff) |
Fix font scaling problems in Dialpad
Change-Id: I49ae1763782529ad3ada03bb92b843b5608c3139
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/dialpad/DialpadFragment.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/dialer/dialpad/DialpadFragment.java b/src/com/android/dialer/dialpad/DialpadFragment.java index 72abaa085..0ca26e99b 100644 --- a/src/com/android/dialer/dialpad/DialpadFragment.java +++ b/src/com/android/dialer/dialpad/DialpadFragment.java @@ -405,6 +405,7 @@ public class DialpadFragment extends Fragment mDigits.setOnKeyListener(this); mDigits.setOnLongClickListener(this); mDigits.addTextChangedListener(this); + mDigits.setElegantTextHeight(false); PhoneNumberFormatter.setPhoneNumberFormattingTextWatcher(getActivity(), mDigits); // Check for the presence of the keypad View oneButton = fragmentView.findViewById(R.id.one); @@ -624,6 +625,7 @@ public class DialpadFragment extends Fragment lettersView = (TextView) dialpadKey.findViewById(R.id.dialpad_key_letters); final String numberString = resources.getString(numberIds[i]); numberView.setText(numberString); + numberView.setElegantTextHeight(false); dialpadKey.setContentDescription(numberString); if (lettersView != null) { lettersView.setText(resources.getString(letterIds[i])); |