Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 66414dd5 authored by m0viefreak's avatar m0viefreak
Browse files

Dialpad: T9 Dialer - Fixes

- Added highlight for matching part of number/name in all entries
  in the drop down list

- Replaced the QuickContactBadge and TextView items with a ListView
  like in the drop down but with only 1 element. This way the
  first entry and the drop down entries all look the same.
  This also adds the (mobile/home/...) indicator in the first item.

- Some changes to the layout xml:
  * Reverted the height of the digit editbox to a fixed value.
    This should fix the cut off text on smaller resolutions.
  * Reduced the size of the dropdown arrow to match the height
    of the ListView item row (40dip)

- call searchContacts() in onKey(), too, to make it work with
  hard-keyboards and the android soft-keyboard

Patch Set 2:
- If/else was swapped accidently

Patch Set 3:
- Fine tuned layout parameters:
  * Fixed mdpi dial pad
  * Limited size of mdpi digit box just like hdpi
  * Made first result entry fixed height to fit the large
    list below (almost looks like one continous list now)

Patch Set 4:
- Same as Patch Set 3, but for landscape

Patch Set 5:
- Remove unneded setNumber() method in T9Adapter, and use mPrevInput
  field of T9Search instead
- Set cursor to the end of the digits input after selecting a number
  from the t9 search results
- Prevent android soft keyboard from popping up and messing up the
  layout when clicking the digits edittext to move the cursor

Patch Set 6:
- Fixed toggle arrow not missing on ldpi devices
  (replaced 9patch graphics with fixed ones)
- Remove unneeded drawable/t9result_state.xml

Change-Id: I5867f82be089f77012b114536ae913fabf6c8b09
parent 0104281a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment