*Fix bugs: incorrect call log display, problem of customized ringtone, etc.
*App icon: updated to MiUI v4 icon
*Add option: “All calls to voicemail”
exDialer updated to v107
Found a bug which was introduced from v106. It will cause incorrect display of some call logs. Here is a fix(v108, which will not be uploaded to Google Play).
It rarely occurs. So you don’t need to update to this fix, unless you are troubled by this bug.
v107
*Fix crash on 3.x Honeycomb devices. Say sorry to all.
v106
*Improve phone number format
*Option to toggle whether to format phone number
*Smarter on matching for national/international numbers
*Fix something to be compatible with Nexus7
*Option to enable hardware acceleration
*Relate text size of dialed digits with text size setting
*Fix bug of search box focus, when using hardware keyboard
*Remove useless Korean T9 letters
About the new page swiping feature
v105 introduced a new feature to swiping within Groups, Contacts and Favorites pages. Some people must like it. While if you prefer old behaviour, you can simple check the option Preferences->Behaviour->Contacts->Swipe Item. Note that this is a new option compare to “Swipe Item” for Dialer. Continue reading
Big Update v105
- Speed dial extended to 99 (with 9×9=81 entries)
- exContacts now can be swiped left/right like pages
- Option “Short Number as Speed Dial” – When calling short number, treat it as speed dial
- Option “Strict Mode” – disable it to use old T9 algorithm
- Option “Haptic Feedback Strength”
- Option Smaller font size,Smaller dialpad size
- Option “Open Stock Dialer” – enable it to open stock dialer to clear missed call notifications
- Option “Use Theme Font”
- Many more…
Plugins for exDialer updated
exDialer is updated to v103
v103
- Features unlocked: full-screen, screen rotation
- Able to slide bottom action bar to switch tabs of exContacts
- Optimize dialpad response and memory usage
- Fix: bug of option “View Calls” on incoming calls
- Invoke stock dialer to clear missed call notification when xMissedCall is absent
- Again,thanks friends on Crowdin help translating
Update history of exDialer
v101 2012/6/30
- Fix incorrect person when view contact
- Fix small bug of dialpad
v100 2012/6/29
- Update many languages, big thanks to friends on Crowdin
- Fix: T9 letters not shown on some devices
- Fix: Incorrect response of ‘*’ key with Russian locale
- Fix again: Call log types for Samsung devices
- Fix: Buggy option “Group visibility” Continue reading
Android SDK Tools r14的重要特性
真正意义上支持了Library Project. Library工程中的资源id会和目标工程中的资源id合并, 并由优先级处理同名资源冲突问题. 这意味着可以在目标工程中随意引用Library工程中的资源. 当然, 这也得有小小的代价, Project工程中R类资源id的final修饰被去掉了, 也就是说, 在用到资源id的switch case必须改成if-else形式.
详情 http://developer.android.com/guide/developing/projects/index.html
Android EditText控件完美实现只读(Read-Only/Non-Editable)
很多朋友困惑于EditText控件的read-only问题, 包括我. Read-only在这里的定义等同于win32 edit控件的read-only, 即: 无法通过UI更改其中的内容, 但可以选定部分内容, 进行复制.
在早期的sdk, EditText有Editable属性(至于这个属性是否有用, 没有测过, 本人入门较晚, 没使用过早期sdk), 现在这个属性已经deprecated了. 网上有大量关于此问题的内容, 要么是掩耳盗铃式的设成non-focusable, 要么是复杂的TextWatch, 始终没有发现简洁完美的方法. 当初曾被此问题折腾得够呛, 甚至用WebView替代过. 其实只需一行代码就能搞定
1 | et.setKeyListener(null); |
注意, 这里不是setOnKeyListener, 而是setKeyListener. 此方法是TextView的成员, 调用后的效果完全符合预期, 并且获得焦点后不会弹出输入法. 下面是官方文档的解释
Sets the key listener to be used with this TextView. This can be null to disallow user input. Note that this method has significant and subtle interactions with soft keyboards and other input method: see KeyListener.getContentType() for important details. Calling this method will replace the current content type of the text view with the content type returned by the key listener.
Be warned that if you want a TextView with a key listener or movement method not to be focusable, or if you want a TextView without a key listener or movement method to be focusable, you must call setFocusable again after calling this to get the focusability back the way you want it.
我想, 这也应该是官方方法了, 纳闷为啥网上搜不出来这种解决方法.
另外, setOnKeyListener其实也是可以的
1 2 3 4 5 6 7 | et.setOnKeyListener(new OnKeyListener() { @Override public boolean onKey(View v, int keyCode, KeyEvent event) { return true; } }); //consume key input et.setInputType(InputType.TYPE_NULL);//禁止输入法 |
这种方法只经过粗略测试, 无法确定是否与前一种等价. 既然已经有完美方法了, 忘了它吧.
Android开发中关于TextView的Ellipsize
Ellipsize属性可以让超出TextView宽度的文字以省略号显示, 或者以marquee走马灯的形式显示. 省略号方式又分前后中三种. 实际开发中经常碰到该属性不起作用, 比如, 如果很长的文本中间没有空格, 那么就不会出现省略号. 归纳一下解决方法
首先, TextView必须是单行的, 即: max lines属性设1 (single line属性已经deprecated了); 然后对于省略号和走马灯两种方式分别有各自的设置
1. 省略号方式, Scroll horizontally属性必须设成true
2. 走马灯方式, Focusable和Focusable in touch mode属性必须设成true
具体为什么不解释

