You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "Xu XiaoTeng (JIRA)" <ji...@apache.org> on 2018/02/23 09:02:01 UTC

[jira] [Created] (WEEX-221) Can I use wx in my project

Xu XiaoTeng created WEEX-221:
--------------------------------

             Summary: Can I use wx in my project
                 Key: WEEX-221
                 URL: https://issues.apache.org/jira/browse/WEEX-221
             Project: Weex
          Issue Type: Wish
          Components: Project 
            Reporter: Xu XiaoTeng
            Assignee: zhengshihan


I want to find an absolute css unit to show some ui element, then I found wx unit is possible to implement this function. But there's some warning at Android App running. (The wx unit is about to deprecated in the future.)

 I know there is a faq explain this issue:
{code:java}
var height = 88 * 750 / env.deviceWidth{code}
Is there a simple way to implement this function?

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)