[......]
Category Archives: Android
Android中DialogFragment全屏的方式
对于普通的Dialog或者AlertDialog,都可以用layout设定match_parent,但是DialogFragment似乎需要代码才能搞定,如下:
@Override
public void onStart() {
super.onStart();
Dialog dialog = getDialog();
if (dialog != null) {
int width = ViewGroup[......]
Android中过滤Emoji表情 完整版
实际上和Android也没太多关系,主要是数据库没有升级,导致没法存储emoji。另外即使存储了,在其他设备上也不一定能展示出来,所以干脆就过滤掉。
这个与Android无太大关系,主要是获取Emoji表情的unicode范围,不查不知道,一查吓一跳,尼玛这么多。。。网上给出的其他方案,大体上都是选了一个大概的区间,可能会多过滤,也可能漏掉不少。
见这个网址。
http://apps.timwhitlock.info/emoji/tables/unicode
下面是代码,[......]
[转]Architecting Android…The evolution
原文链接:http://fernandocejas.com/2015/07/18/architecting-android-the-evolution/
Hey there! After a while (and a lot of feedback received) I decided it was a good time to get back to this topic and give you another taste of what I consider a good appr[......]
[转]Architecting Android…The clean way?
原文链接:http://fernandocejas.com/2015/07/18/architecting-android-the-evolution/
Architecting Android…The clean way?
Over the last months and after having friendly discussions at Tuenti with colleagues like @pedro_g_s and @flipper83 (by the w[......]