一年之後

二十一世紀第十四年,香港人經歷了一個壯闊波瀾的雨傘革命,為掌握自己的命運踏出了第一步,相信很多人已經choose the red pill,回不了去。CODE4HK 和大家一起,經歷了很多高高低低。

Read More

Just Another Day in Android-land: Expandable TextView with Custom Ellipsis

After over 4 months of my first notorious “death march” our team can at last have life. I finally have time to write a custom component for my future use. It is a customized TextView with a few customization on the function that trim down excessive characters. Suppose the UI can only display a limited lines of characters by specifying android:maxLine attribute, The TextView can be clicked to show the whole text. Also the ellipsis (…) at the end of the text while trimmed, aka ellipsized, can be customized.

Read More