* [android] Android support emoji now.
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/9086af4a Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/9086af4a Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/9086af4a Branch: refs/heads/0.11-dev Commit: 9086af4a0564e475de266a0020adf6ec1511064f Parents: ba53882 Author: YorkShen <shenyua...@gmail.com> Authored: Thu Mar 2 11:10:06 2017 +0800 Committer: YorkShen <shenyua...@gmail.com> Committed: Thu Mar 2 11:50:19 2017 +0800 ---------------------------------------------------------------------- doc/source/cn/faq.md | 4 ---- doc/source/faq.md | 3 --- 2 files changed, 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/9086af4a/doc/source/cn/faq.md ---------------------------------------------------------------------- diff --git a/doc/source/cn/faq.md b/doc/source/cn/faq.md index 6ef3f75..871a857 100644 --- a/doc/source/cn/faq.md +++ b/doc/source/cn/faq.md @@ -82,10 +82,6 @@ modal.toast({message: 'hello'}) `overflow` æ ·å¼å¨ Android é»è®¤ä¸º `hidden` 并䏿 æ³ä¿®æ¹ï¼åå æ¯ Android View framework éå¶ãè¿ä¸ªé®é¢åªåºç°å¨ Android 端ï¼iOS 端å H5 æ£å¸¸ã -## Android 䏿¯æ emoji - -ç±äº Android NDK ä» æ¯æ Modified UTF-8ï¼å æ¤ä¸æ¯æ emojiãAndroid 6.0 以ä¸ä½¿ç¨ emoji å¯è½ä¼å¯¼è´å´©æºï¼å¨ Android 6.0 以ä¸åå¯è½åºç°æå¤çè¡ä¸ºãåªè½ä½¿ç¨ Modified UTF-8ï¼**ä¸è¦ä½¿ç¨ emoji**ã - ## å¦ä½åæ¶ 750 åç´ èªéåºå¹¶ä»¥å®½é«æ¯è®¡ç®çå®åç´ ï¼ `this.$getConfig()` æ¹æ³ä¼è¿åä¸ä¸ªå¯¹è±¡ï¼è¿ä¸ªå¯¹è±¡ç `deviceHeight` å `deviceWidth` 屿§å³å®é 设å¤å®½åº¦/é«åº¦ï¼ä»¥åç´ ä¸ºåä½ï¼ï¼è䏿¯ä»¥ 750 éé çã http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/9086af4a/doc/source/faq.md ---------------------------------------------------------------------- diff --git a/doc/source/faq.md b/doc/source/faq.md index d3e5ea2..4c21d20 100644 --- a/doc/source/faq.md +++ b/doc/source/faq.md @@ -75,9 +75,6 @@ We will bring a better syntax design in the future. ## Android only support `overflow:hidden` The `overflow` style in android is `hidden` and cannot be changed. This is the result of Android View framework. This only happens on Android, iOS will work as expected. -## Android do not support emoji -As Android NDK only supports Modified UTF-8, emoji is not support yet. Any attemp to use emoji may cause crash in case of lower than Android 6.0, and unexpected behavior when it is higher than 6.0. Only use Modified UTF-8, **do not** use emoji. - ## How to get rid of 750 adaption and calculate width/height in real pixelsï¼ The deviceHeight and deviceWidth got in `this.$getConfig()` is the real device width/height in pixels, not the ones with 750-adapted.